Remove C++ style comments from string3.h
[glibc.git] / ChangeLog
blobd922c8afabbc422708082cb95cb68e9dc025dcce
1 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * string/bits/string3.h: Remove C++ style comments.
5 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
8         instead of ternary condition.
9         (do_sincos_2): Likewise.
10         (__sin): Likewise.
11         (__cos): Likewise.
12         (slow): Likewise.
13         (sloww): Likewise.
14         (sloww1): Likewise.
15         (bsloww): Likewise.
16         (bsloww1): Likewise.
18         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
19         instead of ternary condition.
20         (do_sin_slow): Likewise.
21         (do_sincos_1): Likewise.
22         (do_sincos_2): Likewise.
23         (__cos): Likewise.
24         (sloww): Likewise.
25         (sloww1): Likewise.
26         (sloww2): Likewise.
27         (bsloww): Likewise.
28         (bsloww1): Likewise.
29         (bsloww2): Likewise.
31         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
32         check from here...
33         (slow2): ... and here...
34         (__sin): ... to here.
36 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
38         * math/math.h
39         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
40         Cast argument to its own type.
41         * math/test-iszero-excess-precision.c: New file.
42         * math/Makefile (tests): Add test-iszero-excess-precision.
43         (CFLAGS-test-iszero-excess-precision.c): New variable.
45 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
47         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
48         field, add err field.
49         (__spawni_child): Report error through err member instead of pipe.
50         (__spawnix): Likewise.
52 2016-09-28  Zack Weinberg  <zackw@panix.com>
54         * scripts/check-installed-headers.sh: Generalize treatment of
55         sys/elf.h to all target architectures.
57         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
58         deleted typedef ucontext_t.
60 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
62         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
63         (__INTERNAL_SYSCALL1): Likewise.
64         (__INTERNAL_SYSCALL2): Likewise.
65         (__INTERNAL_SYSCALL3): Likewise.
66         (__INTERNAL_SYSCALL4): Likewise.
67         (__INTERNAL_SYSCALL5): Likewise.
68         (__INTERNAL_SYSCALL6): Likewise.
69         (__INTERNAL_SYSCALL7): Likewise.
70         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
71         (__INTERNAL_SYSCALL_NARGS): Likewise.
72         (__INTERNAL_SYSCALL_DISP): Likewise.
73         (INTERNAL_SYSCALL_CALL): Likewise.
74         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
75         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
76         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
77         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
78         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
79         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
80         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
81         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
82         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
83         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
84         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
85         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
86         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
88 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
90         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
91         macro.
92         * math/libm-test.inc (iszero_test_data): New array.
93         (iszero_test): New function.
94         (main): Call iszero_test.
95         * manual/arith.texi (Floating Point Classes): Document iszero.
96         * manual/libm-err-tab.pl: Update comment on interfaces without
97         ulps tabulated.
99 2016-09-23  Zack Weinberg  <zackw@panix.com>
101         * scripts/check-installed-headers.sh: New script.
102         * Rules: In each directory that defines header files to be installed,
103         run check-installed-headers.sh on them as a special test.
104         * Makefile: Likewise for the headers installed at top level.
106         * include/aliases.h, include/alloca.h, include/argz.h
107         * include/arpa/nameser.h, include/arpa/nameser_compat.h
108         * include/elf.h, include/envz.h, include/err.h
109         * include/execinfo.h, include/fpu_control.h, include/getopt.h
110         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
111         * include/link.h, include/malloc.h, include/mcheck.h
112         * include/mntent.h, include/netinet/ether.h
113         * include/nss.h, include/obstack.h, include/printf.h
114         * include/pty.h, include/resolv.h, include/rpc/auth.h
115         * include/rpc/auth_des.h, include/rpc/auth_unix.h
116         * include/rpc/clnt.h, include/rpc/des_crypt.h
117         * include/rpc/key_prot.h, include/rpc/netdb.h
118         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
119         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
120         * include/rpc/rpc_msg.h, include/rpc/svc.h
121         * include/rpc/svc_auth.h, include/rpc/xdr.h
122         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
123         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
124         * include/rpcsvc/ypupd.h, include/shadow.h
125         * include/stdio_ext.h, include/sys/epoll.h
126         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
127         * include/sys/prctl.h, include/sys/profil.h
128         * include/sys/statfs.h, include/sys/sysctl.h
129         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
130         * sysdeps/arm/nacl/include/bits/setjmp.h
131         * sysdeps/mips/include/sys/asm.h
132         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
133         * sysdeps/unix/sysv/linux/include/sys/timex.h
134         * sysdeps/x86/fpu/include/bits/fenv.h:
135         Add #ifndef _ISOMAC guard around internal declarations.
136         Add multiple-inclusion guard if not already present.
138 2016-09-23  Zack Weinberg  <zackw@panix.com>
140         * sysdeps/generic/sys/ucontext.h
141         * sysdeps/arm/sys/ucontext.h
142         * sysdeps/i386/sys/ucontext.h
143         * sysdeps/m68k/sys/ucontext.h
144         * sysdeps/mips/sys/ucontext.h
145         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
146         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
147         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
148         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
149         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
150         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
151         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
152         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
153         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
154         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
155         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
156         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
157         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
158         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
159         Include both bits/sigcontext.h and bits/sigstack.h.
160         Fix grammar error in comment, if present.
162         * bits/sigstack.h
163         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
164         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
165         * sysdeps/unix/sysv/linux/bits/sigstack.h
166         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
167         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
168         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
169         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
170         * bits/sigcontext.h
171         * sysdeps/mach/hurd/i386/bits/sigcontext.h
172         * sysdeps/unix/sysv/linux/bits/sigcontext.h
173         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
174         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
175         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
176         as well as signal.h, if this was not already allowed.  Request
177         definition of size_t if necessary.  Minimize semantically-null
178         differences across files.
180 2016-09-23  Zack Weinberg  <zackw@panix.com>
182         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
183         Remove all logic conditional on __need macros.  Move all the
184         conditionally defined types to their own headers...
185         * time/bits/types/clock_t.h: Define clock_t here.
186         * time/bits/types/clockid_t.h: Define clockid_t here.
187         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
188         * time/bits/types/struct_timespec.h: Define struct timespec here.
189         * time/bits/types/struct_timeval.h: Define struct timeval here.
190         * time/bits/types/struct_tm.h: Define struct tm here.
191         * time/bits/types/time_t.h: Define time_t here.
192         * time/bits/types/timer_t.h: Define timer_t here.
193         * time/Makefile: Install the new headers.
195         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
196         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
197         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
198         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
199         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
200         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
201         * sysdeps/unix/sysv/linux/bits/resource.h
202         * sysdeps/unix/sysv/linux/bits/timex.h
203         * sysdeps/unix/sysv/linux/mips/bits/resource.h
204         * sysdeps/unix/sysv/linux/net/ppp_defs.h
205         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
206         * sysdeps/unix/sysv/linux/sys/acct.h
207         * sysdeps/unix/sysv/linux/sys/timerfd.h
208         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
209         * time/sys/time.h, time/sys/timeb.h
210         Use the new bits/types headers.
212         * include/time.h: Remove __need logic.
213         * include/bits/time.h
214         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
215         * include/bits/types/time_t.h, include/bits/types/timer_t.h
216         * include/bits/types/struct_itimerspec.h
217         * include/bits/types/struct_timespec.h
218         * include/bits/types/struct_timeval.h
219         * include/bits/types/struct_tm.h:
220         New wrapper headers.
222 2016-09-23  Zack Weinberg  <zackw@panix.com>
224         * sysdeps/mach/hurd/net/if_ppp.h
225         * sysdeps/unix/sysv/linux/net/if_ppp.h:
226         Only define struct ifpppstatsreq and struct ifpppcstatsreq
227         if __USE_MISC is defined, to ensure struct ifreq is declared.
229         * inet/netinet/ether.h: Condition all function prototypes
230         on __USE_MISC, to ensure struct ether_addr is declared.
232         * socket/bits/types/struct_osockaddr.h: New header.
233         * include/bits/types/struct_osockaddr.h: New wrapper.
234         * socket/Makefile: Install the new header.
235         * socket/sys/socket.h, inet/protocols/talkd.h:
236         Refer to bits/types/struct_osockaddr.h for the definition of
237         struct osockaddr.
239 2016-09-23  Zack Weinberg  <zackw@panix.com>
241         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
242         * inet/protocols/routed.h, inet/protocols/talkd.h
243         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
244         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
245         * sysdeps/generic/netinet/if_ether.h
246         * sysdeps/generic/netinet/in_systm.h
247         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
248         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
249         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
250         * sysdeps/mach/hurd/net/if_arp.h
251         * sysdeps/mach/hurd/net/if_ppp.h
252         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
253         * sysdeps/unix/sysv/linux/bits/in.h
254         * sysdeps/unix/sysv/linux/net/ethernet.h
255         * sysdeps/unix/sysv/linux/net/if_arp.h
256         * sysdeps/unix/sysv/linux/net/if_ppp.h
257         * sysdeps/unix/sysv/linux/net/if_shaper.h
258         * sysdeps/unix/sysv/linux/net/route.h
259         * sysdeps/unix/sysv/linux/netinet/if_ether.h
260         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
261         * sysdeps/unix/sysv/linux/netinet/if_tr.h
262         * sysdeps/unix/sysv/linux/netipx/ipx.h
263         * sysdeps/unix/sysv/linux/sys/acct.h
264         * include/arpa/nameser.h, include/resolv.h:
265         Change all uses of u_char to unsigned char,
266         u_short and ushort to unsigned short, u_int and uint to unsigned int,
267         u_long and ulong to unsigned long, u_int8_t to uint8_t,
268         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
269         and u_int64_t and u_quad_t to uint64_t.
271         * mach/sys/reboot.h: Remove two casts of integer literals
272         to the types they already have.
274         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
275         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
276         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
277         from referring to 'unsigned char' to 'uint8_t' for consistency with
278         the macro definition below.
280         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
281         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
282         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
283         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
284         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
285         * sysdeps/unix/sysv/linux/sys/acct.h
286         * include/arpa/nameser.h, include/resolv.h:
287         Fix indentation disrupted by mechanical edits.
289         * inet/protocols/talkd.h, resolv/arpa/nameser.h
290         * sysdeps/generic/netinet/in_systm.h
291         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
292         * sysdeps/gnu/netinet/udp.h
293         * sysdeps/unix/sysv/linux/net/ethernet.h
294         * sysdeps/unix/sysv/linux/net/if_arp.h
295         * sysdeps/unix/sysv/linux/net/if_ppp.h
296         * sysdeps/unix/sysv/linux/net/if_shaper.h
297         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
298         * sysdeps/unix/sysv/linux/netinet/if_tr.h
299         * sysdeps/unix/sysv/linux/netipx/ipx.h
300         * sysdeps/unix/sysv/linux/sys/acct.h
301         Include stdint.h for uintNN_t definitions.
302         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
304 2016-09-23  Zack Weinberg  <zackw@panix.com>
306         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
307         * sysdeps/unix/sysv/linux/netrose/rose.h:
308         Include sys/socket.h and netax25/ax25.h.
310         * inet/netinet/icmp6.h, inet/netinet/ip6.h
311         * resolv/arpa/nameser_compat.h:
312         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
314         * sysdeps/unix/sysv/linux/sys/quota.h:
315         Use __caddr_t instead of caddr_t.
316         * sysdeps/unix/sysv/linux/sys/timerfd.h:
317         Use __clockid_t instead of clockid_t.
319         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
321         * argp/argp.h: Check whether _LIBC is defined before expanding it.
322         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
323         expanding it.
325         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
326         Define __glibc_c99_flexarr_available to 1 when the compiler
327         supports C99-compatible flexible array members, 0 otherwise.
328         * sysdeps/unix/sysv/linux/bits/socket.h
329         * sysdeps/mach/hurd/bits/socket.h
330         * bits/socket.h: Use __glibc_c99_flexarr_available in
331         definitions of struct cmsghdr and CMSG_DATA.
333 2016-09-23  Florian Weimer  <fweimer@redhat.com>
335         * manual/nss.texi (NSS Modules Interface): Adjust function return
336         type to enum nss_status.  Document errnop argument.  Clarify
337         h_errnop semantics.  Fix cross-reference formatting.
338         (NSS Module Function Internals): Mention that *errnop needs to be
339         set on failure, but not to zero.
341 2016-09-23  Florian Weimer  <fweimer@redhat.com>
343         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
344         (get_random_name): New functions.
345         (check_wrapper_flags_mode): Use linkat to give the new file a name
346         determined by get_random_name.
347         (do_test): Add calls to test open64 and openat64.
349 2016-09-23  Florian Weimer  <fweimer@redhat.com>
351         * test-skeleton.c: Remove #include <stdarg.h>.
353 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
355         [BZ #19826]
356         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
357         initialization of static TLS entries.
358         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
359         * nptl/allocatestack.c (init_one_static_tls): Likewise.
361 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
363         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
364         _hurd_malloc_fork_prepare.
365         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
366         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
367         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
368         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
369         (_hurd_fork_child_hook): Drop malloc_fork_child.
370         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
371         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
372         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
373         after locking locks (notably hurd_dtable_lock). Call
374         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
375         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
376         __malloc_fork_unlock_child.
377         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
379 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
381         * soft-fp/extendhftf2.c: New.
382         * soft-fp/fixhfti.c: Likewise.
383         * soft-fp/fixunshfti.c: Likewise.
384         * soft-fp/floattihf.c: Likewise.
385         * soft-fp/floatuntihf.c: Likewise.
386         * soft-fp/half.h: Likewise.
387         * soft-fp/trunctfhf2.c: Likewise.
389 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
391         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
392         macro.
393         * math/libm-test.inc (issubnormal_test_data): New array.
394         (issubnormal_test): New function.
395         * manual/arith.texi (Floating Point Classes): Document
396         issubnormal.
397         * manual/libm-err-tab.pl: Update comment on interfaces without
398         ulps tabulated.
400         * sysdeps/generic/stdint.h: Define
401         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
402         <bits/libc-header-start.h> instead of including <features.h>.
403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
404         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
405         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
406         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
407         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
408         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
409         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
410         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
411         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
413         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
414         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
416         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
417         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
419         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
421         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
422         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
423         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
424         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
427         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
428         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
429         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
430         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
432         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
433         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
435         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
436         * manual/arith.texi (Integers): Document these macros for types
437         specified by width properties.
438         * manual/lang.texi (Width of Type): Document these macros for
439         other standard typedefs.
440         * stdlib/tst-width-stdint.c: New file.
441         * stdlib/Makefile (tests): Add tst-width-stdint.
443 2016-09-21  Florian Weimer  <fweimer@redhat.com>
445         [BZ #20016]
446         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
447         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
448         Move ...
449         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
450         ... here, as compatibility symbols in a new file.
451         * resolv/Makefile (libresolv-routines): Add compat-hooks.
452         * resolv/res_init.c (__res_vinit): Adjust member names.
453         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
454         * resolv/resolv.h (res_sendhookact, res_send_qhook)
455         (res_send_rhook): Remove.
456         (struct __res_state): Rename qhook, rhook members.
458 2016-09-21  Florian Weimer  <fweimer@redhat.com>
460         malloc: Use __libc_lock wrappers.
461         * malloc/arena.c (list_lock, free_list_lock): Define using
462         __libc_lock_define_initialized.
463         (arena_lock): Adjust formatting.
464         * malloc/malloc.c (struct malloc_state): Define mutex using
465         __libc_lock_define.
466         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
467         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
468         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
469         (mutex_unlock, mutex_trylock): Remove.
470         (__pthread_initialize): Remove unused macro.
471         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
472         (mutex_unlock, mutex_trylock): Remove.
474 2016-09-21  Florian Weimer  <fweimer@redhat.com>
476         [BZ #20592]
477         Remove RR type classification macros.
478         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
479         (ns_t_udp_p, ns_t_xfr_p): Remove.
481 2016-09-21  Florian Weimer  <fweimer@redhat.com>
483         Remove misleading version information.
484         * resolv/arpa/nameser.h (__NAMESER): Remove.
485         * resolv/arpa/nameser_compat.h (__BIND): Remove.
487 2016-09-21  Florian Weimer  <fweimer@redhat.com>
489         Remove the always-defined BIND_4_COMPAT macro.
490         * resolv/arpa/nameser.h: Unconditionally include
491         <arpa/nameser_compat.h>.
492         (BIND_4_COMPAT): Remove.
493         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
495 2016-09-21  Florian Weimer  <fweimer@redhat.com>
497         [BZ #20591]
498         Remove obsolete DNSSEC support.
499         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
500         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
501         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
502         (ns_verify_tcp, ns_verify_tcp_init): Remove.
503         (ns_cert_types): Add comment.
504         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
505         separately.
506         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
507         (dst_s_dns_key_id): Remove.
508         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
509         variables.
511 2016-09-21  Florian Weimer  <fweimer@redhat.com>
513         [BZ #20524]
514         * manual/string.texi (String/Array Comparison): Clarify the
515         strverscmp behavior.
517 2016-09-21  Florian Weimer  <fweimer@redhat.com>
519         * test-skeleton.c (xasprintf): Add function.
520         * io/tst-open-tmpfile.c: New test.
521         * io/Makefile (tests): Add it.
523 2016-09-21  Florian Weimer  <fweimer@redhat.com>
525         Avoid running $(CXX) during build to obtain header file paths.
526         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
527         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
528         * Makerules (cstdlib, cmath): Remove variables.  Use
529         $(c++-cstdlib-header), $(c++-cmath-header) instead.
530         * configure: Regenerate.
532 2016-09-21  Florian Weimer  <fweimer@redhat.com>
534         * Makeconfig (all-object-suffixes): Include .op only if
535         $(build-profile).
537 2016-09-21  Florian Weimer  <fweimer@redhat.com>
539         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
540         conditionals.  Do not define PATH_MAX.
542 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
544         * posix/Makefile (tests): Add tst-spawn3.
545         * posix/tst-spawn3.c: New file.
546         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
547         if it is already opened for open action.
549         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
550         all signals when executing the clone vfork child.
551         (SIGALL_SET): Remove macro.
553         * nptl/Makefile (tests): Add tst-exec5.
554         * nptl/tst-exec5.c: New file.
555         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
556         asynchronous cancellation.
558 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
560         * hurd/exc2signal.c: #include <hurd/signal.h>
561         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
562         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
563         accordingly.
564         * mach/mach_error.c (mach_error): Fix old-style function definition.
565         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
567 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
569         * math/Makefile (libm-calls): Remove s_nanF.
570         (gen-libm-calls): Add s_nanF.
572         * math/s_nan.c: Refactor into ...
573         * math/s_nan_template.c: New file.
575         * math/s_nanf.c: Removed.
576         * math/s_nanl.c: Removed.
577         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
578         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
580         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
581         (LDOUBLE_nanl_libm_version): New macro.
583         * sysdeps/generic/math-type-macros-double.h:
584         (M_STRTO_NAN): New macro.
585         * sysdeps/generic/math-type-macros-float.h: Likewise.
586         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
588         * sysdeps/generic/math-type-macros.h: Document
589         M_STRTO_NAN.
591 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
593         * math/s_nanf.c: Remove __nanf undef.
594         * math/s_nan.c: Remove __nan undef.
595         * math/s_nanl.c: Remove __nanl undef.
597         * sysdeps/generic/math_private.h (__nan): Remove macro
598         override.
599         (__nanf): Likewise.
600         (__nanl): Likewise.
602 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
604         * math/Makefile (gen-all-calls): New variable.
605         (generated): Replace gen-libm-calls with gen-all-calls.
606         (gen-libm-templates.stmp): Likewise.  Also, ensure
607         the output directory exists or is created and add
608         dependency on the Makefile.
609         (calls): Move s_ldexpF into gen-calls.
610         (gen-calls): New variable.
612         * math/s_ldexpf.c: Removed.
613         * math/s_ldexpl.c: Removed.
614         * math/s_ldexp.c: Refactored into ...
615         * math/s_ldexp_template.c: New file.
617         * sysdeps/generic/math-type-macros-double.h: Remove
618         redundant fall-through definition of declare_mgen_alias.
619         (declare_mgen_alias_2): New macro.
621         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
622         New macro for function aliased to two exported symbols.
624         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
625         new template file.
626         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
628 2016-09-20  Florian Weimer  <fweimer@redhat.com>
630         * Makeconfig (all-object-suffixes): Remove .og.
631         * Makerules (elide-routines.og): Remove.
632         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
633         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
634         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
636 2016-09-20  Florian Weimer  <fweimer@redhat.com>
638         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
639         .os objects.
641 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
643         [BZ #20615]
644         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
645         fpu directory by non-fpu.
646         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
647         on non-fpu directory from a fpu directory.
649 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
651         * include/limits.h: Define
652         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
653         <bits/libc-header-start.h> instead of including <features.h>.
654         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
655         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
656         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
657         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
659         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
660         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
662         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
664         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
665         * manual/lang.texi (Width of Type): Document these macros.
666         * stdlib/tst-width.c: New file.
667         * stdlib/Makefile (tests): Add tst-width.
669 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
671         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
672         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
674 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
676         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
677         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
678         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
680 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
682         [BZ #18243]
683         * rt/Makefile (test): Add tst-shm-cancel.
684         * rt/tst-shm-cancel.c: New file.
685         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
687         [BZ #18243]
688         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
689         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
690         definition.
691         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
692         uncontended case.
693         * nptl/sem_wait.c (__new_sem_wait): Likewise.
694         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
695         (tf): Fix check for uncontended case.
696         (do_test): Likewise.
697         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
698         (tf): Fix check for uncontended case.
699         (do_test): Likewise.
700         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
701         (tf): Fix check for uncontended case.
702         (do_test): Likewise.
703         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
704         (tf): Fix check for uncontended case.
705         (do_test): Likewise.
707         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
708         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
710         [BZ #15765]
711         * nptl/Makefile (tests): Add tst-sem16.
712         * nptl/tst-sem16.c: New file.
713         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
715         * nptl/sem_open.c (sem_open): Init pad value to 0.
716         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
717         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
719 2016-09-15  Florian Weimer  <fweimer@redhat.com>
721         [BZ #20611]
722         * inet/Makefile (routines): Add inet6_scopeid_pton.
723         (tests): Add tst-inet6_scopeid_pton.
724         * inet/inet6_scopeid_pton.c: New file.
725         * inet/net-internal.h: Likewise.
726         * inet/tst-inet6_scopeid_pton.c: New test.
727         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
728         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
731 2016-09-14  Florian Weimer  <fweimer@redhat.com>
733         Remove support for compiling wrappers with PTW.
734         * sysdeps/nptl/Makeconfig: Drop ptw- support.
735         * nptl/Makefile (pthread-compat-wrappers): Define.
736         (libpthread-routines): Use pthread-compat-wrappers.
737         * sysdeps/unix/sysv/linux/alpha/Makefile
738         (libpthread-routines, libpthread-shared-only-routines): Remove
739         ptw- prefix.
740         * sysdeps/s390/nptl/Makefile
741         (libpthread-routines, libpthread-shared-only-routines): Likewise.
742         * sysdeps/ia64/nptl/Makefile
743         (libpthread-routines, libpthread-shared-only-routines): Likewise.
744         * sysdeps/nacl/Makefile (libpthread-routines): Use
745         pthread-compat-wrappers to filter the routines list instead of the
746         ptw- prefix.
748 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
750         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
751         with L() and remove explicit suffix, convert real literals
752         which can be equivalentally substituted with integers, and
753         transform -L(x) to L(-x).
755         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
756         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
757         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
758         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
759         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
760         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
761         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
762         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
763         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
764         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
765         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
766         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
767         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
768         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
769         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
770         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
771         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
772         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
773         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
774         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
775         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
776         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
777         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
778         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
779         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
780         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
781         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
782         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
783         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
784         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
785         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
786         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
787         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
788         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
789         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
790         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
791         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
792         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
793         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
794         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
795         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
796         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
797         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
798         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
799         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
800         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
801         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
802         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
803         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
804         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
806 2016-09-13  Florian Weimer  <fweimer@redhat.com>
808         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
810 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
812         * malloc/Makefile (tests): Remove individual static test names
813         and just add all of tests-static.
815         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
817 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
819         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
820         file.
822         * sysdeps/sparc/fpu/fegetmode.c: New file.
823         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
825         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
826         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
828         * sysdeps/s390/fpu/fegetmode.c: New file.
829         * sysdeps/s390/fpu/fesetmode.c: Likewise.
831         * sysdeps/powerpc/fpu/fegetmode.c: New file.
832         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
833         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
834         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
835         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
836         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
838         * sysdeps/mips/fpu/fegetmode.c: New file.
839         * sysdeps/mips/fpu/fesetmode.c: Likewise.
841         * sysdeps/m68k/fpu/fegetmode.c: New file.
842         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
844         * sysdeps/ia64/fpu/fegetmode.c: New file.
845         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
847         * sysdeps/hppa/fpu/fegetmode.c: New file.
848         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
850         * sysdeps/arm/fegetmode.c: New file.
851         * sysdeps/arm/fesetmode.c: Likewise.
853         * sysdeps/alpha/fpu/fegetmode.c: New file.
854         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
856         * sysdeps/aarch64/fpu/fegetmode.c: New file.
857         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
859         * math/fegetmode.c: New file.
860         * math/fesetmode.c: Likewise.
861         * sysdeps/i386/fpu/fegetmode.c: Likewise.
862         * sysdeps/i386/fpu/fesetmode.c: Likewise.
863         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
864         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
865         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
866         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
867         declaration.
868         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
869         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
870         typedef.
871         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
872         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
873         (femode_t): New typedef.
874         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
875         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
876         (femode_t): New typedef.
877         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
878         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
879         (femode_t): New typedef.
880         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
881         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
882         (femode_t): New typedef.
883         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
884         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
885         (femode_t): New typedef.
886         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
887         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
888         (femode_t): New typedef.
889         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
890         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
891         (femode_t): New typedef.
892         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
893         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
894         (femode_t): New typedef.
895         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
896         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
897         (femode_t): New typedef.
898         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
899         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
900         (femode_t): New typedef.
901         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
902         declaration.
903         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
904         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
905         (femode_t): New typedef.
906         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
907         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
908         (femode_t): New typedef.
909         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
910         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
911         (femode_t): New typedef.
912         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
913         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
914         (femode_t): New typedef.
915         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
916         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
917         (femode_t): New typedef.
918         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
919         * manual/arith.texi (FE_DFL_MODE): Document macro.
920         (fegetmode): Document function.
921         (fesetmode): Likewise.
922         * math/Versions (fegetmode): New libm symbol at version
923         GLIBC_2.25.
924         (fesetmode): Likewise.
925         * math/Makefile (libm-support): Add fegetmode and fesetmode.
926         (tests): Add test-femode and test-femode-traps.
927         * math/test-femode-traps.c: New file.
928         * math/test-femode.c: Likewise.
929         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
930         alias for __fe_dfl_env.
931         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
932         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
933         (__fe_dfl_mode): Likewise.
934         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
935         version GLIBC_2.25.
936         * sysdeps/nacl/libm.abilist: Update.
937         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
938         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
939         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
940         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
941         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
942         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
943         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
944         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
945         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
946         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
947         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
948         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
950         Likewise.
951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
952         Likewise.
953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
954         Likewise.
955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
956         Likewise.
957         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
958         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
959         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
960         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
961         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
963         Likewise.
964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
965         Likewise.
966         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
967         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
968         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
970 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
972         [BZ #20495]
973         [BZ #20508]
974         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
975         processors, set Use_dl_runtime_resolve_slow and set
976         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
977         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
978         New.
979         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
980         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
981         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
982         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
983         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
984         if Use_dl_runtime_resolve_opt is set.  Use
985         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
986         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
987         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
988         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
989         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
990         New.
991         (_dl_runtime_resolve_opt): Likewise.
992         (_dl_runtime_profile): Define only if _dl_runtime_profile is
993         defined.
995 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
997         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
998         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1000 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1002         Convert malloc to __libc_lock.  Automated part, using this Perl
1003         s/// command:
1004           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1005             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1006         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1007         conversion.
1009 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1011         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1012         (linknamespace-symlists-tests): Likewise.
1013         (linknamespace-header-tests): Likewise.
1015 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1017         [BZ #19810]
1018         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1019         * elf/tst-noload.c: New test case.
1020         * elf/Makefile (tests): Add tst-noload.
1022 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1024         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1026         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1027         not any more.
1029         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1031 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1033         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1034         (do_cos_slow): Likewise.
1035         (do_sin): Likewise.
1036         (do_sin_slow): Likewise.
1037         (slow): Likewise.
1038         (slow1): Likewise.
1039         (slow2): Likewise.
1040         (sloww): Likewise.
1041         (sloww1): Likewise.
1042         (sloww2): Likewise.
1043         (bsloww): Likewise.
1044         (bsloww1): Likewise.
1045         (bsloww2): Likewise.
1046         (cslow2): Likewise.
1048         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1050         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1051         arguments.  Consolidate input partitioning from callers here.
1052         (do_cos_slow): Likewise.
1053         (do_sin): Likewise.
1054         (do_sin_slow): Likewise.
1055         (do_sincos_1): Remove the no longer necessary input partitioning.
1056         (do_sincos_2): Likewise.
1057         (__sin): Likewise.
1058         (__cos): Likewise.
1059         (slow1): Likewise.
1060         (slow2): Likewise.
1061         (sloww1): Likewise.
1062         (sloww2): Likewise.
1063         (bsloww1): Likewise.
1064         (bsloww2): Likewise.
1065         (cslow2): Likewise.
1067 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1069         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1070         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1071         outside of allocated array.
1073 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1075         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1076         instead of MB_CUR_MAX to avoid variable-length array.
1078 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1080         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1081         (type-double-routines): Add k_rem_pio2.
1082         (type-float-routines): Add k_rem_pio2f.
1084         * sysdeps/generic/math_private.h:
1085         (__kernel_rem_pio2l): Removed.
1087         * math/k_rem_pio2l.c: Removed.
1088         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1089         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1090         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1091         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1093 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1095         * math/Makefile (gen-libm-calls): Add s_fmin
1096         (libm-calls): Remove above.
1098         * math/s_fmin.c: Refactor into ...
1099         * math/s_fmin_template.c: New file.
1101         * math/s_fminf.c: Removed.
1102         * math/s_fminl.c: Removed.
1103         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1104         (LDOUBLE_fmin_libm_version): New macro.
1106         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1107         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1109 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1111         * math/Makefile: (gen-libm-calls): Add s_fmax.
1112         (libm-calls): Remove above.
1114         * math/s_fmax.c: Refactor into ...
1115         * math/s_fmax_template.c: New file.
1116         * math/s_fmaxf.c: Removed.
1117         * math/s_fmaxl.c: Removed.
1119         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1120         (LDOUBLE_fmaxl_libm_version): New macro.
1122         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1123         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1125         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1126         s_fmin.c to pick the aarch64 version of the file.
1127         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1128         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1130 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1132         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1133         (libm-calls): Remove above.
1135         * math/s_nextdown.c: Refactor into ...
1136         * math/s_nextdown_template.c: New file.
1137         * math/s_nextdownf.c: Removed.
1138         * math/s_nextdownl.c: Removed.
1140         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1142 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1144         * math/Makefile (gen-libm-calls): Add s_fdim.
1145         (libm-calls): Move to above.
1147         * math/s_fdim.c: Renamed and refactored into to ...
1148         * math/s_fdim_template.c: New file.
1149         * math/s_fdiml.c: Removed.
1150         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1151         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1153         * sysdeps/generic/math-type-macros-double.h:
1154         (declare_mgen_alias): Don't declare if already declared.
1155         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1156         Likewise.
1158         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1159         (declare_mgen_alias): Don't declare if already declared.
1160         (M_LIBM_NEED_COMPAT): Likewise.
1161         (declare_mgen_libm_compat): Likewise.
1162         (LDOUBLE_fdiml_libm_version): New macro.
1164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1165         Include math/s_fdim.c now that ldbl-opt version is not needed.
1166         (declare_mgen_alias): New macro to disable aliasing.
1168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1169         (declare_mgen_alias): Likewise.
1170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1171         (declare_mgen_alias): Likewise.
1172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1173         (declare_mgen_alias): Likewise.
1174         (M_LIBM_NEED_COMPAT): Likewise.
1176 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1178         [BZ #20525]
1179         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1180         Include <linux/quota.h>.
1181         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1182         and btodb.
1183         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1184         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1185         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1186         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1187         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1188         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1189         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1190         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1191         types.
1192         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1193         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1195 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1197         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1198         (gammal_positive): Fix spacing.
1199         (__ieee754_gammal_r): Likewise.
1201 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1203         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1204         (_Float128): Define as long double, always.
1205         (L): Apply long double type suffix, always.
1207         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1208         _Float128, excepting comments.
1210         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1211         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1212         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1213         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1214         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1215         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1216         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1217         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1218         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1219         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1220         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1221         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1222         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1223         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1224         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1225         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1226         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1227         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1228         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1229         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1230         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1231         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1232         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1233         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1234         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1235         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1236         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1237         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1238         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1239         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1240         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1241         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1242         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1243         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1244         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1245         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1246         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1247         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1248         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1249         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1250         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1251         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1252         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1253         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1254         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1255         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1256         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1257         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1258         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1259         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1260         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1261         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1262         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1263         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1264         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1265         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1266         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1267         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1268         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1269         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1270         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1271         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1272         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1273         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1274         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1275         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1276         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1277         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1279         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1280         _Float128, and include math_private.h.
1281         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1283         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1284         long double semantics.
1285         (_Float128): Likewise.
1286         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1287         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1288         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1289         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1291 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1293         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1294         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1295         * sysdeps/s390/configure: Regenerated.
1296         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1297         instruction for raising over-/underflow if z196 zarch is supported
1298         by default.
1299         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1301 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1303         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1304         it point to a dumb buffer for RPC to fill it.
1306 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1308         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1309         instead of if/else.
1310         (do_sin_slow): Likewise.
1311         (do_sincos_1): Use fabs instead of if/else.
1312         (do_sincos_2): Likewise.
1313         (__sin): Likewise.
1314         (__cos): Likewise.
1315         (slow2): Likewise.
1316         (sloww): Likewise.
1317         (sloww1): Likewise.  Drop argument M.
1318         (sloww2): Use fabs instead of if/else.
1319         (bsloww): Likewise.
1320         (bsloww1): Likewise.
1321         (bsloww2): Likewise.
1323         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1324         fall through comment.
1325         (do_sincos_1): Likewise.
1327         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1328         Consolidate switch cases 0 and 2.
1330 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1332         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1333         (libm-calls): Remove the above.
1335         * math/s_cexp_template.c: Update using type-generic macros.
1336         * math/s_clog10_template.c: Likewise.
1337         * math/s_cpow_template.c: Likewise.
1338         * math/s_clog_template.c: Likewise.
1339         * math/s_cproj_template.c: Likewise.
1340         * math/s_csqrt_template.c: Likewise.
1342         * math/s_cexp.c: Removed.
1343         * math/s_cexpf.c: Removed.
1344         * math/s_cexpl.c: Removed.
1345         * math/s_clog10.c: Removed.
1346         * math/s_clog10f.c: Removed.
1347         * math/s_clog10l.c: Removed.
1348         * math/s_cpow.c: Removed.
1349         * math/s_cpowf.c: Removed.
1350         * math/s_cpowl.c: Removed.
1351         * math/s_clog.c: Removed.
1352         * math/s_clogf.c: Removed.
1353         * math/s_clogl.c: Removed.
1354         * math/s_cproj.c: Removed.
1355         * math/s_cprojf.c: Removed.
1356         * math/s_cprojl.c: Removed.
1357         * math/s_csqrt.c: Removed.
1358         * math/s_csqrtf.c: Removed.
1359         * math/s_csqrtl.c: Removed.
1361         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1362         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1363         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1364         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1365         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1366         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1368         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1369         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1370         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1371         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1372         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1373         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1374         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1375         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1376         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1377         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1378         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1380         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1381         version.
1383         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1384         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1385         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1386         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1388 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1390         * s_cexp_template.c: Copy of s_cexp.c.
1391         * s_clog_template.c: Copy of s_clog.c.
1392         * s_clog10_template.c: Copy of s_clog10.c.
1393         * s_cpow_template.c: Copy of s_cpow.c.
1394         * s_cproj_template.c: Copy of s_cproj.c.
1395         * s_csqrt_template.c: Copy of s_csqrt.c.
1397 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1399         [BZ #20517]
1400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1401         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1402         exported.
1404 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1406         * math/fetestexceptflag.c: New file.
1407         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1408         Stefan Liebler.
1409         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1410         (fetestexceptflag): New function declaration.
1411         * manual/arith.texi (fetestexceptflag): Document function.
1412         * math/Versions (fetestexceptflag): New libm symbol at version
1413         GLIBC_2.25.
1414         * math/Makefile (libm-support): Add fetestexceptflag.
1415         (tests): Add test-fetestexceptflag.
1416         * math/test-fetestexceptflag.c: New file.
1417         * sysdeps/nacl/libm.abilist: Update.
1418         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1419         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1420         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1421         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1422         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1423         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1424         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1425         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1426         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1427         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1428         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1429         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1431         Likewise.
1432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1433         Likewise.
1434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1435         Likewise.
1436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1437         Likewise.
1438         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1439         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1440         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1441         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1442         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1444         Likewise.
1445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1446         Likewise.
1447         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1448         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1449         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1451 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1453         [BZ #20432]
1454         Avoid strong references to malloc-internal symbols when linking
1455         statically, to support statically interposed mallocs.
1456         * include/libc-symbols.h (call_function_static_weak): New macro.
1457         * malloc/Makefile (tests): Add tst-interpose-nothread,
1458         tst-interpose-thread, tst-interpose-static-nothread,
1459         tst-interpose-static-thread.
1460         (tests-static): Add tst-interpose-static-nothread,
1461         tst-interpose-static-thread.
1462         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1463         tst-interpose-aux-thread.o.
1464         (test-extras): Add tst-interpose-aux-nothread,
1465         tst-interpose-aux-thread.
1466         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1467         tst-interpose-aux-nothread.o.
1468         (tst-interpose-thread, tst-interpose-static-thread): Link with
1469         tst-interpose-aux-thread.o and libthread.
1470         * malloc/tst-interpose-aux-nothread.c: New file.
1471         * malloc/tst-interpose-aux-thread.c: Likewise.
1472         * malloc/tst-interpose-aux.c: Likewise.
1473         * malloc/tst-interpose-aux.h: Likewise.
1474         * malloc/tst-interpose-nothread.c: Likewise.
1475         * malloc/tst-interpose-skeleton.c: Likewise.
1476         * malloc/tst-interpose-static-nothread.c: Likewise.
1477         * malloc/tst-interpose-static-thread.c: Likewise.
1478         * malloc/tst-interpose-thread.c: Likewise.
1479         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1480         * sysdeps/mach/hurd/fork.c (__fork): Only call
1481         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1482         __malloc_fork_unlock_child if defined.
1483         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1485 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1487         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1488         timespec C99 designated initialization.
1490 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1492         [BZ #19946]
1493         Avoid expected SIGALRM signals.
1494         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1495         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1496         (xpthread_create, xpthread_detach, xpthread_join)
1497         (delayed_exit_thread, delayed_exit): New functions.
1498         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1499         (tf): Use xpthread_cond_wait.
1500         (do_test): Likewise.  Replace alarm with delayed_exit.
1501         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1502         (do_test): Call delayed_exit.  Report failure.
1503         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1504         (do_test): Call delayed_exit.
1505         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1506         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1507         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1508         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1509         error.
1510         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1511         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1512         error.
1513         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1514         (do_test): Call delayed_exit.
1515         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1516         (do_test): Call delayed_exit.
1517         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1518         (do_test): Call delayed_exit instead of alarm.  Use
1519         xpthread_mutex_lock.
1520         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1521         (do_test): Call delayed_exit instead of alarm.  Use
1522         xpthread_mutex_lock.
1523         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1524         (do_test): Call delayed_exit instead of alarm.
1525         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1526         (do_test): Call delayed_exit instead of alarm.  Use
1527         xpthread_spin_lock.
1528         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1529         (do_test): Call delayed_exit instead of alarm.  Use
1530         xpthread_join.
1532 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1534         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1535         adjust CFA when allocating register save area on re-aligned
1536         stack.
1538 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1540         * string/tst-cmp.c: New test.
1541         * string/Makefile (tests): Add it.
1543 2016-08-25  Mark Wielaard  <mark@klomp.org>
1545         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1546         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1547         (check_tree_recurse): Use newly defined accessors.
1548         (check_tree): Likewise.
1549         (maybe_split_for_insert): Likewise.
1550         (__tfind): Likewise.
1551         (__tdelete): Likewise.
1552         (trecurse): Likewise.
1553         (tdestroy_recurse): Likewise.
1554         (__tsearch): Likewise. And add asserts for malloc alignment.
1555         (__twalk): Cast root to node in case CHECK_TREE is defined.
1557 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1559         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1561 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1563         * math/Makefile (libm-gen-calls): Add
1564         catan, catanh, ctan, ctanh.
1565         (libm-calls): Remove the above.
1567         * math/s_catan_template.c: Update using type-generic macros.
1568         * math/s_catanh_template.c: Likewise.
1569         * math/s_ctan_template.c: Likewise.
1570         * math/s_ctanh_template.c: Likewise.
1572         * math/s_catanf.c: Removed.
1573         * math/s_catan.c: Removed.
1574         * math/s_catanl.c: Removed.
1575         * math/s_catanhf.c: Removed.
1576         * math/s_catanh.c: Removed.
1577         * math/s_catanhl.c: Removed.
1578         * math/s_ctanf.c: Removed.
1579         * math/s_ctan.c: Removed.
1580         * math/s_ctanl.c: Removed.
1581         * math/s_ctanhf.c: Removed.
1582         * math/s_ctanh.c: Removed.
1583         * math/s_ctanhl.c: Removed.
1585         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1586         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1587         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1588         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1589         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1590         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1592         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1593         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1594         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1595         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1597 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1599         * s_catan_template.c: Copy of s_catan.c.
1600         * s_catanh_template.c: Copy of s_catanh.c.
1601         * s_ctan_template.c: Copy of s_ctan.c.
1602         * s_ctanh_template.c: Copy of s_ctanh.c.
1604 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1606         * math/Makefile (gen-libm-calls): Move
1607         casin, casinh, csin, csinh here.
1608         (libm-calls): Remove the above.
1610         * math/s_casin_template.c: Update using type-generic macros.
1611         * math/s_casinh_template.c: Likewise.
1612         * math/s_csin_template.c: Likewise.
1613         * math/s_csinh_template.c: Likewise.
1614         * math/k_casinh_template.c: Likewise.
1616         * math/s_casinf.c: Removed.
1617         * math/s_casin.c: Removed.
1618         * math/s_casinl.c: Removed.
1619         * math/s_casinh.c: Removed.
1620         * math/s_casinhf.c: Removed.
1621         * math/s_casinhl.c: Removed.
1622         * math/s_csin.c: Removed.
1623         * math/s_csinf.c: Removed.
1624         * math/s_csinl.c: Removed.
1625         * math/s_csinh.c: Removed.
1626         * math/s_csinhf.c: Removed.
1627         * math/s_csinhl.c: Removed.
1628         * math/k_casinh.c: Removed.
1629         * math/k_casinhf.c: Removed.
1630         * math/k_casinhl.c: Removed.
1632         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1633         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1634         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1635         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1637         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1638         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1639         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1640         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1641         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1642         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1643         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1644         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1646         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1647         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1648         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1649         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1651         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1652         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1653         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1654         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1656 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1658         * s_casin_template.c: Copy of s_casin.c.
1659         * s_casinh_template.c: Copy of s_casinh.c.
1660         * s_csin_template.c: Copy of s_csin.c.
1661         * s_csinh_template.c: Copy of s_csinh.c.
1662         * k_casinh_template.c: Copy of k_casinh.c.
1664 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1666         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1668 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1670         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1671         (mul_split) Remove, rename as mul_splitl, remove
1672         redundant float.h include, and include via mul_splitl.h
1674         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1675         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1676         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1677         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1678         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1680         * math/mul_splitl.h: New file.
1682         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1683         Move into mul_split.h, and remove redundant float.h include.
1685         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1686         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1687         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1688         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1690         * math/mul_split.h: New file.
1692 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1694         * math/Makefile (libm-gen-calls): Move
1695         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1696         (libm-calls): Remove above.
1698         * math/s_cacos_template.c: Update using type-generic macros.
1699         * math/s_cacosh_template.c: Likewise.
1700         * math/s_ccos_template.c: Likewise.
1701         * math/s_ccosh_template.c: Likwise.
1703         * math/s_cacosf.c: Removed.
1704         * math/s_cacos.c: Removed.
1705         * math/s_cacosl.c: Removed.
1706         * math/s_cacoshf.c: Removed.
1707         * math/s_cacosh.c: Removed.
1708         * math/s_cacoshl.c: Removed.
1709         * math/s_ccosf.c: Removed.
1710         * math/s_ccos.c: Removed.
1711         * math/s_ccosl.c: Removed.
1712         * math/s_ccoshf.c: Removed.
1713         * math/s_ccosh.c: Removed.
1714         * math/s_ccoshl.c: Removed.
1716         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1717         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1718         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1719         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1720         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1721         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1723         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1724         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1725         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1726         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1728         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1729         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1730         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1731         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1733 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1735         * s_cacos_template.c: Copy of s_cacos.c.
1736         * s_cacosh_template.c: Copy of s_cacosh.c.
1737         * s_ccos_template.c: Copy of s_ccos.c.
1738         * s_ccosh_template.c: Copy of s_ccosh.c.
1740 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1742         * stdlib/tst-strtod-round-skeleton.c:
1743         Refactored from tst-strtod-round.c.
1745         (L_): New macro to apply literal modifier.
1746         (FNPFX): New macro to select str or wcs prefix.
1747         (CHAR): New macro to choose wchar_t or char.
1748         (STRM): New macro to choose printf for tested character type.
1750         (STRTO): New macro to choose appropriate string -> real function.
1751         (FNPFXS): Stringitized version of FNPFX.
1752         (STR): Support for above macro.
1753         (STRX): Likewise.
1755         (TEST): Update with above macros.
1756         (test): Likewise.
1757         (GEN_ONE_TEST): Likewise.
1758         (test_in_one_mode): Likewise.
1760         * stdlib/tst-strtod-round.c: New file.
1761         * wcsmbs/tst-wcstod-round.c: New file.
1763         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1764         (tst-wcstod-round): Add libm depencency for fesetround.
1766 2016-08-19  Zack Weinberg  <zackw@panix.com>
1768         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1770 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1772         [BZ #20477]
1773         * resolv/res_hconf.c (do_init): Use atomic access.
1774         * resolv/res_hconf.h: Add comments.
1775         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1776         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1779 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1781         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1782         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1783         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1784         Likewise.
1786 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1788         [BZ #16907]
1789         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1790         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1791         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1792         (__attribute__): Remove definition.
1794 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1796         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1797         Remove unused sqrtl declaration.
1799 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1801         * math/Makefile: (gen-libm-templates.stmp): New rule.
1802         (libm-calls): Move carg conj cimag and cabs into ...
1803         (gen-libm-calls): New variable.
1804         (generated): Inform Make objects from gen-libm-calls
1805         may be generated.
1807         * sysdeps/generic/math-type-macros.h: New file.
1808         * sysdeps/generic/math-type-macros-float.h: Likewise.
1809         * sysdeps/generic/math-type-macros-double.h: Likewise.
1810         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1811         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1812         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1814         * math/cabs.c: Refactor into
1815         * math/cabs_template.c: new file.
1816         * math/cabsf.c: Removed.
1817         * math/cabsl.c: Removed.
1818         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1819         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1821         * math/carg.c: Refactor into
1822         * math/carg_template.c: new file.
1823         * math/cargf.c: Removed.
1824         * math/cargl.c: Removed.
1825         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1826         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1828         * math/conj.c: Refactor into
1829         * math/conj_template.c: new file.
1830         * math/conjf.c: Removed.
1831         * math/conjl.c: Removed.
1832         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1833         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1835         * math/cimag.c: Refactor into
1836         * math/cimag_template.c: new file.
1837         * math/cimagf.c: Removed.
1838         * math/cimagl.c: Removed.
1839         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1840         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1842         * math/cimag.c: Refactor into
1843         * math/cimag_template.c: new file.
1844         * math/cimagf.c: Removed.
1845         * math/cimagl.c: Removed.
1846         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1847         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1849 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1851         Reduce time to expected nptl/tst-once5 failure.
1852         * nptl/tst-once5.cc (TIMEOUT): Define.
1854 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1856         [BZ #20452]
1857         Avoid additional copies of objects in libc.a in static libraries.
1858         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1859         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1860         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1861         rt-sysdep.
1862         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1863         Add nptl-sysdep.
1864         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1865         Add ptw-sysdep.
1866         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1867         rt-sysdep.
1868         * sysdeps/unix/sysv/linux/alpha/Makefile
1869         (libpthread-shared-only-routines): Add ptw-sysdep,
1870         ptw-sigprocmask, ptw-rt_sigaction.
1871         * sysdeps/unix/sysv/linux/ia64/Makefile
1872         (librt-shared-only-routines): Add rt-sysdep.
1873         * sysdeps/unix/sysv/linux/i386/Makefile
1874         (libpthread-shared-only-routines): Add libc-do-syscall.
1875         * sysdeps/unix/sysv/linux/microblaze/Makefile
1876         (libpthread-shared-only-routines): Add sysdep.
1877         * sysdeps/unix/sysv/linux/powerpc/Makefile
1878         (librt-shared-only-routines): Add rt-sysdep.
1879         (libpthread-shared-only-routines): Add sysdep.
1880         * sysdeps/unix/sysv/linux/s390/Makefile
1881         (librt-shared-only-routines): Add rt-sysdep.
1882         * sysdeps/unix/sysv/linux/sparc/Makefile
1883         (librt-shared-only-routines): Add rt-sysdep.
1884         (libpthread-shared-only-routines): Add sysdep.
1885         * sysdeps/unix/sysv/linux/tile/Makefile
1886         (libpthread-shared-only-routines): Likewise.
1888 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1890         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1891         Mask implicit bit out of unpacked value.
1892         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1893         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1894         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1896         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1898         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1900         * sysdeps/s390/fpu/fesetexcept.c: New file.
1902         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1903         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1904         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1906         * sysdeps/mips/fpu/fesetexcept.c: New file.
1908         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1910         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1912         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1914         * sysdeps/arm/fesetexcept.c: New file.
1916         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1918         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1920         * math/fesetexcept.c: New file.
1921         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1922         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1923         * math/fenv.h: Define
1924         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1925         <bits/libc-header-start.h> instead of including <features.h>.
1926         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1927         declaration.
1928         * manual/arith.texi (fesetexcept): Document function.
1929         * math/Versions (fesetexcept): New libm symbol at version
1930         GLIBC_2.25.
1931         * math/Makefile (libm-support): Add fesetexcept.
1932         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1933         * math/test-fesetexcept.c: New file.
1934         * math/test-fesetexcept-traps.c: Likewise.
1935         * sysdeps/nacl/libm.abilist: Update.
1936         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1937         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1938         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1939         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1940         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1941         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1942         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1943         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1944         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1945         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1946         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1947         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1949         Likewise.
1950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1951         Likewise.
1952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1953         Likewise.
1954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1955         Likewise.
1956         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1957         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1958         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1959         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1960         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1962         Likewise.
1963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1964         Likewise.
1965         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1966         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1967         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1969 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1971         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1972         New.
1973         (do_test): Apply default_stack_size_in_mb if not set.
1974         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1976 2016-08-15  Andreas Schwab  <schwab@suse.de>
1978         [BZ #20435]
1979         CVE-2016-6323
1980         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1981         as .cantunwind.
1983 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1985         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1986         comment from fraiseexcpt.c.
1988         * math/test-fexcept.c (feraiseexcept_exact): New function.
1989         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1990         (test_except): Likewise.
1992 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1994         [BZ #20455]
1995         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1996         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1997         to be restored.
1999         * math/test-fexcept-traps.c: New file.
2000         * math/test-fexcept.c: Likewise.
2001         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2002         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2003         macro.
2004         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2005         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2007 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2009         * include/atomic.h (atomic_fetch_and_relaxed,
2010         atomic_fetch_and_release, atomic_fetch_or_release,
2011         atomic_fetch_xor_release): New.
2013 2016-08-06  Christian Seiler  <christian@iwakd.de>
2015         [BZ #20444]
2016         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2017         MACH_PORT_NULL.
2019 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2021         * math/s_fdim.c: Avoid alias renamed.
2022         * math/s_fdimf.c: Likewise.
2023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2024         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2025         Add s_fdimf-vis3, s_fdim-vis3.
2026         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2027         (CFLAGS-s_fdim-vis3.c): Likewise.
2028         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2029         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2031 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2034         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2035         Remove s_fdimf-vis3, s_fdim-vis3.
2036         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2037         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2044         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2045         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2047 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2049         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2050         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2051         -Wa,-Av9a -mvis.
2053 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2055         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2056         LIT() to individual constants in simple expressions
2057         after splitting on spaces.
2058         (_apply_lit): Rename replaced version, and use it to
2059         apply to what appears to be a token.
2061         * math/libm-test.inc: Fix many, many issues with
2062         spacing.
2064 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2066         * math/math.h: Move comment about <bits/mathdef.h> definitions
2067         above inclusion of <bits/mathdef.h>.  Do not mention
2068         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2070 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2072         * include/atomic.h (atomic_exchange_relaxed): New.
2074 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2076         * math/e_scalb.c: Do not include <fenv.h>.
2077         (invalid_fn): Do calculation resulting in NaN instead of raising
2078         FE_INVALID and returning a NaN explicitly.
2079         * math/e_scalbf.c: Do not include <fenv.h>.
2080         (invalid_fn): Do calculation resulting in NaN instead of raising
2081         FE_INVALID and returning a NaN explicitly.
2082         * math/e_scalbl.c: Do not include <fenv.h>.
2083         (invalid_fn): Do calculation resulting in NaN instead of raising
2084         FE_INVALID and returning a NaN explicitly.
2086 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2088         * po/de.po: Updated from Translation Project.
2089         * po/fi.po: Likewise.
2090         * po/sv.po: Likewise.
2092 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2094         [BZ #20452]
2095         Use sysdep.o from libc.a in static libraries.
2096         * sysdeps/unix/sysv/linux/i386/Makefile
2097         (libpthread-shared-only-routines): Add sysdep.
2098         (librt-shared-only-routines): Likewise.
2100 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2102         * math/tgmath.h (nextdown): Define if
2103         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2104         (nextup): Likewise.
2106         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2107         macro.
2108         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2109         Document.
2110         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2111         Document macro.
2112         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2113         (exp10f): Likewise.
2114         (exp10l): Likewise.
2115         * math/bits/mathcalls.h (exp10): Declare if
2116         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2118         * manual/arith.texi (nextup): Fix typo in last change.
2120 2016-08-03  Zack Weinberg  <zackw@panix.com>
2122         [BZ #19239]
2123         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2124         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2125         define major, minor, and makedev to issue deprecation warnings on use.
2126         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2127         previously-activated deprecation warnings for these macros and prevent
2128         subsequent inclusions of this header from having any effect.
2129         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2130         including <sys/sysmacros.h>, and undefine it again afterward.
2132 2016-08-03  Zack Weinberg  <zackw@panix.com>
2134         * sysdeps/generic/sys/sysmacros.h: Delete file.
2135         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2136         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2137         * bits/sysmacros.h: ... here; this encoding is now the generic
2138         encoding.  Now defines only the following macros:
2139         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2140         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2141         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2143         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2144         bits/sysmacros.h and the above new macros to generate the
2145         public implementations of major, minor, and makedev.
2146         * misc/tst-makedev.c: New test.
2147         * include/sys/sysmacros.h: New wrapper.
2149         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2150         (routines): Add makedev.
2151         (tests): Add tst-makedev.
2152         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2153         gnu_dev_makedev.
2154         * posix/Makefile (headers): Remove sys/sysmacros.h.
2155         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2157         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2158         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2159         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2160         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2161         * sysdeps/unix/sysv/linux/arm/libc.abilist
2162         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2163         * sysdeps/unix/sysv/linux/i386/libc.abilist
2164         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2165         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2166         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2167         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2168         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2169         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2170         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2171         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2172         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2177         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2178         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2179         * sysdeps/unix/sysv/linux/sh/libc.abilist
2180         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2181         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2184         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2185         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2186         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2187         Add GLIBC_2.25.
2189         * include/features.h (__glibc_clang_prereq): New macro.
2190         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2191         (__attribute_deprecated_msg__): New macros.
2193 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2195         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2196         macro.
2197         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2198         * manual/arith.texi (issignaling): Document as ISO from TS
2199         18661-1:2014.
2200         (nextup): Likewise.
2201         (nextupf): Likewise.
2202         (nextupl): Likewise.
2203         (nextdown): Likewise.
2204         (nextdownf): Likewise.
2205         (nextdownl): Likewise.
2206         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2207         macro.
2208         * math/math.h: Define
2209         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2210         <bits/libc-header-start.h> instead of including <features.h>.
2211         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2212         [__USE_GNU].
2213         * math/bits/mathcalls.h (nextdown): Declare if
2214         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2215         (nextup): Likewise.
2216         (__issignaling): Likewise.
2218 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2220         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2221         check, and remove __glibc_likely hint
2222         from FP_INFINITE check.
2223         * s_csinhf.c (__csinhf): Likewise.
2225         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2226         hint from FP_INFINITE check.
2227         * s_csinhl.c (__csinhl): Likewise.
2229 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2231         * math/Makefile (libm-calls): Insert F placeholder into
2232         object names.  Move w_lgamma_compat* routines into
2233         (libm-compat-calls): New variable.
2234         (libm-compat-calls-ldouble-yes): New variable.
2235         (calls): Insert F placeholder.
2236         (generated): Redefine using new type-foreach macro call.
2237         (routines): Likewise.
2239         (types): New variable to hold a list of symbolic names
2240         for each type supported by the target machine.
2241         (libm-routines): Redefine using new types variable.
2242         (type-foreach): macro to replace fooF with the
2243         appropriately suffixed foo for each types.
2245         (type-ldouble-suffix): New variable.
2246         (type-ldouble-routines): Likewise.
2247         (type-ldouble-yes): Likewise.
2248         (type-double-suffix): Likewise.
2249         (type-double-routines): Likewise.
2250         (type-float-suffix): Likewise.
2251         (type-float-routines): Likewise.
2253         (dbl-only-routines): Remove.
2254         (long-c-yes): Likewise.
2255         (long-m-routines): Likewise.
2256         (long-m-support): Likewise.
2257         (long-m-yes): Likewise.
2258         (test-longdouble-yes): Likewise.
2260         (test-float.o): Simplify by increasing the scope of the
2261         recipe which adds libm-test.stmp to the vector types.
2262         (test-ifloat.o): Likewise.
2263         (test-float-finite.o): Likewise.
2264         (test-double.o): Likewise
2265         (test-idouble.o): Likewise.
2266         (test-double-finite.o): Likewise.
2267         (test-ldouble.o): Likewise
2268         (test-ildoubl.o): Likewise.
2269         (test-ldouble-finite.o): Likewise.
2271         (libm-tests): Redefine type tests using foreach and the
2272         list of types in types.
2274         (CPPFLAGS-test-ildoubl.c): Rename to
2275         (CPPFLAGS-test-ildouble.c): New variable
2277         * math/test-ildoubl.c: Rename to
2278         * math/test-ildouble.c: New file.
2280 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2282         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2283         Use fabsl instead of fabs.
2284         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2285         Likewise.
2286         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2287         Add long double suffix to constant to ensure proper
2288         promotion to long double.
2290 2016-08-03  Tom Tromey  <tom@tromey.com>
2292         [BZ #20311]
2293         * nptl_db/Makefile (headers): Add proc_service.h.
2294         * nptl_db/proc_service.h: Add include guard.  Use
2295         __BEGIN/__END_DECLS.
2296         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2297         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2298         arguments.
2301 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2303         [BZ #17730]
2304         Avoid using memalign for TCB allocations.
2305         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2306         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2307         Avoid alignment gap in the TLS_DTV_AT_TP case.
2308         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2309         determine the pointer to free.
2310         * nptl/tst-tls3-malloc.c: New test.
2311         * nptl/Makefile (tests): Add it.
2312         (tst-tls3-malloc): Link with libdl, libpthread.
2313         (LDFLAGS-tst-tls3-malloc): Set.
2314         (tst-tls3-malloc.out): Depend on DSO used in test.
2316 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2318         [BZ #17730]
2319         Avoid using memalign for TLS allocations.
2320         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2321         is_static member with to_free member.
2322         (union dtv): Use struct dtv_pointer.
2323         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2324         dtv_pointer instead of is_static.
2325         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2326         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2327         instead of val.
2328         (allocate_dtv_entry): New function.
2329         (allocate_and_init): Return struct dtv_pointer.  Call
2330         allocate_dtv_entry instead of __libc_memalign.
2331         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2332         instead of val.
2333         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2334         instead of is_static.  Adjust call to allocate_and_init.
2335         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2336         struct dtv_pointer instead of val.
2338 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2340         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2341         (MALLOC_ALIGN_MASK): Move ...
2342         * malloc/malloc-internal.h: ... to here.
2343         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2345 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2347         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2348         (UDP_ENCAP_GTP1U): Likewise.
2350         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2351         (PF_MAX): Update value.
2352         (AF_QIPCRTR): New macro.
2354 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2356         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2357         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2358         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2359         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2360         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2361         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2362         s_truncf-vis3, s_trunc-vis3.
2363         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2364         (CFLAGS-s_ceil-vis3.c): Likewise.
2365         (CFLAGS-s_floorf-vis3.c): Likewise.
2366         (CFLAGS-s_floor-vis3.c): Likewise.
2367         (CFLAGS-s_truncf-vis3.c): Likewise.
2368         (CFLAGS-s_trunc-vis3.c): Likewise.
2369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2370         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2377         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2378         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2379         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2380         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2382 2016-08-02  David S. Miller  <davem@davemloft.net>
2384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2385         (__nearbyint_vis3): Don't check for sNaN before float register is
2386         loaded with the incoming argument.
2387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2388         (__nearbyintf_vis3): Likewise.
2389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2390         Likewise.
2391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2392         Likewise.
2394         * string/test-strncmp.c (do_test_limit): Make sure the test data
2395         stream is aligned as required for the type "CHAR".
2396         (do_test): Likewise.
2398 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2400         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2401         by beq instructions jumping to the end of the function.
2402         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2403         clobber list. Use "i" constraint instead of "X".
2404         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2405         of "X".
2407 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2409         * bits/libc-header-start.h: New file.
2410         * Makefile (headers): Add bits/libc-header-start.h.
2411         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2412         (__GLIBC_USE): New macro.
2413         * libio/stdio.h: Define
2414         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2415         <bits/libc-header-start.h> instead of including <features.h>.
2416         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2417         (open_memstream): Likewise.
2418         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2419         (__asprintf): Likewise.
2420         (asprintf): Likewise.
2421         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2422         (getdelim): Likewise.
2423         (getline): Likewise.
2424         * string/string.h: Define
2425         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2426         <bits/libc-header-start.h> instead of including <features.h>.
2427         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2428         (strndup): Likewise.
2429         * wcsmbs/wchar.h: Define
2430         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2431         <bits/libc-header-start.h> instead of including <features.h>.
2432         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2433         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2435 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2437         Support linking against compatibility symbols, for use in tests.
2438         * include/libc-symbols.h (symbol_version_reference): New macro.
2439         (symbol_version): Use it.
2440         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2441         (compat_symbol): Use compat_symbol_reference.
2442         (compat_symbol_1, compat_symbol_2): Remove.
2443         (compat_symbol_reference, compat_symbol_reference_1)
2444         (compat_symbol_reference_2): New macro.  Use
2445         symbol_version_reference.
2447 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2449         [BZ #19469]
2450         * malloc/Makefile (CPPFLAGS): Compile tests with
2451         -DTEST_NO_MALLOPT.
2452         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2454 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2456         [BZ #20033]
2457         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2458         finite version.
2459         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2460         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2461         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2462         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2463         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2464         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2465         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2466         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2467         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2468         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2469         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2470         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2471         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2472         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2473         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2474         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2475         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2476         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2477         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2478         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2479         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2480         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2481         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2482         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2483         in zero power.
2485 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2487         [BZ #20370]
2488         * malloc/arena.c (get_free_list): Update comment.  Assert that
2489         arenas on the free list have no attached threads.
2490         (remove_from_free_list): New function.
2491         (reused_arena): Call it.
2493 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2495         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2496         when it is a NaN.
2497         [_IEEE_FP_INEXACT] Remove.
2498         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2499         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2500         when it is a NaN.
2501         [_IEEE_FP_INEXACT] Remove.
2502         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2503         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2504         when it is a NaN.
2505         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2506         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2507         when its absolute value is greater than 0x1.0p52.
2508         [_IEEE_FP_INEXACT] Remove.
2509         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2510         when its absolute value is greater than 0x1.0p23.
2511         [_IEEE_FP_INEXACT] Remove.
2513 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2515         * version.h (RELEASE): Set to "development"
2516         (VERSION): Set to 2.24.90.
2517         * NEWS: Add 2.25 section.
2519         * version.h (RELEASE): Set to "stable"
2520         (VERSION): Set to 2.24.
2521         * include/features.h (__GLIBC_MINOR__): Set to 24.
2523         * NEWS: Add 2.24 fixed bugs.
2524         * po/libc.pot: Regenerate.
2526 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2529         [$(subdir) = math] (libm-sysdep_routines): Remove.
2530         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2531         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2532         s_truncf-vis3, s_trunc-vis3.
2533         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2535         file.
2536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2557         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2558         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2559         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2560         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2561         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2562         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2563         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2564         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2565         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2566         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2567         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2568         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2569         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2570         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2571         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2572         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2573         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2574         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2575         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2576         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2577         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2578         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2580 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2582         [BZ #20384]
2583         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2584         test-double-libmvec-sincos-avx-main.o,
2585         test-double-libmvec-sincos-avx2-main.o,
2586         test-double-libmvec-sincos-main.o,
2587         test-float-libmvec-sincosf-avx-main.o,
2588         test-float-libmvec-sincosf-avx2-main.o and
2589         test-float-libmvec-sincosf-main.o.
2590         test-float-libmvec-sincosf-avx512-main.o.
2591         ($(objpfx)test-double-libmvec-sincos): Also link with
2592         $(objpfx)test-double-libmvec-sincos-main.o.
2593         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2594         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2595         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2596         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2597         ($(objpfx)test-float-libmvec-sincosf): Also link with
2598         $(objpfx)test-float-libmvec-sincosf-main.o.
2599         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2600         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2601         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2602         test-double-libmvec-sincos-avx512-main.o and
2603         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2604         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2605         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2606         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2607         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2608         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2609         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2610         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2611         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2612         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2613         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2614         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2615         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2616         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2617         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2618         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2619         -DREQUIRE_AVX2.
2620         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2621         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2622         -DREQUIRE_AVX512F.
2623         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2624         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2625         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2626         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2627         file.
2628         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2629         Likewise.
2630         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2631         Likewise.
2632         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2633         Likewise.
2634         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2635         Likewise.
2636         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2637         Likewise.
2638         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2639         Likewise.
2640         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2641         Likewise.
2643 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2645         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2647 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2649         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2650         and typo in a comment about AT_HWCAP entry.
2652 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2654         * sysdeps/aarch64/libm-test-ulps: Updated.
2656 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2658         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2659         of r13 as it is not restored in mvcle case.
2661 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2663         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2664         Rename "ret" to "__ret".
2665         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2666         inline_syscall5, inline_syscall6): Likewise.
2668 2016-07-19   Will Newton  <will.newton@gmail.com>
2670         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2671         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2672         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2673         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2674         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2676 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2678         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2679         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2680         -mfpmath=387 with $(rtld-CFLAGS).
2681         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2682         $(rtld-CFLAGS).
2684 2016-07-18   Ross Burton  <ross.burton@intel.com>
2685              Khem Raj  <raj.khem@gmail.com>
2687         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2688         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2689         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2690         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2691         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2692         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2693         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2694         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2695         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2696         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2697         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2698         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2699         R_METAG_TLS_DTPOFF): New.
2701 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2702             Matt Clay  <mclay@lycos.com>
2704         [BZ #20357]
2705         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2706         to call __mpsin/__mpcos and to negate values.
2707         * math/auto-libm-test-in: Add test.
2708         * math/auto-libm-test-out: Regenerate.
2710 2016-07-18  Zack Weinberg  <zackw@panix.com>
2712         * grp/Makefile: Don't install the internal header grp-merge.h.
2714 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2716         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2718 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2720         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2722 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2724         [BZ #15368]
2725         * sysdeps/unix/sysv/linux/nptl-signals.h
2726         (__nptl_clear_internal_signals): New function.
2727         (__libc_signal_block_all): Likewise.
2728         (__libc_signal_block_app): Likewise.
2729         (__libc_signal_restore_set): Likewise.
2730         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2731         implementation.
2732         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2733         the cached pid/tid value in pthread structure.
2735 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2737         [BZ #20347]
2738         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2740 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2742         [BZ #20348]
2743         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2744         preadv64, pwrite64 and pwritev64.
2746 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2748         [BZ #20350]
2749         * posix/tst-preadwrite.c: Renamed to ...
2750         * posix/tst-preadwrite-common.c: This.
2751         (PREAD): Removed.
2752         (PWRITE): Likewise.
2753         (STRINGIFY): Likewise.
2754         (STRINGIFY2): Likewise.
2755         (do_prepare): Make it static and remove function arguments.
2756         (do_test): Likewise.
2757         (PREPARE): Updated.
2758         (TEST_FUNCTION): New.
2759         (name): Make it static.
2760         (fd): Likewise.
2761         (do_prepare): Use create_temp_file.
2762         (do_test): Renamed to ...
2763         (do_test_with_offset): This.  Make it static and accept offset.
2764         Properly check return value of PWRITE and PREAD.  Return bytes
2765         read.  Don't close fd nor unlink name.
2766         * posix/tst-preadwrite.c: Rewrite.
2767         * posix/tst-preadwrite64.c: Likewise.
2769 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2771         [BZ #20309]
2772         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2773         -mtls-dialect=gnu2 works.
2774         * configure: Regenerated.
2775         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2776         (tests): Add tst-gnu2-tls1.
2777         (modules-names): Add tst-gnu2-tls1mod.
2778         ($(objpfx)tst-gnu2-tls1): New.
2779         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2780         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2781         * elf/tst-gnu2-tls1.c: New file.
2782         * elf/tst-gnu2-tls1mod.c: Likewise.
2783         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2784         bytes for push in the PLT entry to align the stack.
2786 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2788         [BZ #20349]
2789         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2791 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2793         [BZ #18707]
2794         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2795         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2797 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2799         * sysdeps/unix/sysv/linux/sysdep.h
2800         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2801         guards.
2802         * misc/tst-preadvwritev-common.c: New file.
2803         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2804         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2805         a check for files larger than 2GB.
2807         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2808         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2809         * sysdeps/unix/sysv/linux/pread.c
2810         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2811         __OFF_T_MATCHES_OFF64_T.
2812         * sysdeps/unix/sysv/linux/pread64.c
2813         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2814         * sysdeps/unix/sysv/linux/preadv.c
2815         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2816         * sysdeps/unix/sysv/linux/preadv64.c
2817         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2818         * sysdeps/unix/sysv/linux/pwrite.c
2819         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2820         * sysdeps/unix/sysv/linux/pwrite64.c
2821         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2822         * sysdeps/unix/sysv/linux/pwritev.c
2823         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2824         * sysdeps/unix/sysv/linux/pwritev64.c
2825         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2827 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2829         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2830         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2832 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2834         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2836 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2838         [BZ #20240]
2839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2840         (CFLAGS-s_modf-ppc32.c): New variable.
2841         (CFLAGS-s_modff-ppc32.c): Likewise.
2842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2843         (CFLAGS-s_modf-ppc64.c): Likewise.
2844         (CFLAGS-s_modff-ppc64.c): Likewise.
2846 2016-07-07  Andreas Schwab  <schwab@suse.de>
2848         [BZ #20263]
2849         * nptl/tst-robust10.c: New test.
2850         * nptl/Makefile (tests): Add tst-robust10.
2852 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2854         [BZ #20263]
2855         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2857 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2859         * sysdeps/s390/linkmap.h (struct link_map_machine):
2860         Remove member gotplt and add member jmprel.
2861         * sysdeps/s390/s390-32/dl-machine.h
2862         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2863         instead of gotplt with &got[3].
2864         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2865         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2867 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2869         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2871 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2873         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2874         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2875         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2876         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2877         * libio/vtables.c (_IO_vtable_check)
2878         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2879         * libio/libioP.h (IO_set_accept_foreign_vtables)
2880         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2882 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2884         [BZ #20314]
2885         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2886         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2887         $(common-objpfx)cmath.
2888         ($(common-objpfx)cstdlib): New target.
2889         ($(common-objpfx)cmath): Likewise.
2891 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2893         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2895 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2897         [BZ #20327]
2898         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2899         are not part of the string.
2901 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2903         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2904         * nptl/tst-cancel4-common.h (fifoname): New variable.
2905         (fifofd): Likewise.
2906         (cl_fifo): New function.
2907         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2908         SIGINT.
2909         (tf_open): Add early cancel test.
2911 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2913         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2915 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2917         * sysdeps/generic/ldsodefs.h
2918         (dl_symbol_visibility_binds_local_p): New inline function.
2919         * elf/dl-addr.c (determine_info): Treat hidden and internal
2920         symbols as local.
2921         * elf/dl-lookup.c (do_lookup_x): Likewise.
2922         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2924 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2926         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2927         invalid exception for a sNaN input.
2928         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2929         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2930         (__nearbyint_vis3): Likewise
2931         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2932         (__nearbyintf_vis3): Likewise
2933         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2934         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2935         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2936         Likewise.
2937         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2938         Likewise.
2940 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2942         [BZ #20139]
2943         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2944         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2945         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2946         2.24 or above.
2947         (HAVE_AVX512_ASM_SUPPORT): Removed.
2948         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2949         * sysdeps/x86_64/configure: Regenerated.
2950         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2951         check unconditional.
2952         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2953         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2954         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2955         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2956         Likewise.
2957         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2958         Likewise.
2959         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2960         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2961         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2962         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2963         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2964         Likewise.
2965         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2966         Likewise.
2967         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2968         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2969         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2970         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2971         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2972         Likewise.
2973         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2974         Likewise.
2975         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2976         Likewise.
2977         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2978         Likewise.
2979         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2980         Likewise.
2981         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2982         Likewise.
2983         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2984         Likewise.
2985         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2986         Likewise.
2987         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2988         Likewise.
2989         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2990         Likewise.
2991         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2992         Likewise.
2994 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2996         [BZ #20024]
2997         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2998         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2999         of this implementation of vector function.
3000         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3001         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3002         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3003         Likewise.
3004         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3005         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3006         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3007         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3008         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3009         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3010         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3011         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3012         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3013         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3014         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3015         for testing vector sincos with fixed ABI.
3016         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3017         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3018         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3019         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3020         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3021         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3022         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3023         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3024         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3025         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3026         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3027         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3028         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3029         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3030         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3031         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3033 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3035         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3037 2016-06-30  Anton Blanchard  <anton@samba.org>
3039         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3040         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3041         s_sinf-ppc64.
3042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3045         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3047 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3051         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3052         e_expf-ppc64.
3053         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3054         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3055         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3056         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3058 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3060         [BZ #20277]
3061         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3062         when SHARED is defined.
3064 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3066         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3067         (index_arch_Prefer_ERMS): Likewise.
3068         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3069         __memcpy_erms for Prefer_ERMS.
3070         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3071         (__memmove_erms): Enabled for libc.a.
3072         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3073         __memmove_erms or Prefer_ERMS.
3074         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3075         __mempcpy_erms for Prefer_ERMS.
3076         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3077         __memset_erms for Prefer_ERMS.
3079 2016-06-30  Andreas Schwab  <schwab@suse.de>
3081         [BZ #20262]
3082         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3083         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3084         of memory.
3086 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3088         [BZ #18645]
3089         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3090         (test-extras): Add tst-cleanupx4aux.
3091         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3092         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3093         tst-cleanupx4aux.o.
3094         * nptl/tst-cleanupx4aux.c: New file.
3096 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3098         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3100 2016-06-29  Andreas Schwab  <schwab@suse.de>
3102         [BZ #20260]
3103         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3104         address before the beginning of the string as an integer to avoid
3105         array-bounds warning.
3107 2016-06-28  Richard Henderson  <rth@redhat.com>
3109         * elf/elf.h (EM_BPF): New.
3110         (EM_NUM): Update.
3111         (R_BPF_NONE, R_BPF_MAP_FD): New.
3113         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3114         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3115         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3116         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3117         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3118         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3119         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3120         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3121         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3122         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3123         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3124         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3125         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3126         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3127         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3128         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3129         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3130         (EM_NUM): Update.
3132 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3134         [BZ #18960]
3135         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3136         Set _nl_current_LC_CATEGORY_used to two instead of one.
3138 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3140         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3141         (do_test): ... this.
3142         (TEST_FUNCTION): New macro.
3143          Include test-skeleton.c.
3144         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3145         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3147 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3149         [BZ #15479]
3150         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3151         floating-point environment rather than just control word.
3152         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3153         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3154         floating-point environment, with "invalid" exceptions merged in,
3155         rather than just control word.
3156         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3157         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3158         "inexact" exceptions.
3160         [BZ #15479]
3161         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3162         floating-point environment rather than just control word.
3163         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3164         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3165         floating-point environment, with "invalid" exceptions merged in,
3166         rather than just control word.
3167         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3168         * math/libm-test.inc (floor_test_data): Do not allow spurious
3169         "inexact" exceptions.
3171         [BZ #15479]
3172         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3173         floating-point environment rather than just control word.
3174         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3175         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3176         floating-point environment, with "invalid" exceptions merged in,
3177         rather than just control word.
3178         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3179         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3180         "inexact" exceptions.
3182 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3184         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3185         __libc_vfork.
3186         (__vfork) [IS_IN (libc)]: Remove alias.
3187         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3188         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3189         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3191 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3193         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3194         of atomic_compare_and_exchange_bool_rel.
3195         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3196         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3197         catomic_compare_and_exchange_bool_rel): Remove.
3198         * sysdeps/aarch64/atomic-machine.h
3199         (atomic_compare_and_exchange_bool_rel): Likewise.
3200         * sysdeps/alpha/atomic-machine.h
3201         (atomic_compare_and_exchange_bool_rel): Likewise.
3202         * sysdeps/arm/atomic-machine.h
3203         (atomic_compare_and_exchange_bool_rel): Likewise.
3204         * sysdeps/mips/atomic-machine.h
3205         (atomic_compare_and_exchange_bool_rel): Likewise.
3206         * sysdeps/microblaze/atomic-machine.h
3207         ( __arch_compare_and_exchange_bool_8_rel,
3208         __arch_compare_and_exchange_bool_16_rel): Likewise.
3209         * sysdeps/powerpc/atomic-machine.h
3210         ( __arch_compare_and_exchange_bool_8_rel,
3211         __arch_compare_and_exchange_bool_16_rel): Likewise.
3212         * sysdeps/powerpc/powerpc32/atomic-machine.h
3213         ( __arch_compare_and_exchange_bool_32_rel,
3214         __arch_compare_and_exchange_bool_64_rel): Likewise.
3215         * sysdeps/powerpc/powerpc64/atomic-machine.h
3216         ( __arch_compare_and_exchange_bool_32_rel,
3217         __arch_compare_and_exchange_bool_64_rel): Likewise.
3218         * sysdeps/tile/atomic-machine.h
3219         (atomic_compare_and_exchange_bool_rel): Likewise.
3221 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3223         [BZ #20296]
3224         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3225         when either argument is a NaN.
3226         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3227         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3229         * math/libm-test.inc (snan_value_ld): New macro.
3230         (isgreater_test_data): Add sNaN tests.
3231         (isgreaterequal_test_data): Likewise.
3232         (isless_test_data): Likewise.
3233         (islessequal_test_data): Likewise.
3234         (islessgreater_test_data): Likewise.
3235         (isunordered_test_data): Likewise.
3236         (nextafter_test_data): Likewise.
3237         (nexttoward_test_data): Likewise.
3238         (remainder_test_data): Likewise.
3239         (remquo_test_data): Likewise.
3240         (significand_test_data): Likewise.
3241         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3243 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3245         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3246         environment macros are defined.
3247         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3249 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3251         [BZ #20191]
3252         Implement vtable verification in libio.
3253         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3254         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3255         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3256         _IO_new_file_init_internal instead of _IO_file_init.
3257         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3258         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3259         * libio/Makefile (routines): Add vtables.
3260         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3261         (_IO_init): Remove, not for internal use.
3262         (_IO_init_internal): Declare, internal replacement for _IO_init.
3263         (_IO_file_init): Remove, not for internal use.
3264         (_IO_new_file_init): Remove, not for internal use.
3265         (_IO_new_file_init_internal): Declare, internal replacement for
3266         _IO_new_file_init.
3267         (_IO_old_file_init): Remove, not for internal use.
3268         (_IO_old_file_init_internal): Declare, internal replacement for
3269         _IO_old_file_init.
3270         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3271         internal use.
3272         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3273         Declare.
3274         (libio_vtable): New macro.
3275         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3276         functions.
3277         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3278         _IO_new_file_init.
3279         (_IO_new_file_init): New externally visible wrapper which disables
3280         vtable verification.
3281         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3282         Define as vtables.
3283         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3284         (_IO_init): New externally visible wrapper which disables
3285         vtable verification.
3286         * libio/iofdopen.c (_IO_new_fdopen): Call
3287         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3288         comment.
3289         * libio/iofopen.c (__fopen_internal): Call
3290         _IO_new_file_init_internal instead of _IO_file_init.
3291         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3292         Define as vtables.
3293         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3294         _IO_new_file_init_internal instead of _IO_file_init.
3295         * libio/iopopen.c (_IO_new_popen): Likewise.
3296         (_IO_proc_jumps): Define as vtable.
3297         * libio/iovdprintf.c (_IO_vdprintf): Call
3298         _IO_new_file_init_internal instead of _IO_file_init.
3299         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3300         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3301         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3302         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3303         _IO_old_file_init.
3304         (_IO_old_file_init): New externally visible wrapper which disables
3305         vtable verification.
3306         (_IO_old_file_jumps): Define as vtable.
3307         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3308         _IO_old_file_init_internal instead of _IO_old_file_init.
3309         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3310         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3311         (_IO_old_proc_jumps): Define as vtable.
3312         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3313         Define as vtables.
3314         * libio/vtables.c: New file.
3315         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3316         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3317         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3318         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3319         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3320         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3321         instead of _IO_init.
3323 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3325         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3327 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3329         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3330         potentially unused.
3332 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3334         * test-skeleton.c (write_message): New function.
3335         * malloc/tst-mallocfork2.c (write_message): Remove.
3336         * debug/tst-longjmp_chk2.c (write_indented): New function.
3337         (write_message): Remove.
3338         (stackoverflow_handler): Call write_indented.
3340 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3342         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3343         "inexact" exceptions after fnstenv.
3344         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3345         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3346         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3348 2015-06-22  Zack Weinberg  <zackw@panix.com>
3350         * sysdeps/generic/bits/hwcap.h: Moved to ...
3351         * bits/hwcap.h: Here.
3353 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3355         * sysdeps/aarch64/memcpy.S (memcpy):
3356         Further tuning for performance.
3358 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3360         [BZ #20284]
3361         * malloc/arena.c (reused_arena): Do not return NULL if we start
3362         out with a non-corrupted arena.
3364 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3366         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3367         * misc/tst-preadvwritev.c: New file.
3368         * misc/tst-preadvwritev64.c: Likewise.
3369         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3370         usage.
3371         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3372         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3373         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3374         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3376 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3378         [BZ #19654]
3379         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3380         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3381         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3382         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3383         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3384         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3385         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3386         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3387         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3388         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3389         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3390         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3391         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3392         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3393         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3394         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3395         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3396         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3397         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3398         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3399         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3400         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3401         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3402         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3403         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3404         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3406 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3408         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3409         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3411 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3413         * sysdeps/aarch64/memcpy.S (memcpy):
3414         Rewrite of optimized memcpy and memmove.
3415         * sysdeps/aarch64/memmove.S (memmove): Remove
3416         memmove code (merged into memcpy.S).
3418 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3420         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3421         * sysdeps/generic/dl-dtv.h: New file.
3422         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3423         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3424         (dtv_t): Remove.
3425         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3426         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3427         (dtv_t): Remove.
3428         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3429         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3430         (dtv_t): Remove.
3431         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3432         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3433         (dtv_t): Remove.
3434         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3435         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3436         (dtv_t): Remove.
3437         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3438         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3439         (dtv_t): Remove.
3440         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3441         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3442         (dtv_t): Remove.
3443         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3444         (dtv_t): Remove.
3445         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3446         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3447         (dtv_t): Remove.
3448         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3449         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3450         (dtv_t): Remove.
3451         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3452         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3453         (dtv_t): Remove.
3454         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3455         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3456         (dtv_t): Remove.
3457         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3458         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3459         (dtv_t): Remove.
3460         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3461         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3462         (dtv_t): Remove.
3463         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3464         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3465         (dtv_t): Remove.
3466         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3467         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3468         (dtv_t): Remove.
3470 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3472         Revert symbol poisoning of  __malloc_initialize_hook.
3473         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3474         poisoning.
3475         * malloc/Makefile: Remove un-poisoning.
3476         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3477         instead of old__malloc_initialize_hook.
3478         * malloc/malloc-hooks.h: Likewise.
3479         * malloc/malloc.c: Likewise.
3480         * malloc/mcheck-init.c: Likewise.
3482 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3484         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3486 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3488         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3489         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3490         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3491         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3493 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3495         * NEWS: Mention addition of nextup and nextdown.
3496         * manual/arith.texi: Document nextup and nextdown.
3497         * manual/libm-err-tab.pl: Add nextup and nextdown.
3498         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3499         * math/Versions (libm): Add GLIBC_2.24.
3500         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3501         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3502         Add new test.
3503         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3504         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3505         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3506         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3507         (nextup_test_data): Likewise.
3508         (nextdown_test_data): Likewise.
3509         * math/s_nextdown.c: New file.
3510         * math/s_nextdownf.c: Likewise.
3511         * math/s_nextdownl.c: Likewise.
3512         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3513         F(nextup): New function.
3514         F(nextdown): Likewise.
3515         * math/tgmath.h: Add nextup and nextdown.
3516         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3517         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3518         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3519         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3520         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3521         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3522         Add nextup and nextdown.
3523         (CFLAGS-nldbl-nextup.c): New variable.
3524         (CFLAGS-nldbl-nextdown.c): Likewise.
3525         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3526         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3527         * sysdeps/nacl/libm.abilist: Update.
3528         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3529         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3530         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3531         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3532         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3533         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3534         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3535         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3536         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3537         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3538         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3539         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3542         Likewise.
3543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3545         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3546         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3547         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3548         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3549         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3552         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3553         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3554         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3555         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3557 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3559         * manual/pattern.texi: Fix typos & grammar errors.
3561 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3563         * manual/search.texi: Fix typos & grammar errors.
3565 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3567         * manual/message.texi: Fix typos & grammar errors.
3569 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3571         * manual/contrib.texi: Fix spelling typos.
3572         * manual/crypt.texi: Likewise.
3573         * manual/filesys.texi: Likewise.
3574         * manual/locale.texi: Likewise.
3575         * manual/message.texi: Likewise.
3576         * manual/nss.texi: Likewise.
3577         * manual/string.texi: Likewise.
3579 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3581         * manual/locale.texi: Fix typos & grammar errors.
3583 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3585         * manual/charset.texi: Fix typos & grammar errors.
3587 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3589         * manual/string.texi: Fix typos.
3591 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3593         * manual/ctype.texi: Fix typos.
3595 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3597         * manual/memory.texi: Fix various typos & grammar errors.
3599 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3601         [BZ #20255]
3602         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3603         * math/libm-test.inc (fdim_test_data): Add another test.
3605         [BZ #6796]
3606         [BZ #20255]
3607         [BZ #20256]
3608         * math/s_fdim.c: Include <math_private.h>.
3609         (__fdim): Use math_narrow_eval on result.
3610         * math/s_fdimf.c: Include <math_private.h>.
3611         (__fdimf): Use math_narrow_eval on result.
3612         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3613         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3614         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3615         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3616         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3617         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3618         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3619         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3620         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3621         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3622         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3623         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3624         overflow.  Add sNaN tests.
3626         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3627         fpclassify.
3628         * math/s_fdimf.c (__fdimf): Likewise.
3629         * math/s_fdiml.c (__fdiml): Likewise.
3631 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3633         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3634         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3636         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3637         ifunc'ed strcasecmp/strncasecmp.
3638         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3639         [EALIGN]: Removed.
3640         [END]: Likewise.
3641         [__strcasecmp]: Define instead of the above to control symbol name.
3642         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3643         for __strcasecmp_power8.
3644         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3645         for __strncasecmp_power8.
3646         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3647         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3648         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3649         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3650         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3651         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3653 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3655         [BZ #20252]
3656         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3657         arguments when second argument is a NaN.
3658         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3659         qNaN tests.
3661         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3662         (conj_test_data): Likewise.
3663         (copysign_test_data): Likewise.
3664         (creal_test_data): Likewise.
3665         (fma_test_data): Likewise.
3666         (fmod_test_data): Likewise.
3668         [BZ #20250]
3669         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3670         itself.
3671         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3672         zero input to itself.
3673         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3674         Likewise.
3675         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3676         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3677         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3678         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3679         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3681 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3683         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3684         * nptl/tst-cancel4-common.c: New file.
3685         * nptl/tst-cancel4-common.h: Likewise.
3686         * nptl/tst-cancel4.c: Move common definitions to
3687         tst-cancel4-common.{c,h} file.
3688         * nptl/tst-cancel4_1.c: New test.
3689         * nptl/tst-cancel4_2.c: New test.
3691 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3693         [BZ #20248]
3694         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3695         (write_message): New function.
3696         (stackoverflow_handler): Call it instead of printf, to avoid
3697         excessive stack usage by printf.
3698         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3700 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3702         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3703         (prio_inherit_missing): Remove define.
3704         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3705         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3706         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3707         Likewise.
3708         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3709         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3710         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3711         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3712         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3713         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3715 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3717         [BZ #19670]
3718         [BZ #19672]
3720         * io/test-lfs.c (do_prepare): Use xmalloc.
3721         * io/tst-fcntl.c (do_prepare): Likewise.
3722         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3723         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3724         * login/tst-utmp.c (do_prepare): Likewise.
3725         * posix/tst-exec.c (do_prepare): Likewise.
3726         * posix/tst-pathconf.c (prepare): Likewise.
3727         * posix/tst-spawn.c (do_prepare): Likewise.
3728         * posix/tst-truncate.c (do_prepare): Likewise.
3729         * rt/tst-aio.c (do_prepare): Likewise.
3730         * rt/tst-aio64.c (do_prepare): Likewise.
3732 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3734         [BZ #20237]
3735         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3736         (get*ent): Set entidx to NULL during initialization.  If entidx is
3737         NULL, start iteration from the beginning.
3739 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3741         * malloc/malloc.c (musable): Return correct size for dumped fake
3742         mmapped chunk.
3744 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3746         [BZ #20222]
3747         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3748         (_IO_cookie_write): Likewise.
3749         (_IO_cookie_seek): Likewise.
3750         (_IO_cookie_close): Likewise.
3751         (_IO_old_cookie_seek): Likewise.
3752         (set_callbacks): New function.
3753         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3755 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3757         * locale/programs/localedef.c (oldstyle_tables): Remove.
3758         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3760 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3762         [BZ #20240]
3763         * math/Makefile (CFLAGS-s_modf.c): New variable.
3764         (CFLAGS-s_modff.c): Likewise.
3765         (CFLAGS-s_modfl.c): Likewise.
3766         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3768 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3770         [BZ #20215]
3771         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3772         [!__GNUC_PREREQ (3,2)]: Likewise.
3774 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3776         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3777         (msghdr.msg_controllen): Likewise.
3778         (cmsghdr.cmsg_len): Likewise.
3779         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3780         ptw-oldsendmsg.
3781         (CFLAGS-oldrecvmsg.c): Remove rule.
3782         (CFLAGS-oldsendmsg.c): Likewise.
3783         (CFLAGS-recvmsg.c): Add rule.
3784         (CFLAGS-sendmsg.c): Likewise.
3785         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3786         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3787         (CFLAGS-recvmsg.c): Remove rule.
3788         (CFLAGS-sendmsg.c): Likewise.
3789         (CFLAGS-oldrecvmsg.c): Likewise.
3790         (CFLAGS-oldsendmsg.c): Likewise.
3791         (CFLAGS-recvmmsg.c): Likewise.
3792         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3793         to kernel defined interfaces.
3794         (msghdr.msg_controllen): Likewise.
3795         (cmsghdr.cmsg_len): Likewise.
3796         (msghdr.__glibc_reserved1): Remove member.
3797         (msghdr.__glibc_reserved2): Likewise.
3798         (cmsghdr.__glibc_reserved1): Likewise.
3799         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3800         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3801         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3802         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3803         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3804         version.
3805         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3806         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3807         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3808         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3809         Remove recvmsg and sendmsg.
3810         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3811         Likewise.
3812         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3813         Likewise.
3814         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3815         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3816         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3817         Likewise.
3818         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3819         Likewise.
3820         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3821         [libc] (GLIBC_2.24): Likewise.
3822         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3823         Likewise.
3824         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3825         Likewise.
3826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3827         [libc] (GLIBC_2.24): Likewise.
3828         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3829         Likewise.
3830         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3831         Likewise.
3832         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3833         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3834         Likewise.
3835         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3836         Likewise.
3837         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3838         Likewise.
3839         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3840         Likewise.
3841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3842         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3843         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3844         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3845         version for {recv,send,recm,sendm}msg.
3846         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3847         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3848         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3849         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3850         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3851         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3852         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3853         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3854         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3855         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3856         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3857         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3859         Likewise.
3860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3861         Likewise.
3862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3864         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3865         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3866         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3867         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3868         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3869         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3872         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3873         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3874         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3876 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3878         [BZ #19564]
3879         Remove __malloc_initialize_hook from the API.
3880         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3881         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3882         #pragma GCC poison.
3883         * malloc/malloc-hooks.h: New file.
3884         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3885         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3886         (old__malloc_initialize_hook): Rename from
3887         __malloc_initialize_hook to evade poisoning.  Turn into compat
3888         symbol.
3889         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3890         __malloc_initialize_hook.
3891         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3892         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3893         * manual/memory.texi (Hooks for Malloc): Remove
3894         __malloc_initialize_hook.  Adjust hook example.
3896 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3898         [BZ #20235]
3899         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3900         itself.
3901         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3902         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3904         [BZ #20234]
3905         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3906         infinity or NaN input to itself.
3908         [BZ #20233]
3909         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3910         to itself.
3912         [BZ #20232]
3913         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3914         itself.
3916 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3918         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3919         __libc_start_main via GOT.
3921 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3923         * sysdeps/x86_64/memcopy.h: New file.
3924         * sysdeps/x86_64/wordcopy.c: Likewise.
3926 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3928         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3929         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3930         <cstdlib>.
3931         (optimization_barrier): New.
3932         (do_test): Use it.  Call quick_exit in the global namespace.
3933         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3934         instead of <cstdlib>, <thread>.
3935         (optimization_barrier): New.
3936         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3937         Call quick_exit in the global namespace.
3938         (do_test): Call optimization_barrier.  Use pthread_create,
3939         pthread_join instead of std::thread.
3941 2016-06-09  Andreas Schwab  <schwab@suse.de>
3943         [BZ #19755]
3944         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3945         new entries in auto-propagate mode.
3946         * nscd/grpcache.c (cache_addgr): Likewise.
3948 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3950         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3951         New functions.
3952         (add_temp_file): Use them.
3954 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3956         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3958 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3960         [BZ #20229]
3961         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3962         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3963         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3965         [BZ #20228]
3966         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3967         itself.
3968         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3969         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3971         [BZ #20227]
3972         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3973         itself.
3974         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3975         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3976         * math/libm-test.inc (log_test_data): Add sNaN tests.
3978         [BZ #20226]
3979         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3980         itself.
3981         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3982         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3983         (exp10_test_data): Likewise.
3984         (expm1_test_data): Likewise.
3986         [BZ #20225]
3987         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3988         itself.
3989         * math/s_ldexpf.c (__ldexpf): Likewise.
3990         * math/s_ldexpl.c (__ldexpl): Likewise.
3991         * math/w_scalbln.c (__w_scalbln): Likewise.
3992         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3993         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3994         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3995         (scalbln_test_data): Likewise.
3997         [BZ #20224]
3998         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3999         argument to itself.
4000         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4002 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4004         [BZ #19776]
4005         * sysdeps/x86_64/memcpy.S: Make it dummy.
4006         * sysdeps/x86_64/mempcpy.S: Likewise.
4007         * sysdeps/x86_64/memmove.S: New file.
4008         * sysdeps/x86_64/memmove_chk.S: Likewise.
4009         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4010         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4011         * sysdeps/x86_64/memmove.c: Removed.
4012         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4013         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4014         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4015         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4016         Likewise.
4017         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4018         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4020         memcpy-sse2-unaligned, memmove-avx-unaligned,
4021         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4023         (__libc_ifunc_impl_list): Replace
4024         __memmove_chk_avx512_unaligned_2 with
4025         __memmove_chk_avx512_unaligned.  Remove
4026         __memmove_chk_avx_unaligned_2.  Replace
4027         __memmove_chk_sse2_unaligned_2 with
4028         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4029         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4030         with __memmove_avx512_unaligned.  Replace
4031         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4032         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4033         with __memcpy_chk_avx512_unaligned.  Remove
4034         __memcpy_chk_avx_unaligned_2.  Replace
4035         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4036         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4037         Replace __memcpy_avx512_unaligned_2 with
4038         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4039         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4040         with __mempcpy_chk_avx512_unaligned.  Remove
4041         __mempcpy_chk_avx_unaligned_2.  Replace
4042         __mempcpy_chk_sse2_unaligned_2 with
4043         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4044         Replace __mempcpy_avx512_unaligned_2 with
4045         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4046         Replace __mempcpy_sse2_unaligned_2 with
4047         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4048         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4049         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4050         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4051         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4052         (ENTRY): Removed.
4053         (END): Likewise.
4054         (ENTRY_CHK): Likewise.
4055         (libc_hidden_builtin_def): Likewise.
4056         Don't include ../memcpy.S.
4057         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4058         __memcpy_chk_avx512_unaligned_erms and
4059         __memcpy_chk_avx512_unaligned.  Use
4060         __memcpy_chk_avx_unaligned_erms and
4061         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4062         Default to __memcpy_chk_sse2_unaligned.
4063         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4064         Change function suffix from unaligned_2 to unaligned.
4065         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4066         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4067         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4068         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4069         (ENTRY): Removed.
4070         (END): Likewise.
4071         (ENTRY_CHK): Likewise.
4072         (libc_hidden_builtin_def): Likewise.
4073         Don't include ../mempcpy.S.
4074         (mempcpy): New.  Add a weak alias.
4075         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4076         __mempcpy_chk_avx512_unaligned_erms and
4077         __mempcpy_chk_avx512_unaligned.  Use
4078         __mempcpy_chk_avx_unaligned_erms and
4079         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4080         Default to __mempcpy_chk_sse2_unaligned.
4082 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4084         [BZ #19881]
4085         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4086         into ...
4087         * sysdeps/x86_64/memset.S: This.
4088         (__bzero): Removed.
4089         (__memset_tail): Likewise.
4090         (__memset_chk): Likewise.
4091         (memset): Likewise.
4092         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4093         defined.
4094         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4095         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4096         (__memset_zero_constant_len_parameter): Check SHARED instead of
4097         PIC.
4098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4099         memset-avx2 and memset-sse2-unaligned-erms.
4100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4101         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4102         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4103         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4104         (__bzero): Enabled.
4105         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4106         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4107         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4108         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4109         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4110         (memset): Removed.
4111         (__memset_chk): Likewise.
4112         (MEMSET_SYMBOL): New.
4113         (libc_hidden_builtin_def): Replace __memset_sse2 with
4114         __memset_sse2_unaligned.
4115         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4116         __memset_chk_sse2 and __memset_chk_avx2 with
4117         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4118         Use __memset_chk_sse2_unaligned_erms or
4119         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4120         __memset_chk_avx512_unaligned_erms and
4121         __memset_chk_avx512_unaligned.
4123 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4125         * math/gen-auto-libm-test.c (fp_format_desc): remove
4126         suffix member.
4127         (output_generic_value): Remove usage of suffix member,
4128         and the resulting unuse of the fp_format argument.
4129         (output_for_one_input_case): Remove unused fp_format
4130         parameter.
4132         * math/auto-libm-test-out: Regenerate.
4134         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4135         usage with TEST_COND_ibm128.
4136         (TEST_COND_flt_32): Remove.
4137         (TEST_COND_dbl_64): Remove.
4138         (TEST_COND_ldbl_96_intel): Remove.
4139         (TEST_COND_ldbl_96_m68k): Remove.
4140         (TEST_COND_ldbl_128): Remove.
4142 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4144         * auto-libm-test-in:
4145         Replace flt-32 usage with binary32.
4146         Replace dbl-64 usage with binary64.
4147         Replace ldbl-intel-96 usage with intel96.
4148         Replace ldbl-m68k-96 usage with m68k96.
4149         Replace ldbl-128ibm usage with ibm128.
4150         Replace ldbl-128 usage with binary128.
4152         * auto-libm-test-out: Regenerate.
4154 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4156         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4157         (parse_ulps): Dynamically generate type name matching
4158         string from all_floats.
4159         (get_ulps): Generate the ulps as an array instead.
4160         (output_ulps): Dynamically compose the type based
4161         on the number of supported formats, and print
4162         the indices as type specific helper macros.
4164         * math/libm-test.inc: Remove comment about CHOOSE.
4165         (ulp_data): Generate the type in libm-test-ulps.h.
4166         (ULP_IDX): New macro.
4167         (find_ulps): Update usage of max_ulp.
4169         * math/test-double-vlen2.h (CHOOSE): Remove.
4170         * math/test-double-vlen4.h (CHOOSE): Likewise.
4171         * math/test-double-vlen8.h (CHOOSE): Likewise.
4172         * math/test-float.c (CHOOSE): Likewise.
4173         * math/test-float-finite.c (CHOOSE): Likewise.
4174         * math/test-double.c (CHOOSE): Likewise.
4175         * math/test-double-finite.c (CHOOSE): Likewise.
4176         * math/test-idouble.c (CHOOSE): Likewise.
4177         * math/test-ifloat.c (CHOOSE): Likewise.
4178         * math/test-ildoubl.c (CHOOSE): Likewise.
4179         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4180         * math/test-ldouble.c (CHOOSE): Likewise.
4182         * math/test-float.h (TEST_FLOAT): Remove.
4183         * math/test-double.h (TEST_DOUBLE): Likewise.
4184         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4186 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4188         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4189         (parse_args): Strip C suffix from floating point literals
4190         typed with 'f' and wrap them with LIT().
4192         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4193         (test_ff_f_data_nexttoward): Rename to
4194         (test_fj_f_data): New struct.
4195         (nexttoward_test_data): Relabel tests as
4196         TEST_fj_f instead of TEST_ff_f.
4198 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4200         Emacs bug 23726.
4201         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4202         (__libc_realloc): Correct size computation for dumped fake mmapped
4203         chunks.
4205 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4207         [BZ #20219]
4208         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4209         to itself.
4210         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4212         [BZ #20218]
4213         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4214         to itself.
4215         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4217 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4219         [BZ #20195]
4220         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4221         check to ...
4222         (init_cpu_features): Here.
4224 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4226         [BZ #20214]
4227         * sysdeps/unix/sysv/linux/bits/in.h
4228         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4229          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4230         Define to 1.
4231         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4232          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4233         Define to 0.
4234         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4235         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4237 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4239         [BZ #20198]
4240         * stdlib/Makefile (tests): Add tst-quick_exit, and
4241         tst-thread-quick_exit.
4242         [ifeq ($(have-cxx-thread_local),yes)]
4243         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4244         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4245         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4246         (LDLIBS-tst-thread-quick_exit): Likewise.
4247         [ifneq ($(have-cxx-thread_local),yes)]
4248         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4249         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4250         If run_dtors is true call __call_tls_dtors.
4251         (exit): Call __run_exit_handlers with run_dtors set to true.
4252         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4253         definition.
4254         * stdlib/quick_exit.c (quick_exit): Remove function.
4255         (__new_quick_exit): New function.
4256         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4257         function.
4258         * stdlib/tst-quick_exit.cc: New file.
4259         * stdlib/tst-thread-quick_exit.cc: New file.
4260         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4261         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4262         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4263         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4264         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4265         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4266         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4267         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4268         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4269         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4270         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4271         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4272         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4273         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4274         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4275         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4280         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4281         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4282         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4283         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4284         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4287         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4288         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4289         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4291 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4293         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4294         a typo in comments.
4296 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4298         [BZ #20213]
4299         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4300         argument to itself.
4301         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4303 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4305         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4306         required flags.
4307         (CFLAGS-pwritev64.c): Likewise.
4308         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4309         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4310         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4311         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4312         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4313         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4314         syscall from auto-generation.
4315         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4316         [WORDSIZE == 64] (pwritev64): Remove macro.
4317         [!PWRITEV] (PWRITEV): Likewise.
4318         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4319         [!PWRITEV] (PWRITE): Likewise.
4320         [!PWRITEV] (OFF_T): Likewise.
4321         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4322         (LO_HI_LONG): Remove macro.
4323         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4324         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4325         (PWRITEV): Remove macro.
4326         (PWRITEV_REPLACEMENTE): Likewise.
4327         (PWRITE): Likewise.
4328         (OFF_T): Likewise.
4329         (pwritev64): New function.
4330         * nptl/tst-cancel4.c (tf_writev): Add test.
4332         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4333         required flags.
4334         (CFLAGS-preadv64.c): Likewise.
4335         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4336         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4337         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4338         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4339         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4340         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4341         syscall from auto-generation.
4342         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4343         [WORDSIZE == 64] (preadv64): Remove macro.
4344         [!PREADV] (PREADV): Likewise.
4345         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4346         [!PREADV] (PREAD): Likewise.
4347         [!PREADV] (OFF_T): Likewise.
4348         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4349         (LO_HI_LONG): Remove macro.
4350         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4351         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4352         (PREADV): Remove macro.
4353         (PREADV_REPLACEMENTE): Likewise.
4354         (PREAD): Likewise.
4355         (OFF_T): Likewise.
4356         (preadv64): New function.
4357         * nptl/tst-cancel4.c (tf_preadv): Add test.
4359 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4361         [BZ #20212]
4362         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4363         argument to itself.
4364         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4366 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4368         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4369         New symbol defined as libc_hidden_def.
4370         (strcasestr): Became a weak alias to __strcasestr.
4371         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4372         according to multi-arch support.  Move __stpncpy hidden
4373         definition from here to...
4374         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4375         symbol stpncpy.
4376         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4377         libc_hidden_builtin_def.
4378         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4379         memset symbol to use when multi-arch support is available.
4381 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4383         * dlfcn/tst-rec-dlopen.c: Include string.h.
4385 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4387         * manual/install.texi: Remove mention of --without-tls
4388         * INSTALL: Regenerate.
4390 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4392         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4393         Remove.
4394         (call_function, interposed_malloc_called): New variables.
4395         (malloc): New function.
4396         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4397         and clear call_function as needed.
4399 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4401         * include/wchar.h (__wmemset): Use __typeof.
4403 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4405         * include/wchar.h (__wmemset): Declare function without typeof.
4407 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4409         [BZ #20205]
4410         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4411         exponent when incrementing negative subnormal with low mantissa
4412         word zero.
4413         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4414         Add another test.
4416 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4418         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4419         __wmemset instead of wmemset.
4421 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4423         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4424         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4425         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4426         __USE_KERNEL_IPV6_DEFS to 0.
4427         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4428         Update comment.
4430 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4432         [BZ #19861]
4433         Do not use IFUNC resolver with potentially unrelocated symbol.
4434         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4435         (DEFINE_FORK): Remove macro and inline definition.
4436         (fork_alias): Renamed from fork_ifunc.
4437         (__fork_alias): Renamed from __fork_ifunc.
4439 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4441         [BZ 19653]
4442         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4443         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4445 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4447         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4448         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4449         i386-linux-gnu).
4450         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4451         Set to no.
4452         * sysdeps/mach/hurd/configure: Refresh.
4454 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4456         [BZ #20178]
4457         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4458         on failure instead of exit.
4460 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4462         [BZ #3629]
4463         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4464         of POSIX.1-2008.
4466 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4468         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4469           Use PLT entry for calling _hurd_self_sigstate.
4471 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4473         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4474         available logical processors with SMT level type sharing L2
4475         cache for Intel processors.
4477 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4479         [BZ #20160]
4480         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4481         argument to itself before returning the result.
4482         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4483         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4484         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4485         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4486         Likewise.
4487         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4488         Likewise.
4489         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4490         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4491         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4492         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4493         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4494         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4496         [BZ #20160]
4497         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4498         argument to itself before returning the result.
4499         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4500         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4501         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4502         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4503         Likewise.
4504         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4505         Likewise.
4506         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4507         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4508         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4509         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4510         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4511         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4513 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4515         * libm-test.inc: Replace usage of M_El with
4516         (lit_e): New macro.
4518 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4520         * libm-test.inc: Replace usage of M_PI_4l with
4521         (lit_pi_4_d): New macro.
4523 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4525         * libm-test.inc: Replace usage of M_PIl with
4526         (lit_pi): New macro.
4528 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4530         * libm-test.inc: Replace usage of M_PI2l with
4531         (lit_pi_2_d): New macro.
4533         * math/test-double.h (LITM): New macro.
4534         * math/test-float.h (LITM): Likewise.
4535         * math/test-ldouble.h (LITM): Likewise.
4537 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4539         * libm-test.inc (M_PI_34l): Rename to
4540         (lit_pi_3_m_4_d): New Macro.
4541         (M_PI_34_LOG10El): Rename to
4542         (lit_pi_3_m_4_ln10_m_d): New Macro.
4543         (M_PI2_LOG10El): Rename to
4544         (lit_pi_2_ln10_m_d):  New Macro.
4545         (M_PI4_LOG10El): Rename to
4546         (lit_pi_4_ln10_m_d):  New Macro.
4547         (M_PI_LOG10El): Rename to
4548         (lit_pi_ln10_d):  New Macro.
4550 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4552         [BZ #20157]
4553         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4554         determine whether to negate low half if [_ARCH_PPCGR], and integer
4555         comparison otherwise.
4556         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4557         determine whether to negate low half.
4559         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4560         (NO_TEST_INLINE_DOUBLE): Likewise.
4561         (TEST_COND_x86_64): Likewise.
4562         (TEST_COND_x86): Likewise.
4563         (M_PI_6l): Likewise.
4565 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4567         * math/libm-test.inc:
4568         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4569         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4570         (TEST_LDOUBLE): Update usage to evaluate as true if
4571         the guarded tests match the property being tested.
4572         (LDBL_MAX_EXP): Change to MAX_EXP.
4573         (LDBL_MIN_EXP): Change to MIN_EXP.
4574         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4575         nexttoward tests.
4577 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4579         * math/libm-test.inc:
4580         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4581         (TYPE_MIN): Likewise.
4582         (TYPE_TRUE_MIN): Likewise.
4583         (TYPE_MAX): Likewise.
4584         (MIN_EXP): Likewise.
4585         (MAX_EXP): Likewise.
4586         (MANT_DIG): Likewise.
4588         (FSTR_MAX): New macro.
4589         (__CONCATX): Likewise.
4590         (QTYPE_STR): Likewise.
4591         (TEST_COND_binary32): Likewise.
4592         (TEST_COND_binary64): Likewise.
4593         (TEST_COND_binary128): Likewise.
4594         (TEST_COND_ibm128): Likewise.
4595         (TEST_COND_intel96): Likewise.
4596         (TEST_COND_m68k96): Likewise.
4598         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4599         (TEST_COND_dbl_64): Likewise.
4600         (TEST_COND_ldbl_96_intel): Likewise.
4601         (TEST_COND_ldbl_96_m68k): Likewise.
4602         (TEST_COND_ldbl_128): Likewise.
4603         (TEST_COND_ldbl_128ibm): Likewise.
4605         (plus_zero): Redefine using LIT macro.
4606         (minus_zero): Likewise.
4607         (plus_infty): Redefine as (INF).
4608         (minux_infty): Redefine as (-INF).
4609         (max_value): Redefine as TYPE_MAX.
4610         (min_value): Redefine as TYPE_MIN.
4611         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4613         (print_float): Refactor to use snprintf to convert FLOAT values
4614         to string. This brings it closer to dropin replacement of strtof
4615         for the TS 18661 defined types.
4616         (update_stats): Likewise.
4617         (print_complex_function_ulps): Likewise.
4618         (print_max_error): Likewise.
4619         (print_complex_max_error): Likewise.
4620         (check_float_internal): Likewise.
4622         * math/test-float.h (PREFIX): New macro.
4623         (LIT): Likewise.
4624         (TYPE_STR): Likewise.
4625         (FTOSTR): Likewise.
4627         * math/test-double.h (PREFIX): New macro.
4628         (LIT): Likewise.
4629         (TYPE_STR): Likewise.
4630         (FTOSTR): Likewise.
4632         * math/test-ldouble.h (PREFIX): New macro.
4633         (LIT): Likewise.
4634         (TYPE_STR): Likewise.
4635         (FTOSTR): Likewise.
4637 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4639         [BZ #20156]
4640         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4641         to itself when zero or not finite.
4642         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4643         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4644         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4645         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4647 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4649         [BZ #20153]
4650         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4651         x * x + x for infinities and NaNs.
4653         [BZ #20151]
4654         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4655         argument to itself before returning result.
4656         (__ieee754_y0l): Likewise.
4657         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4658         (__ieee754_y1l).
4660         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4661         (atan_test_data): Likewise.
4662         (ceil_test_data): Likewise.
4663         (cos_test_data): Likewise.
4664         (cosh_test_data): Likewise.
4665         (erf_test_data): Likewise.
4666         (exp2_test_data): Likewise.
4667         (fabs_test_data): Likewise.
4668         (floor_test_data): Likewise.
4669         (ilogb_test_data): Likewise.
4670         (j0_test_data): Likewise.
4671         (j1_test_data): Likewise.
4672         (jn_test_data): Likewise.
4673         (lgamma_test_data): Likewise.
4674         (lrint_test_data): Likewise.
4675         (llrint_test_data): Likewise.
4676         (logb_test_data): Likewise.
4677         (lround_test_data): Likewise.
4678         (llround_test_data): Likewise.
4679         (nearbyint_test_data): Likewise.
4680         (rint_test_data): Likewise.
4681         (round_test_data): Likewise.
4682         (sin_test_data): Likewise.
4683         (sincos_test_data): Likewise.
4684         (sinh_test_data): Likewise.
4685         (sqrt_test_data): Likewise.
4686         (tan_test_data): Likewise.
4687         (tanh_test_data): Likewise.
4688         (tgamma_test_data): Likewise.
4689         (trunc_test_data): Likewise.
4690         (y0_test_data): Likewise.
4691         (y1_test_data): Likewise.
4692         (yn_test_data): Likewise.
4694         * math/libm-test.inc: Update comment about NaN testing.
4695         (TEST_SNAN): New macro.
4696         (snan_value): Likewise.
4697         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4698         (fpclassify_test_data): Add sNaN tests.
4699         (isfinite_test_data): Likewise.
4700         (isinf_test_data): Likewise.
4701         (isnan_test_data): Likewise.
4702         (isnormal_test_data): Likewise.
4703         (issignaling_test_data): Likewise.
4704         (signbit_test_data): Likewise.
4705         * math/gen-libm-test.pl (%beautify): Add snan_value.
4706         (show_exceptions): Add argument $test_snan.
4707         (parse_args): Handle snan_value as non-finite.  Update call to
4708         show_exceptions.
4709         * math/Makefile (libm-test-no-inline-cflags): Add
4710         -fsignaling-nans.
4712 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4714         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4715         (CFLAGS-oldsendmsg.c): Add rule.
4716         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4717         Correct recvmsg symbol name.
4718         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4719         Likewise.
4721 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4723         * sysdeps/unix/sysv/linux/Makefile
4724         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4725         oldsendmmsg.
4726         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4727         sendmmsg.
4728         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4729         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4730         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4731         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4733         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4734         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4736         Likewise.
4737         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4738         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4739         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4740         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4741         iovlen and controllen fields to adjust to POSIX specification.
4742         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4744         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4745         and change to correct expected type.
4746         (msghdr.msg_controllen): Likewise.
4747         (cmsghdr.cmsg_len): Likewise.
4748         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4749         expected POSIX assumption about the size.
4750         (msghdr.msg_controllen): Likewise.
4751         (msghdr.__glibc_reserved1): Likewise.
4752         (msghdr.__glibc_reserved2): Likewise.
4753         (cmsghdr.cmsg_len): Likewise.
4754         (cmsghdr.__glibc_reserved1): Likewise.
4755         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4756         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4757         (CFLAGS-sendmsg.c): Remove rule.
4758         (CFLAGS-recvmsg.c): Likewise.
4759         (CFLAGS-oldsendmsg.c): Add rule.
4760         (CFLAGS-oldrecvmsg.c): Likewise.
4761         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4762         recvmsg and sendmsg.
4763         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4764         Likewise.
4765         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4766         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4767         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4768         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4769         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4770         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4771         Likewise.
4772         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4773         Likewise.
4774         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4775         Likewise.
4776         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4777         Likewise.
4778         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4779         Likewise.
4780         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4781         Likewise.
4782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4783         (GLIBC_2.24): Likewise.
4784         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4785         Likewise.
4786         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4787         Likewise.
4788         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4789         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4790         Likewise.
4791         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4792         Likewise.
4793         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4794         Likewise.
4795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4796         (GLIBC_2.24): Likewise.
4797         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4798         Likewise.
4799         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4800         Likewise.
4801         * sysdeps/unix/sysv/linux/Makefile
4802         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4803         (CFLAGS-sendmsg.c): Add rule.
4804         (CFLAGS-recvmsg.c): Likewise.
4805         (CFLAGS-oldsendmsg.c): Likewise.
4806         (CFLAGS-oldrecvmsg.c): Likewise.
4807         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4808         initialization.
4809         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4810         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4811         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4812         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4813         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4814         iovlen and controllen fields to adjust to POSIX specification.
4815         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4816         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4817         added recvmsg and sendmsg.
4818         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4819         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4823         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4824         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4825         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4826         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4827         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4828         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4829         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4831         Likewise.
4832         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4834         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4835         Likewise.
4836         Likewise.
4837         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4838         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4839         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4842         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4844         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4846         Likewise.
4847         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4848         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4850         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4851         from auto-generation.
4852         (sendmsg): Likewise.
4853         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4854         (sendmsg): Likewise.
4855         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4856         (sendmsg): Likewise.
4857         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4858         (sendmsg): Likewise.
4859         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4860         (sendmsg): Likewise.
4861         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4862         (sendmsg): Likewise.
4863         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4864         Likewise.
4865         (sendmsg): Likewise.
4866         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4867         (sendmsg): Likewise.
4868         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4869         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4870         Remove.
4871         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4872         Likewise.
4873         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4874         Undefine.
4875         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4876         Likewise.
4877         * sysdeps/unix/sysv/linux/kernel-features.h
4878         (__ASSUME_SENDMSG_SYSCALL): Define.
4879         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4880         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4881         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4882         Remove.
4883         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4884         Likewise.
4885         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4886         Undefine.
4887         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4888         Likewise.
4889         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4890         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4891         Remove.
4892         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4893         Likewise.
4894         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4895         Undefine.
4896         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4897         Likewise.
4898         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4899         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4900         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4901         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4902         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4903         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4904         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4905         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4906         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4908 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4910         * stdlib/gen-tst-strtod-round.c: Add backslash to
4911         compile command in comment.
4912         (printfp): Remove the literal suffix, and define an infinite
4913         value as INF to avoid expansion clash with INFINITY.
4914         (round_str): Remove the literal suffix.
4915         (round_for_all): Likewise, remove the now duplicate ldbl-64
4916         entry, and remove some magic constants.
4918         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4919         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4920         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4921         (_CONCAT): New macro.
4922         (CONCAT): Likewise.
4923         (CHOOSE_ld): Likewise.
4924         (CHOOSE_f): Likewise.
4925         (CHOOSE_d): Likewise.
4926         (FTYPE_MEMBER): Likewise.
4927         (BOOL_MEMBER): Likewise.
4928         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4929         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4930         (_XNTRY): Likewise.
4931         (XNTRY): Likewise.
4932         (_ENTRY): Likewise.
4933         (ENTRY): Likewise.
4934         (test_exactness): Generate members via macro.
4935         (test_results): Likewise.
4936         (test): Update members.
4937         (TEST): Redefine using new macros.
4938         (INF): New macro.
4939         (fetestmodes): New structure.
4940         (do_test): Refactor to be type generic.
4941         (test_in_one_mode): Refactor duplicate code into
4942         (GEN_ONE_TEST): New macro.
4944         * stdlib/tst-strtod-round-data.h: Regenerate.
4946         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4947         Extend to pass additional arbitrary parameters to
4948         generators.
4950 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4952         [BZ #15479]
4953         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4954         floating-point state after first floating-point operation on
4955         input.  Restore full floating-point state instead of just rounding
4956         mode.
4957         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4958         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4959         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4960         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4961         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4963         [BZ #15479]
4964         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4965         floating-point state after first floating-point operation on
4966         input.  Restore full floating-point state instead of just rounding
4967         mode.
4968         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4969         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4970         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4971         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4972         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4974 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4976         [BZ #19727]
4977         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4978         valid high surrogate.
4979         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4980         of an utf16 surrogate.
4981         * iconv/gconv_simple.c (BODY): Likewise.
4982         * iconvdata/bug-iconv12.c: New file.
4983         * iconvdata/Makefile (tests): Add bug-iconv12.
4985 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4987         [BZ #19726]
4988         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4989         outptrp in case of an illegal input.
4990         * iconv/tst-iconv6.c: New file.
4991         * iconv/Makefile (tests): Add tst-iconv6.
4993 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4995         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4996         an error in case of a value in range of an utf16 low surrogate.
4998 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5000         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5001         an error in case of a value in range of an utf16 low surrogate.
5003 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5005         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5006         Move to ...
5007         * sysdeps/s390/Makefile: ... here.
5008         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5009         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5010         (BRANCH_ON_COUNT): New define.
5011         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5012         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5013         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5014         run on s390-32, too.
5015         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5016         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5017         run on s390-32, too.
5018         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5019         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5020         run on s390-32, too.
5022 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5024         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5025         etf3eh or new vector loop-variant.
5027 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5029         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5030         etf3eh or new vector loop-variant.
5032 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5034         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5035         or new vector loop-variant.
5037 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5039         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5040         Rename to TR_LOOP and usage of tr instead of troo instruction.
5042 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5044         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5045         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5047 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5049         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5050         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5051         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5052         New override define.
5053         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5055 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5057         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5058         * sysdeps/s390/configure.ac: Add test for S390 vector register
5059         support in gcc.
5060         * sysdeps/s390/configure: Regenerated.
5062 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5064         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5065         Install file from $(objpfx)gconv-modules.
5066         ($(objpfx)gconv-modules): Concatenate architecture specific file
5067         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5068         * sysdeps/s390/gconv-modules: New file.
5069         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5070         Deleted.
5071         ($(objpfx)gconv-modules-s390): Deleted.
5072         (sysdeps-gconv-modules): New variable.
5074 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5076         [BZ #15479]
5077         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5078         of immediate operand to rounding instruction.
5079         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5080         Likewise.
5081         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5082         Likewise.
5083         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5084         Likewise.
5086 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5088         * math/libm-test.inc (MIN_EXP): Directly define as
5089         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5091 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5093         * math/libm-test.inc (MANT_DIG): Directly define as
5094         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5096 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5098         * stdlib/gen-tst-strtod-round.c (main):
5099           Change usage to more closely match the generated
5100           output.  Add usage and compilation instructions.
5101           (string_to_fp): Add and use FILE* parameter as
5102           output target.
5103           (print_fp): Likewise.
5104           (round_str): Likewise.
5105           (round_for_all): Likewise.
5106         * stdlib/tst-strtod-round.c (tests): Move into
5107         * stdlib/tst-strtod-round-data.h: New file.
5109 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5111         [BZ #15479]
5112         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5113         (__round): Do not force "inexact" exception.
5114         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5115         variable.
5116         (__round): Do not force "inexact" exception.
5117         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5118         (__roundf): Do not force "inexact" exception.
5119         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5120         (__roundl): Do not force "inexact" exception.
5121         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5122         (__roundl): Do not force "inexact" exception.
5123         * math/libm-test.inc (round_test_data): Do not allow spurious
5124         "inexact" exceptions.
5126         [BZ #15479]
5127         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5128         exception in comment.
5129         (huge): Remove variable.
5130         (__floor): Do not force "inexact" exception.
5131         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5132         "inexact" exception in comment.
5133         (huge): Remove variable.
5134         (__floor): Do not force "inexact" exception.
5135         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5136         exception in comment.
5137         (huge): Remove variable.
5138         (__floorf): Do not force "inexact" exception.
5139         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5140         exception in comment.
5141         (huge): Remove variable.
5142         (__floorl): Do not force "inexact" exception.
5144         [BZ #15479]
5145         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5146         exception in comment.
5147         (huge): Remove variable.
5148         (__ceil): Do not force "inexact" exception.
5149         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5150         "inexact" exception in comment.
5151         (huge): Remove variable.
5152         (__ceil): Do not force "inexact" exception.
5153         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5154         (__ceilf): Do not force "inexact" exception.
5155         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5156         exception in comment.
5157         (huge): Remove variable.
5158         (__ceill): Do not force "inexact" exception.
5160 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5162         * config.h.in (BIND_NOW): New.
5163         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5164         * configure: Regenerated.
5165         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5166         indirect branch via the GOT slot.
5168 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5170         [BZ #19765]
5171         * sysdeps/s390/mempcpy.S: New File.
5172         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5173         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5174         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5175         Add mempcpy variants.
5176         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5177         (memcpy): Adjust to be usable from mempcpy entry point.
5178         (__memcpy_mvcle): Likewise.
5179         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5180         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5181         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5182         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5183         (__memcpy_z10): Likewise.
5184         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5186 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5188         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5189         Remove __GI_ symbol.
5190         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5191         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5192         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5193         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5194         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5195         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5197 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5199         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5200         Use cghi instead of chi to compare 64bit value.
5202 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5204         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5205         Jump to 1MB check before executing mvc-loop.
5207 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5209         [BZ #6527]
5210         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5211         unconditionally.
5212         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5214 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5216         * stdlib/tst-strtod6.c (do_test): Use new type generic
5217         invocation of the test function.
5218         (test): Refactor into ...
5219         (TEST_STRTOD): New macro base function.
5221 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5223         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5224         (TEST_STRTOD): New macro.
5225         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5227 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5229         * stdlib/tst-strtod6.c (do_test): Use new type generic
5230         invocation of the test function.
5231         (test): Refactor into ...
5232         (TEST_STRTOD): New macro base function.
5234 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5236         CVE-2016-4429
5237         [BZ #20112]
5238         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5239         payload.
5241 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5243         [BZ #20111]
5244         * bits/sockaddr.h (_SS_SIZE): Define.
5245         * bits/socket.h (_SS_SIZE): Remove.
5246         (_SS_PADSIZE): Adjust to account for all padding.
5247         (struct sockaddr_storage): Update comment.  Avoid implicit
5248         padding.
5249         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5250         (_SS_PADSIZE): Adjust to account for all padding.
5251         (struct sockaddr_storage): Update comment.  Avoid implicit
5252         padding.
5253         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5254         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5255         (_SS_PADSIZE): Adjust to account for all padding.
5256         (struct sockaddr_storage): Update comment.  Avoid implicit
5257         padding.
5258         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5259         __SS_SIZE is 126 in this version.
5260         * inet/tst-sockaddr.c: New file.
5261         * inet/Makefile (tests): Add tst-sockaddr.c
5262         (tst-sockaddr.c): Compile with non-strict aliasing.
5264 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5266         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5267         [XPG3 || XPG4].
5268         (NL_ARGMAX): Also expect for [XPG3].
5269         (NL_LANGMAX): Likewise.
5270         (NL_MSGMAX): Likewise.
5271         (NL_NMAX): Likewise.
5272         (NL_SETMAX): Likewise.
5273         (NL_TEXTMAX): Likewise.
5274         (NZERO): Likewise.
5275         (TMP_MAX): Likewise.
5276         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5277         variable.
5279         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5280         (PF_MAX): Update value.
5281         (AF_KCM): New macro.
5282         (SOL_NETBEUI): Likewise.
5283         (SOL_LLC): Likewise.
5284         (SOL_DCCP): Likewise.
5285         (SOL_NETLINK): Likewise.
5286         (SOL_TIPC): Likewise.
5287         (SOL_RXRPC): Likewise.
5288         (SOL_PPPOL2TP): Likewise.
5289         (SOL_BLUETOOTH): Likewise.
5290         (SOL_PNPIPE): Likewise.
5291         (SOL_RDS): Likewise.
5292         (SOL_IUCV): Likewise.
5293         (SOL_CAIF): Likewise.
5294         (SOL_ALG): Likewise.
5295         (SOL_NFC): Likewise.
5296         (SOL_KCM): Likewise.
5297         (MSG_BATCH): New enum value and macro.
5299 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5301         [BZ #18185]
5302         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5303         sharing L2 cache to 2 for Knights Landing.
5305 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5307         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5308         (FTW_DP): Do not expect for [XPG3 || XPG4].
5309         (FTW_SL): Do not expect for [XPG3].
5310         (FTW_SLN): Likewise.
5311         (FTW_PHYS): Likewise.
5312         (FTW_MOUNT): Likewise.
5313         (FTW_DEPTH): Likewise.
5314         (FTW_CHDIR): Likewise.
5315         (nftw): Likewise.
5316         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5317         variable.
5319 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5321         * manual/errno.texi: Fix various typos & grammar errors.
5323 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5325         * manual/intro.texi: Fix duplicated typo.
5327 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5329         [BZ #13304]
5330         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5331         <float.h>, <math_private.h> and <stdlib.h>.
5332         (add_split): New function.
5333         (mul_split): Likewise.
5334         (ext_val): New typedef.
5335         (store_ext_val): New function.
5336         (mul_ext_val): New function.
5337         (compare): New function.
5338         (add_split_ext): New function.
5339         (__fmal): After checking for Inf, NaN and zero, compute result as
5340         an exact sum of scaled double values in round-to-nearest before
5341         adding those up and adjusting for other rounding modes.
5342         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5343         tests of fma.
5344         * math/auto-libm-test-out: Regenerated.
5346 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5348         [BZ #20119]
5349         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5350         processor level type mask for CPUID with EAX == 11.
5352 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5354         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5355         logical threads if the HTT bit is 0.
5356         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5357         (index_cpu_HTT): Likewise.
5358         (reg_HTT): Likewise.
5360 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5362         [BZ #20115]
5363         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5364         Remove alignments on jump targets.
5366 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5368         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5369         (getpwent): Likewise.
5370         (setpwent): Likewise.
5371         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5372         variable.
5374         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5375         (remque): Likewise.
5376         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5377         variable.
5379 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5381         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5382         not being tested.
5384 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5386         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5387         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5388         call.
5389         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5390         (__condvar_cleanup1): Likewise.
5392 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5394         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5395         New
5396         (__pthread_unwind): Renamed to ...
5397         (PTHREAD_UNWIND): This.
5398         (__pthread_enable_asynccancel): Replace
5399         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5401 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5403         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5404         (CLONE_NEWCGROUP): New macro.
5406         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5407         (Q_GETNEXTQUOTA): New macro.
5409 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5411         [BZ #19907]
5412         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5413         buffer updated by the previous run.
5414         * string/test-memcpy.c (do_one_test): Likewise.
5415         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5416         * string/test-memmove.c (do_one_test): Likewise.
5418 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5420         [BZ #20094]
5421         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5422         not [__USE_XOPEN].
5423         (unlockpt): Likewise.
5424         (ptsname): Likewise.
5425         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5426         variable.
5428         [BZ #20076]
5429         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5430         instead of [__USE_UNIX98].
5431         (S_ISSOCK): Likewise.
5432         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5433         variable.
5435         [BZ #20074]
5436         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5437         [__USE_POSIX].
5438         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5439         variable.
5441         [BZ #20051]
5442         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5443         (ttyslot): Do not declare.
5444         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5445         (ttyslot): New prototype.
5446         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5447         variable.
5448         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5450 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5452         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5454 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5456         Fix race condition in tst-mallocfork2, use fewer resources.
5457         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5458         to current process group.
5459         (signal_sender): Yield in the non-sleeping case.
5461 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5463         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5464         (ecvt): Likewise.
5465         (fcvt): Likewise.
5466         (gcvt): Likewise.
5467         (getsubopt): Likewise.
5468         (grantpt): Likewise.
5469         (initstate): Likewise.
5470         (l64a): Likewise.
5471         (mktemp): Likewise.
5472         (mkstemp): Likewise.
5473         (ptsname): Likewise.
5474         (random): Likewise.
5475         (realpath): Likewise.
5476         (setstate): Likewise.
5477         (srandom): Likewise.
5478         (ttyslot): Likewise.
5479         (unlockpt): Likewise.
5480         (valloc): Likewise.
5482         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5483         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5484         variable.
5486 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5488         [BZ #20072]
5489         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5490         init_cpu_features only if SHARED is defined.
5491         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5493 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5495         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5496         non-inclusive caches on Intel processors.
5498 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5500         * malloc/malloc.c (dumped_main_arena_start)
5501         (dumped_main_arena_end): New variables.
5502         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5503         (do_check_chunk): Skip dumped fake mmapped chunks.
5504         (munmap_chunk): Likewise.
5505         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5506         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5507         mmapped chunks.
5508         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5509         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5510         and dumped_main_arena_end to cover the dumped heap.
5512 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5514         * conform/data/time.h-data (getdate_err): Do not expect for
5515         [XPG3].
5516         (getdate): Likewise.
5517         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5518         variable.
5520         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5521         (F_ULOCK): Likewise.
5522         (F_TEST): Likewise.
5523         (F_TLOCK): Likewise.
5524         (useconds_t): Likewise.
5525         (intptr_t): Do not expect for [XPG3] or [XPG4].
5526         (brk): Do not expect for [XPG3]
5527         (fchown): Likewise.
5528         (fchdir): Likewise.
5529         (ftruncate): Likewise.
5530         (getdtablesize): Likewise.
5531         (gethostid): Likewise.
5532         (getpagesize): Likewise.
5533         (getpgid): Likewise.
5534         (getsid): Likewise.
5535         (getwd): Likewise.
5536         (lchown): Likewise.
5537         (lockf): Likewise.
5538         (readlink): Likewise.
5539         (sbrk): Likewise.
5540         (setpgrp): Likewise.
5541         (setregid): Likewise.
5542         (setreuid): Likewise.
5543         (symlink): Likewise.
5544         (sync): Likewise.
5545         (truncate): Likewise.
5546         (ualarm): Likewise.
5547         (usleep): Likewise.
5548         (vfork): Likewise.
5549         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5550         variable.
5552         [BZ #20054]
5553         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5554         not [__USE_UNIX98].
5555         * conform/data/unistd.h-data (gethostname): Do not expect for
5556         [XPG3].
5558         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5559         [!POSIX] (S_IFBLK): Likewise.
5560         [!POSIX] (S_IFCHR): Likewise.
5561         [!POSIX] (S_IFIFO): Likewise.
5562         [!POSIX] (S_IFREG): Likewise.
5563         [!POSIX] (S_IFDIR): Likewise.
5564         [!POSIX] (S_IFLNK): Likewise.
5565         [!POSIX] (S_IFSOCK): Likewise.
5566         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5567         variable.
5568         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5570 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5572         * sysdeps/aarch64/memset.S (__memset):
5573         Rewrite of optimized memset.
5575 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5577         [BZ #19703]
5578         Partially async-signal-safe fork for single-threaded processes.
5579         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5580         variable.  Do not acquire and reset/release malloc and libio locks
5581         in single-threaded processes.
5582         * malloc/tst-mallocfork2.c: New file.
5583         * malloc/Makefile (tests): Add it.
5585 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5587         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5588         argument.  Use scratch buffer instead of extend_alloca.
5589         (gethosts): Use scratch buffer instead of extend_alloca.
5590         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5591         extend_alloca.
5592         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5594 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5596         [BZ #20055]
5597         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5598         instead of [__USE_UNIX98].
5599         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5600         [__USE_UNIX98].
5601         * conform/data/termios.h-data (tcgetsid): Do not expect for
5602         [XPG3].
5603         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5604         variable.
5605         (test-xfail-XPG4/termios.h/conform): Likewise.
5607 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5609         Do not use mcheck in localedef.
5610         * locale/programs/localedef.c (turn_on_mcheck)
5611         (__malloc_initialize_hook): Remove.
5613 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5615         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5616         * sysdeps/s390/s390-64/Makefile: Likewise.
5618 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5620         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5621         Remove ifunc-defines.sym.
5622         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5623         Likewise.
5624         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5625         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5626         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5627         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5628         rtld-global-offsets.sym.
5629         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5630         * sysdeps/x86/cpu-features-offsets.sym: This.
5631         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5632         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5634 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5636         [BZ #20073]
5637         * io/sys/stat.h (fchmod): Declare for
5638         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5639         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5640         variable.
5642         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5643         [XPG3] (S_IFSOCK): Likewise.
5644         [XPG3] (S_ISVTX): Likewise.
5645         [XPG3] (S_ISLNK): Likewise.
5646         [XPG3] (S_ISSOCK): Likewise.
5647         [XPG3] (fchmod): Likewise.
5648         [XPG3] (lstat): Likewise.
5649         [XPG3] (mknod): Likewise.
5651         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5652         [XPG3].  Expect type long and XFAIL for [XPG4].
5653         (st_blocks): Likewise.
5655         [BZ #20044]
5656         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5657         (pthread_atfork): New prototype.
5658         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5659         variable.
5661         [BZ #20043]
5662         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5663         prototype.
5665 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5667         [BZ #20017]
5668         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5669         gmtime.
5671 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5673         [BZ #19994]
5674         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5675         flag in _res.options.
5677 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5679         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5680         [XPG3 || XPG4].
5681         (blksize_t): Likewise.
5682         (clockid_t): Likewise.
5683         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5684         variable.
5685         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5687 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5689         * sysdeps/unix/sysv/linux/s390/init-first.c:
5690         Add VDSO_SYMBOL(getcpu).
5691         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5692         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5693         Add VDSO_SYMBOL(getcpu).
5694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5695         New define HAVE_GETCPU_VSYSCALL.
5696         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5698 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5700         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5701         instead of <sysdeps/x86_64/cacheinfo.c>.
5702         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5703         * sysdeps/x86/cacheinfo.c: Here.
5705 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5707         * malloc/malloc-internal.h: Adjust header file guard.
5709 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5711         [BZ #19787]
5712         * inet/getnameinfo.c (check_sprintf_result): New function.
5713         (CHECKED_SNPRINTF): New macro.
5714         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5715         to the host buffer.
5716         (gni_host_local): Use checked_copy to copy the host name.
5717         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5718         (gni_serv_local): Use checked_copy to copy the service name.
5719         (getnameinfo): Remove unnecessary truncation of result buffers.
5721 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5723         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5724         in case of inet_ntop failure.
5726 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5728         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5729         avoid long lines.
5730         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5731         variables.
5732         (gni_host_inet, gni_host_local): Add comment.
5733         (gni_host): Add comment.  Use temporary to avoid long lines.
5735 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5737         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5738         registers specifiers where general purpose registers specifiers should
5739         have been used.
5741 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5743         [BZ #19779]
5744         CVE-2016-1234
5745         Avoid copying names of directory entries.
5746         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5747         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5748         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5749         (struct readdir_result): New type.
5750         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5751         (GL_READDIR): New macros.
5752         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5753         (convert_dirent, convert_dirent64): New functions.
5754         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5755         convert_dirent64.  Adjust references to the readdir result.
5756         * sysdeps/unix/sysv/linux/i386/glob64.c:
5757         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5758         * posix/bug-glob2.c (LONG_NAME): Define.
5759         (filesystem): Add LONG_NAME.
5760         (my_DIR): Increase the size of room_for_dirent.
5762 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5764         [BZ #20041]
5765         * misc/sys/select.h (__need_timespec): Only define if
5766         [__USE_XOPEN2K].
5767         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5768         variable.
5769         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5770         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5771         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5773 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5774             Segher Boessenkool  <segher@gcc.gnu.org>
5776         [BZ #20004]
5777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5778         (__novec_swapcontext): Add missing load.
5780 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5782         [BZ #20023]
5783         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5784         <time.h>.
5785         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5786         variable.
5787         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5789 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5792         flags CLONE_VM compare.
5794 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5796         [BZ #20031]
5797         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5798         completely empty.
5800 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5802         [BZ #19573]
5803         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5804         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5805         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5806         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5807         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5808         (hesiod_free_list): Mark as hidden.
5809         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5810         res_set, res_get.
5811         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5812         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5813         (hesiod_init): Remove obsolete res_ninit call.
5814         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5815         (hesiod_bind): Do not call init.
5816         (get_txt_records): Use res_mkquery, res_send instead of
5817         res_nmkquery, res_nsend.
5818         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5819         instead of _nss_hesiod_init.
5820         (_nss_hesiod_initgroups_dyn): Likewise.
5821         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5822         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5823         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5825 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5827         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5828         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5830 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5832         * hesiod/hesiod.h: Remove RCS keyword.
5833         * hesiod/hesiod_p.h: Likewise.
5835         * hesiod/hesiod.c: Likewise.
5837 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5839         [BZ #12450]
5840         * locale/iso-639.def: Add Samogitian/sgs.
5842 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5844         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5846         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5848 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5849             Carlos O'Donell  <carlos@redhat.com>
5851         [BZ #19072]
5852         * grp/Makefile (headers): Add grp-merge.h
5853         (routines): Add grp-merge.
5854         * grp/getgrgid_r.c: Include grp-merge.h.
5855         (DEEPCOPY_FN): Define.
5856         (MERGE_FN): Define.
5857         * grp/getgrname_r.c: Include grp-merge.h.
5858         (DEEPCOPY_FN): Define.
5859         (MERGE_FN): Define.
5860         * grp/grp-merge.c: New file.
5861         * grp/grp-merge.h: New file.
5862         * include/grp-merge.h: New file.
5863         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5864         __copy_grp@GLIBC_PRIVATE.
5865         * manual/nss.texi (Actions in the NSS configuration): Describe
5866         return, continue, and merge.
5867         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5868         (DEEPCOPY_FN): Define.
5869         (MERGE_FN): Define.
5870         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5871         (DEEPCOPY_FN): Define.
5872         (MERGE_FN): Define.
5873         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5874         [!MERGE_FN]: Define __merge_einval.
5875         (CHECK_MERGE): Define.
5876         (REENTRANT_NAME): Process merge if do_merge is true.
5877         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5878         (__nss_getent_r): Likewise.
5879         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5880         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5882 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5884         [BZ #20012]
5885         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5886         length to calculate the buffer to read.
5887         (fmemopen_write): Set the buffer position based on bytes written.
5888         (fmemopen_seek): Return EINVAL for invalid whence modes.
5890         [BZ #19957]
5891         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5892         tst-getpid2.
5893         (test): Add tst-clone2.
5894         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5895         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5896         pid/tid fields for CLONE_VM.
5897         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5898         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5899         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5900         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5901         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5902         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5903         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5904         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5906         Likewise.
5907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5908         Likewise.
5909         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5910         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5911         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5912         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5913         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5914         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5915         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5916         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5918 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5920         [BZ #19642]
5921         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5922         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5923         (gni_serv_local, gni_serv): New functions extracted from
5924         getnameinfo.
5925         (getnameinfo): Call gni_host and gni_serv to perform the
5926         processing.  Always free scratch buffer.
5928 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5930         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5931         remaining bytes in the dest string, with zeros.
5933 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5935         [BZ #20010]
5936         CVE-2016-3706
5937         * sysdeps/posix/getaddrinfo.c
5938         (convert_hostent_to_gaih_addrtuple): New function.
5939         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5940         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5941         AF_INET data.
5943 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5945         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5946         callback function gl_readdir.
5947         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5948         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5949         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5950         memcpy to copy the name.
5951         * manual/pattern.texi (Calling Glob): Document requirements for
5952         implementations of the gl_readdir callback function.
5953         * manual/examples/mkdirent.c: New example.
5954         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5955         per the manual guidance.
5956         * posix/tst-gnuglob.c (my_readdir): Likewise.
5958 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5960         [BZ #20014]
5961         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5962         not [__USE_POSIX].
5963         (getchar_unlocked): Likewise.
5964         (putc_unlocked): Likewise.
5965         (putchar_unlocked): Likewise.
5966         (flockfile): Likewise.
5967         (ftrylockfile): Likewise.
5968         (funlockfile): Likewise.
5969         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5970         variable.
5971         (test-xfail-XPG4/stdio.h/conform): Likewise.
5973         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5974         Expect constant.
5975         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5976         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5977         variable.
5978         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5979         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5981         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5982         [__USE_LARGEFILE64] (off64_t): Likewise.
5983         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5984         variable.
5986 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5988         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5990 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5992         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5993         * resolv/res_init.c: Likewise.
5994         * resolv/res_mkquery.c: Likewise.
5996 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5998         * resolv/res_init.c (isascii): Do not define.  Use definition in
5999         <ctype.h>.
6000         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6001         (LOG_AUTH): Remove.
6002         (SPRINTF): Remove, adjust caller.
6003         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6005 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6007         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6008         SUNSECURITY conditional.
6009         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6011 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6013         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6014         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6015         Remove BSD-related preprocessor conditionals.
6016         * conf/portability.h: Remove.
6018 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6020         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6021         * resolv/res_data.c: Likewise.
6023 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6025         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6026         * resolv/res_data.c: Remove code conditional on ultrix.
6028 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6030         * resolv/res_init.c (RFC1535): Do not define.  Remove
6031         RFC1535 preprocessor conditionals.
6032         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6033         because there configuration options which make the resolver
6034         behavior different.
6036 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6038         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6039         RESOLVSORT preprocessor conditionals.
6040         * resolv/nss_dns/dns-host.c: Likewise.
6041         * resolv/res_init.c: Likewise.
6043 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6045         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6046         is never defined.
6048 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6050         * inet/inet_lnaof.c: Remove SCSS keyword.
6051         * inet/inet_mkadr.c: Likewise.
6052         * inet/inet_net.c: Likewise.
6053         * inet/inet_netof.c: Likewise.
6054         * inet/rcmd.c: Likewise.
6055         * inet/rexec.c: Likewise.
6056         * inet/ruserpass.c: Likewise.
6058 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6060         * resolv/inet_addr.c: Remove _LIBC conditionals.
6061         * resolv/res_data.c: Likewise.
6062         * resolv/res_init.c: Likewise.
6063         * resolv/res_mkquery.c: Likewise.
6064         * resolv/res_libc.c: Update comment.
6065         * resolv/README: Update.
6067 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6069         * resolv/gethnamaddr.c: Remove SCSS keyword.
6070         * resolv/herror.c: Likewise.
6071         * resolv/inet_addr.c: Likewise.
6072         * resolv/inet_net_ntop.c: Likewise.
6073         * resolv/inet_net_pton.c: Likewise.
6074         * resolv/inet_neta.c: Likewise.
6075         * resolv/inet_ntop.c: Likewise.
6076         * resolv/inet_pton.c: Likewise.
6077         * resolv/ns_date.c: Remove RCS keyword.
6078         * resolv/ns_name.c: Likewise.
6079         * resolv/ns_netint.c: Likewise.
6080         * resolv/ns_parse.c: Likewise.
6081         * resolv/ns_print.c: Likewise.
6082         * resolv/ns_samedomain.c: Likewise.
6083         * resolv/ns_ttl.c: Likewise.
6084         * resolv/nsap_addr.c: Likewise.
6085         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6086         * resolv/res_data.c: Remove RCS keyword.
6087         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6088         * resolv/res_init.c: Likewise.
6089         * resolv/res_mkquery.c: Likewise.
6090         * resolv/res_query.c: Likewise.
6091         * resolv/res_send.c: Likewise.
6093 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6095         * conform/data/stdio.h-data (fdopen): Expect also for
6096         [XPG3 || XPG4].
6098         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6099         (fseeko): Likewise.
6100         (ftello): Likewise.
6101         (ftrylockfile): Likewise.
6102         (funlockfile): Likewise.
6103         (getc_unlocked): Likewise.
6104         (getchar_unlocked): Likewise.
6105         (putc_unlocked): Likewise.
6106         (putchar_unlocked): Likewise.
6108 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6110         [BZ #19868]
6111         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6112         DNS packet syntax checks (which were not needed before).  Skip
6113         over non-PTR records.
6115 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6117         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6118         definition.  Include <stddef.h> instead.
6120 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6122         [BZ #19831]
6123         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6124         function.
6125         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6126         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6128 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6130         [BZ #19862]
6131         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6132         (getanswer_r): Do not call syslog.
6133         (gaih_getanswer_slice): Likewise.
6134         * resolv/gethnamaddr.c (AskedForGot): Remove.
6135         (getanswer): Do not call syslog.
6136         (gethostbyaddr): Likewise.
6138 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6140         * conform/data/signal.h-data (union sigval): Expect also if
6141         [XOPEN2K].
6142         (struct sigevent): Likewise.
6143         (SIGEV_NONE): Likewise.
6144         (SIGEV_SIGNAL): Likewise.
6145         (SIGEV_THREAD): Likewise.
6146         (SIGRTMIN): Likewise.
6147         (SIGRTMAX): Likewise.
6148         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6149         variable.
6150         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6152 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6154         [BZ #19830]
6155         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6156         (gaih_getanswer_slice): Likewise.
6157         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6158         Also check for availability of RR metadata.
6160 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6162         [BZ #19825]
6163         * resolv/res_send.c (send_vc): Remove early *resplen2
6164         initialization.  Set *resplen2 on socket error.  Call
6165         close_and_return_error for other errors.
6167 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6169         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6170         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6171         (SCM_IUCV_TRGCLS): New define.
6173 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6175         [BZ #20005]
6176         * libio/fmemopen.c (fmemopen_write): Update internal position after
6177         write.
6178         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6179         * stdio-common/tst-fmemopen4.c: New file..
6181 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6183         [BZ #19996]
6184         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6185         not [__USE_XOPEN2K].
6186         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6187         variable.
6189         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6190         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6191         variable.
6193         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6194         [__USE_XOPEN2K8].
6195         [__USE_LARGEFILE64] (off64_t): Likewise.
6196         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6197         variable.
6199 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6201         [BZ #19989]
6202         * libio/stdio.h (cuserid): Do not declare if
6203         [__USE_XOPEN2K && !__USE_GNU].
6204         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6205         variable.
6207 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6209         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6210         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6212         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6213         ifunc'ed strcspn.
6214         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6215         [EALIGN]: Removed.
6216         [END]: Likewise
6217         [STRSPN]: Define instead of the above to control symbol name.
6218         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6219         New file.
6220         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6221         Likewise.
6222         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6223         Likewise.
6224         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6225         Likewise.
6226         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6227         [INITIAL_MASK]: New macro.
6228         [STRCSPN]: Likewise.
6229         [UPDATE_MASK]: Likewise.
6230         [USE_AS_STRCSPN]: Lisewise.
6232 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6234         [BZ #19931]
6235         * stdio-common/tst-vfprintf-width-prec.c: New file.
6236         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6237         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6238         (generated): Add mtrace-related files.
6239         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6240         (tst-%-mem.out): New pattern rule, replaces
6241         tst-printf-bz18872-mem.out.
6242         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6243         specifier, deallocate any previously allocated work buffer.
6245 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6247         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6248         Add nop before __startcontext, add explaining comments.
6250 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6252         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6253         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6254         completely different API.
6256         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6257         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6258         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6259         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6260         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6261         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6262         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6263         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6264         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6265         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6267 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6269         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6271 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6273         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6274         when it is the default of 0.
6276 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6278         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6279         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6280         (sysdep_routines): Add new strcasestr targets.
6281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6282         (__libc_ifunc_impl_list): Likewise.
6283         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6284         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6285         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6286         * sysdeps/powerpc/powerpc64/power8/Makefile:
6287         New file to add strcasestr-ppc64 to sysdep_routines.
6288         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6289         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6291 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6293         * benchtests/Makefile (wcsmbs-benchset): Include only for
6294         native builds and runs.
6295         (LOCALES): Likewise.
6296         (bench-build): Build timing-type here instead of the bench
6297         target.  Generate locale only for native builds.
6298         * benchtests/README: Add note for cross-building.
6300         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6302         * benchtests/README: Update README to include instructions on
6303         using bench-build.
6305         * Makefile.in (bench-build): New target.
6306         * Rules (PHONY): Add bench-build target.
6307         * benchtests/Makefile (bench): Depend on bench-build.
6308         (bench-build): New target.
6310 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6312         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6313         profil_reply_port.
6314         (profile_waiter): Do not initialize profil_reply_port.
6315         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6316         frequency instead of tick length in us.
6318 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6320         [BZ #18712]
6321         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6322         (__old_mempcpy_small): Likewise.
6323         (__old_strcpy_small): Likewise.
6324         (__old_stpcpy_small): Likewise.
6325         (__old_strpbrk_c2): Fix compat symbol name.
6326         (__old_strpbrk_c3): Likewise.
6327         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6328         (__mempcpy_small): Remove.
6329         (__strcpy_small): Remove.
6330         (__stpcpy_small): Remove.
6332 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6334         [BZ #19400]
6335         * locale/iso-639.def: Add the Talossan/tzl language.
6337 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6339         [BZ #16983]
6340         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6341         comment.  Add "ln" to strchr check on postal_fmt.
6343 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6345         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6346         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6347         tel_dom_fmt.
6349 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6351         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6352         (sysdep_routines): Added __strlen_power8.
6353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6354         __strlen_power8 entry.
6355         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6356         Implementation for POWER8.
6357         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6358         for __strlen_power8.
6359         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6360         Implementation for POWER8.
6362 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6364         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6366 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6368         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6369         Goldmont and Airmont processors.
6371 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6373         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6374         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6375         (__STRING2_SMALL_GET32): Remove.
6376         (memset): Remove.
6377         (__memset_1): Remove.
6378         (__memset_gc): Remove.
6379         (__mempcpy): Remove.
6380         (mempcpy): Remove.
6381         (__mempcpy_args): Remove.
6382         (strchr): Remove.
6383         (strcpy): Remove.
6384         (strcpy_args): Remove.
6385         (__stpcpy_args): Remove.
6386         (__strcmp_cc): Remove.
6387         (__strcmp_gc): Remove.
6388         (strstr): Remove.
6390 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6392         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6393         * nis/nis_call.c (nis_server_cache_add): Likewise.
6395 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6397         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6399 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6401         * malloc/arena.c (__malloc_fork_lock_parent)
6402         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6403         internal_function attribute.
6405 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6407         * stdio-common/printf_fp.c (__printf_fp_l):
6408         Rename ___printf_fp_l to __printf_fp_l and
6409         remove strong alias. Use libc_hidden_def instead
6410         of ldbl_hidden_def macro.
6412 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6414         Remove malloc hooks from fork handler.  They are no longer needed
6415         because malloc runs right before fork, and no malloc calls from
6416         other fork handlers are not possible anymore.
6417         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6418         declarations.
6419         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6420         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6421         (atfork_recursive_cntr): Remove.
6422         (__malloc_fork_lock_parent): Do not override malloc hooks and
6423         thread_arena.
6424         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6425         thread_arena.
6426         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6427         thread_arena instead of save_arena.
6429 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6431         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6432         (thread_atfork, thread_atfork_static): Remove.
6433         * sysdeps/mach/hurd/malloc-machine.h:
6434         (thread_atfork, thread_atfork_static): Remove.
6436 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6438         [BZ #19431]
6439         Run the malloc fork handler as late as possible to avoid deadlocks.
6440         * malloc/malloc-internal.h: New file.
6441         * malloc/malloc.c: Include it.
6442         * malloc/arena.c (ATFORK_MEM): Remove.
6443         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6444         Update comment.
6445         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6446         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6447         Remove outdated comment.
6448         (ptmalloc_init): Do not call thread_atfork.  Remove
6449         thread_atfork_static.
6450         * malloc/tst-malloc-fork-deadlock.c: New file.
6451         * Makefile (tests): Add tst-malloc-fork-deadlock.
6452         (tst-malloc-fork-deadlock): Link against libpthread.
6453         * manual/memory.texi (Aligned Memory Blocks): Update safety
6454         annotation comments.
6455         * sysdeps/nptl/fork.c (__libc_fork): Call
6456         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6457         __malloc_fork_unlock_child.
6458         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6460 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6462         [BZ #19613]
6463         Remove union wait.
6464         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6465         (w_stopsig, w_stopval): Remove.
6466         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6467         stat_loc argument.
6468         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6469         (__WAIT_STATUS_DEFN): Remove.
6470         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6471         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6472         (wait, wait3, wait4): Use int * for the stat_loc argument.
6473         * posix/wait.c (__wait): Likewise.
6474         * posix/wait3.c (__wait3): Likewise.
6475         * posix/wait4.c (__wait4): Likewise.
6476         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6477         (__WAIT_STATUS_DEFN): Remove.
6478         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6479         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6480         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6481         argument.
6482         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6483         * sysdeps/posix/wait3.c (__wait3): Likewise.
6484         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6485         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6486         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6487         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6488         stat_loc argument.
6489         * manual/process.texi (BSD Wait Functions): Remove union wait.
6491 2016-04-13  Andreas Schwab  <schwab@suse.de>
6493         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6494         (test-extras): Add tst-tlsalign-vars.
6495         * math/Makefile: Wrap long lines.
6496         (libm-vec-test-wrappers): Define.
6497         (test-extras): Add $(libm-vec-test-wrappers).
6498         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6499         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6500         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6501         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6502         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6503         (extra-test-objs): Add corresponding objects.
6505 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6507         [BZ #19928]
6508         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6509         New.
6510         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6511         times of shared cache size.
6512         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6513         (VMOVNT): New.
6514         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6515         (VMOVNT): Likewise.
6516         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6517         (VMOVNT): Likewise.
6518         (VMOVU): Changed to movups for smaller code sizes.
6519         (VMOVA): Changed to movaps for smaller code sizes.
6520         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6521         comments.
6522         (PREFETCH): New.
6523         (PREFETCH_SIZE): Likewise.
6524         (PREFETCHED_LOAD_SIZE): Likewise.
6525         (PREFETCH_ONE_SET): Likewise.
6526         Rewrite to use forward and backward loops, which move 4 vector
6527         registers at a time, to support overlapping addresses and use
6528         non temporal store if size is above the threshold and there is
6529         no overlap between destination and source.
6531 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6533         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6534         Include dl-vdso.
6535         * sysdeps/unix/sysv/linux/mips/Versions: Add
6536         __vdso_clock_gettime.
6537         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6538         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6539         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6540         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6541         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6542         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6543         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6544         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6545         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6547 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6549         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6550         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6551         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6552         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6553         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6554         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6557         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6558         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6559         syscalls generation.
6560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6561         [__NR_pwrite64] (__NR_write): Remove define.
6562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6563         [__NR_pwrite64] (__NR_write): Remove define.
6564         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6565         Remove define.
6566         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6567         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6568         Remove define.
6569         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6570         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6571         Linux implementation as base.
6572         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6574         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6575         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6576         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6577         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6580         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6581         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6582         syscall generation.
6583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6584         [__NR_pread64] (__NR_pread): Remove define.
6585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6586         [__NR_pread64] (__NR_pread): Likewise.
6587         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6588         define.
6589         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6590         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6591         Remove define.
6592         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6593         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6594         Linux implementation as base.
6595         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6596         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6597         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6599         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6600         definition.
6601         (__ALIGNMENT_COUNT): Likewise.
6602         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6603         (__ALIGNMENT_COUNT): Likewise.
6604         (SYSCALL_LL): New define.
6605         (SYSCALL_LL64): Likewise.
6606         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6607         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6608         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6609         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6611         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6612         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6613         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6614         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6615         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6616         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6618 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6620         [BZ #19865]
6621         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6622         original buffer before retry.
6624 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6626         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6627         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6628         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6629         GLRO(dl_auxv) list.
6630         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6631         including <ldsodefs.h>.
6632         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6634 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6636         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6637         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6638         $(CPPFLAGS).
6640 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6642         [BZ #17950]
6643         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6644         Add -mfpmath=387.
6646 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6648         * sysdeps/i386/configure.ac: Change == to = when calling test.
6649         * sysdeps/x86_64/configure.ac: Likewise.
6650         * sysdeps/i386/configure: Regenerated.
6651         * sysdeps/x86_64/configure: Likewise.
6653 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6655         [BZ #16137]
6656         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6657         * benchtests/bench-strcoll.c (input_files): Likewise.
6658         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6659         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6660         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6662 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6664         [BZ #19929]
6665         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6666         [__USE_XOPEN2K8 && !__USE_GNU].
6667         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6668         variable.
6670         [BZ #19925]
6671         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6672         define if [!__USE_MISC && __USE_XOPEN2K].
6673         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6674         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6675         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6676         Likewise.
6677         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6678         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6679         variable.
6680         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6682 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6684         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6685         (sysdep_routines): Add new strspn targets.
6686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6687         (__libc_ifunc_impl_list): Add strspn.
6688         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6689         New file.
6690         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6691         Likewise.
6692         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6693         Likewise.
6694         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6695         Likewise.
6697 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6699         * misc/hsearch_r.c: Include <limits.h>.
6701 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6703         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6705 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6707         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6708         (MEMCPY_SYMBOL): New.
6709         (MEMPCPY_SYMBOL): Likewise.
6710         (MEMMOVE_CHK_SYMBOL): Likewise.
6711         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6712         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6713         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6714         Provide alias for memcpy in libc.a and ld.so.
6716 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6718         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6719         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6720         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6721         Disabled fro now.
6722         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6723         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6725 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6727         * benchtests/Makefile (string-benchset): Add memcpy-large,
6728         memmove-large and memset-large.
6729         * benchtests/bench-memcpy-large.c: New file.
6730         * benchtests/bench-memmove-large.c: Likewise.
6731         * benchtests/bench-memmove-large.c: Likewise.
6732         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6734 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6736         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6737         32-bit displacement to avoid long nop between instructions.
6739 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6741         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6742         a comment on VMOVU and VMOVA.
6744 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6746         [BZ #19633]
6747         Use specified locale for number formatting in strfmon_l.
6748         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6749         (__nl_lookup_word): New inline functions.
6750         * include/printf.h (__print_fp_l): Declare.
6751         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6752         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6753         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6754         (___printf_fp): New function.
6755         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6756         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6757         * stdlib/tst-strfmon_l.c (do_test): New test.
6758         * stdlib/Makefile (tests): Add kt.
6759         (LOCALES): Build additional locales.
6760         (tst-strfmon_l.out): Require locales.
6762 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6764         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6765         if not in libc.
6766         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6767         Likewise.
6768         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6769         Likewise.
6770         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6771         Likewise.
6773 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6775         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6776         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6777         with unaligned_erms.
6778         (__memmove_erms): Skip if source == destination.
6779         (__memmove_unaligned_erms): Don't check source == destination
6780         first.
6782 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6784         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6785         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6787 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6789         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6790         * string/strspn.c (strspn): Likewise.
6792 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6794         * benchtests/bench-memset.c (do_test): Support 64-byte
6795         alignment.
6796         (test_main): Test 64-byte alignment.
6798 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6800         * benchtests/bench-memmove.c (test_main): Test 64-byte
6801         alignment.
6803 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6805         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6807 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6809         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6810         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6811         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6813         * string/strpbrk.c (strpbrk): Rewrite function.
6814         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6815         (__strpbrk_c2): Likewise.
6816         (__strpbrk_c3): Likewise.
6817         * string/string-inlines.c
6818         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6819         Likewise.
6820         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6821         Likewise.
6823         * string/strspn.c (strcspn): Rewrite function.
6824         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6825         (__strspn_c1): Remove inline function.
6826         (__strspn_c2): Likewise.
6827         (__strspn_c3): Likewise.
6828         * string/string-inlines.c
6829         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6830         compatibility symbol.
6831         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6832         Likewise.
6833         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6834         Likewise.
6835         * string/string-inlines.c: Include generic version.
6837 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6838             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6840         * string/Version (libc): Add GLIBC_2.24.
6841         * string/strcspn.c (strcspn): Rewrite function.
6842         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6843         (__strcspn_c1): Remove inline function.
6844         (__strcspn_c2): Likewise.
6845         (__strcspn_c3): Likewise.
6846         * string/string-inline.c
6847         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6848         compatibility symbol.
6849         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6850         Likewise.
6851         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6852         Likewise.
6853         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6855 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6857         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6858         Use ahi instead of aghi to adjust stack pointer.
6860 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6862         [BZ #19853]
6863         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6864         TEST to take significant digits as second parameter.
6865         [TEST]: Redefine in terms of TEST_N taking 30
6866         significant digits.
6867         (do_test): Add test case to demonstrate precision
6868         failure in the ldbl-128ibm printf.
6869         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6870         (__mpn_extract_long_double): Carry 7 extra intermediate
6871         bits of precision to aide computing difference when
6872         signs differ.
6874 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6876         [BZ #19881]
6877         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6878         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6879         memset-avx512-unaligned-erms.
6880         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6881         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6882         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6883         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6884         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6885         __memset_sse2_unaligned_erms, __memset_erms,
6886         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6887         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6888         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6889         file.
6890         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6891         Likewise.
6892         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6893         Likewise.
6894         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6895         Likewise.
6897 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6899         [BZ #19776]
6900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6901         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6902         memmove-avx512-unaligned-erms.
6903         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6904         (__libc_ifunc_impl_list): Test
6905         __memmove_chk_avx512_unaligned_2,
6906         __memmove_chk_avx512_unaligned_erms,
6907         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6908         __memmove_chk_sse2_unaligned_2,
6909         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6910         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6911         __memmove_avx512_unaligned_erms, __memmove_erms,
6912         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6913         __memcpy_chk_avx512_unaligned_2,
6914         __memcpy_chk_avx512_unaligned_erms,
6915         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6916         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6917         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6918         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6919         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6920         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6921         __mempcpy_chk_avx512_unaligned_erms,
6922         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6923         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6924         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6925         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6926         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6927         __mempcpy_erms.
6928         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6929         file.
6930         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6931         Likwise.
6932         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6933         Likwise.
6934         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6935         Likwise.
6937 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6939         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6940         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6941         (La_s390_64_regs): Likewise.
6942         (La_s390_32_retval): Append vector register lrv_v24.
6943         (La_s390_64_retval): Likeweise.
6944         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6945         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6946         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6947         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6949 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6951         [BZ #19916]
6952         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6953         to create a non-vector/vector version for _dl_runtime_resolve and
6954         _dl_runtime_profile. Move implementation to ...
6955         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6956         (_dl_runtime_resolve) Save and restore fpr/vrs.
6957         (_dl_runtime_profile) Save and restore vrs and fix some issues
6958         if _dl_call_pltexit is called.
6959         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6960         Choose the correct resolver function if running on a machine with vx.
6961         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6962         to create a non-vector/vector version for _dl_runtime_resolve and
6963         _dl_runtime_profile. Move implementation to ...
6964         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6965         (_dl_runtime_resolve) Save and restore fpr/vrs.
6966         (_dl_runtime_profile) Save and restore vrs and fix some issues
6967         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6968         Choose the correct resolver function if running on a machine with vx.
6970 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6972         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6974 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6976         [BZ #19509]
6977         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6978         skip_map != NULL.
6979         * elf/tst-dlsym-error.c: New file.
6980         * elf/Makefile (tests): Add tst-dlsym-error.
6981         (tst-dlsym-error): Link against libdl.
6983 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6985         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6986         (__ASSUME_FUTIMESAT): Remove macro.
6987         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6989 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6991         [BZ #19879]
6992         CVE-2016-3075
6993         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6994         copy name.
6996 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6998         [BZ #19837]
6999         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7000         error if parse_line fails.
7002 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7004         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7005         (index_cpu_ERMS): Likewise.
7006         (reg_ERMS): Likewise.
7008 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7010         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7011         PER_LINUX_FDPIC): Add.
7013 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7015         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7016         memcpy-avx512-no-vzeroupper.
7017         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7018         to ...
7019         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7020         (MEMCPY): Don't define.
7021         (MEMCPY_CHK): Likewise.
7022         (MEMPCPY): Likewise.
7023         (MEMPCPY_CHK): Likewise.
7024         (MEMPCPY_CHK): Renamed to ...
7025         (__mempcpy_chk_avx512_no_vzeroupper): This.
7026         (MEMPCPY_CHK): Renamed to ...
7027         (__mempcpy_chk_avx512_no_vzeroupper): This.
7028         (MEMCPY_CHK): Renamed to ...
7029         (__memmove_chk_avx512_no_vzeroupper): This.
7030         (MEMCPY): Renamed to ...
7031         (__memmove_avx512_no_vzeroupper): This.
7032         (__memcpy_avx512_no_vzeroupper): New alias.
7033         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7035 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7037         [BZ #18858]
7038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7039         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7040         and mempcpy-avx512-no-vzeroupper.
7041         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7042         New.
7043         (MEMPCPY): Likewise.
7044         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7045         (MEMPCPY_CHK): New.
7046         (MEMPCPY): Likewise.
7047         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7048         (MEMPCPY): Likewise.
7049         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7050         (MEMPCPY): Likewise.
7051         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7052         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7053         Likewise.
7054         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7055         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7057 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7058              Amit Pawar  <Amit.Pawar@amd.com>
7060         [BZ #19583]
7061         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7062         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7063         processors.  Set Fast_Copy_Backward for AMD Excavator
7064         processors.
7065         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7066         New.
7067         (index_arch_Fast_Unaligned_Copy): Likewise.
7068         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7069         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7071 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7073         [BZ #19791]
7074         * resolv/res_send.c (close_and_return_error): New function.
7075         (send_dg): Initialize *resplen2 after reopen failure.  Call
7076         close_and_return_error for error returns.  On error paths without
7077         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7078         successful return.
7080 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7082         [BZ# 19860]
7083         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7084         zero if the compiler does not provide the AVX512F bit.
7086 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7088         [BZ #19848]
7089         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7090         from 8 to 4.
7091         (__ieee754_powl): Compare integer exponent against 4 not 8.
7092         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7093         from 8 to 4.
7094         (__ieee754_powl): Compare integer exponent against 4 not 8.
7095         * math/auto-libm-test-in: Add more tests of pow.
7096         * math/auto-libm-test-out: Regenerated.
7097         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7100 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7102         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7103         Make code unconditional.
7104         [!__NR_utimensat]: Remove conditional code.
7105         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7106         Make code unconditional.
7107         [!__NR_utimensat]: Remove conditional code.
7108         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7109         Make code unconditional.
7110         [!__NR_utimensat]: Remove conditional code.
7112 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7114         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7115         Make code unconditional.
7117 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7119         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7120         call-clobbered %eax on retry path.
7121         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7123 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7125         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7126         Don't set %rcx twice before "rep movsb".
7128 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7130         [BZ #19583]
7131         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7132         inline.  Check family before setting family, model and
7133         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7134         bits here.
7135         (init_cpu_features): Replace HAS_CPU_FEATURE and
7136         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7137         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7138         for Intel processors with usable AVX2.  Call get_common_indeces
7139         for other processors with family == NULL.
7140         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7141         (CPU_FEATURES_ARCH_P): Likewise.
7142         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7143         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7145 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7147         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7148         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7149         $(shared-thread-library) instead of hardcoding the path to libpthread.
7151 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7153         * sysdeps/unix/sysv/linux/kernel-features.h
7154         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7155         * sysdeps/unix/sysv/linux/getdents.c
7156         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7157         [!have_no_getdents64_defined]: Likewise.
7158         (__GETDENTS): Remove __have_no_getdents64 conditional.
7160 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7162         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7163         Remove macro.
7164         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7165         <kernel-features.h>.
7166         (signalfd) [__NR_signalfd4]: Make code unconditional.
7167         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7169 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7171         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7172         style.
7174 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7176         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7177         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7178         __pthread_unwind.
7179         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7180         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7181         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7182         (__condvar_cleanup1): Likewise.
7184 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7186         [BZ #19822]
7187         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7188         move it to the final $@ location.
7190 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7192         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7193         access where posix_spawn success and pid argument is null.
7194         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7195         success case.
7197 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7199         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7201         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7203         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7204         and __fcntl.
7205         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7206         __fcntl only.
7207         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7208         adding attribute_hidden to __open and __fcntl.
7210         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7211         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7212         depend on libc-modules.h,
7213         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7215 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7217         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7218         Remove macro.
7219         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7220         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7221         entry.
7223         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7224         Remove macro.
7225         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7226         include <kernel-features.h>.
7227         [!__ASSUME_FALLOCATE]: Remove conditional code.
7228         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7230 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7232         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7233         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7234         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7235         (_ZGVdN4v_cos_avx2): Likewise.
7236         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7237         (_ZGVdN4v_cos): Likewise.
7238         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7239         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7240         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7241         (_ZGVdN4v_exp_avx2): Likewise.
7242         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7243         (_ZGVdN4v_exp): Likewise.
7244         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7245         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7246         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7247         (_ZGVdN4v_log_avx2): Likewise.
7248         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7249         (_ZGVdN4v_log): Likewise.
7250         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7251         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7252         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7253         (_ZGVdN4vv_pow_avx2): Likewise.
7254         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7255         (_ZGVdN4vv_pow): Likewise.
7256         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7257         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7258         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7259         (_ZGVdN4v_sin_avx2): Likewise.
7260         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7261         (_ZGVdN4v_sin): Likewise.
7262         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7263         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7264         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7265         (_ZGVdN4vvv_sincos_avx2): Likewise.
7266         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7267         (_ZGVdN4vvv_sincos): Likewise.
7268         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7269         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7270         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7271         (_ZGVbN4v_cosf_sse4): Likewise.
7272         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7273         (_ZGVdN8v_cosf_avx2): Likewise.
7274         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7275         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7276         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7277         (_ZGVbN4v_expf_sse4): Likewise.
7278         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7279         (_ZGVdN8v_expf_avx2): Likewise.
7280         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7281         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7282         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7283         (_ZGVbN4v_logf_sse4): Likewise.
7284         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7285         (_ZGVdN8v_logf_avx2): Likewise.
7286         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7287         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7288         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7289         (_ZGVbN4vv_powf_sse4): Likewise.
7290         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7291         (_ZGVdN8vv_powf_avx2): Likewise.
7292         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7293         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7294         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7295         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7296         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7297         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7298         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7299         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7300         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7301         (_ZGVbN4v_sinf_sse4): Likewise.
7302         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7303         (_ZGVdN8v_sinf_avx2): Likewise.
7304         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7305         Use JUMPTARGET to call callee.
7306         (WRAPPER_IMPL_SSE2_ff): Likewise.
7307         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7308         (WRAPPER_IMPL_AVX): Likewise.
7309         (WRAPPER_IMPL_AVX_ff): Likewise.
7310         (WRAPPER_IMPL_AVX_fFF): Likewise.
7311         (WRAPPER_IMPL_AVX512): Likewise.
7312         (WRAPPER_IMPL_AVX512_ff): Likewise.
7313         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7314         Likewise.
7315         (WRAPPER_IMPL_SSE2_ff): Likewise.
7316         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7317         (WRAPPER_IMPL_AVX): Likewise.
7318         (WRAPPER_IMPL_AVX_ff): Likewise.
7319         (WRAPPER_IMPL_AVX_fFF): Likewise.
7320         (WRAPPER_IMPL_AVX512): Likewise.
7321         (WRAPPER_IMPL_AVX512_ff): Likewise.
7322         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7324 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7326         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7327         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7328         qualifier.
7329         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7330         internal_function qualifiers.
7332 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7334         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7335         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7336         * math/atest-exp.c (exp_mpn): Mark chk unused.
7337         * math/atest-exp2.c (exp_mpn): Likwise.
7338         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7339         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7341 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7343         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7344         Remove macro.
7345         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7346         <kernel-features.h>.
7347         [__NR_ppoll]: Make code unconditional.
7348         [!__ASSUME_PPOLL]: Remove conditional code.
7350         * sysdeps/unix/sysv/linux/kernel-features.h
7351         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7352         (__ASSUME_ACCEPT4): Likewise.
7353         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7354         Define.
7355         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7356         Likewise.
7357         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7358         Likewise.
7359         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7360         Likewise.
7361         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7362         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7363         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7364         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7365         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7366         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7367         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7368         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7369         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7370         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7371         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7372         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7373         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7374         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7375         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7376         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7377         Likewise.
7378         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7379         Likewise.
7380         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7381         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7382         0x040300].
7383         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7384         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7385         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7386         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7387         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7388         0x030300].
7389         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7390         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7391         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7392         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7393         0x040300].
7394         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7395         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7396         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7397         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7398         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7399         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7400         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7401         0x030300].
7402         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7403         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7404         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7405         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7406         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7407         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7408         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7409         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7410         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7411         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7412         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7413         0x040300].
7414         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7415         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7416         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7417         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7418         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7419         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7420         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7421         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7422         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7423         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7424         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7425         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7426         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7427         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7428         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7429         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7430         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7431         Likewise.
7432         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7433         Likewise.
7435 2016-03-15  Andreas Schwab  <schwab@suse.de>
7437         [BZ #19257]
7438         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7439         statp->_u._ext.nscount as loop count.
7441 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7443         * math/test-signgam-finite-c99.c: Also #undef
7444         __LIBC_INTERNAL_MATH_INLINES.
7445         * math/test-signgam-main.c: Likewise.
7447 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7449         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7450         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7451         (MADV_FREE): Likewise.
7452         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7453         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7454         EPOLLEXCLUSIVE.
7456 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7458         * timezone/README: Remove mention of checktab.awk. Mention wiki
7459         SharedSourceFiles.
7461 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7463         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7464         WUNTRACED.
7466 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7468         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7469         order to match the type of p when calling atomic_exchange_acq().
7471 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7473         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7474         cfi_offset calls.
7475         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7476         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7477         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7478         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7479         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7481 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7483         * timezone/checktab.awk: Removed.
7485 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7487         * manual/math.texi (Errors in Math Functions): Document relaxed
7488         accuracy goals for IBM long double.
7489         * math/libm-test.inc (test_exceptions): Always allow spurious
7490         "underflow" and "inexact" exceptions for IBM long double.
7492 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7494         [BZ #19762]
7495         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7496         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7497         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7498         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7499         (bit_arch_*): This for feature array.
7500         (bit_*): Renamed to ...
7501         (bit_cpu_*): This for cpu array.
7502         (index_*): Renamed to ...
7503         (index_arch_*): This for feature array.
7504         (index_*): Renamed to ...
7505         (index_cpu_*): This for cpu array.
7506         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7507         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7508         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7509         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7510         bit_##name with index_cpu_##name and bit_cpu_##name.
7511         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7512         bit_##name with index_arch_##name and bit_arch_##name.
7514 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7516         [BZ #19792]
7517         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7518         Terminate FDE before return label.
7520 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7522         [BZ #19790]
7523         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7524         (rintl): Define as macro.
7525         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7526         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7527         of fesetround.  Ensure results are evaluated before end of scope.
7528         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7529         USE_AS_NEARBYINTL and include s_rintl.c.
7530         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7531         Disable exception traps in new environment.
7532         (libc_feholdsetround_ppc_ctx): Likewise.
7534 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7536         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7537         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7538         (tst_audit10_aux) [__AVX512F__]: ... here.
7540 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7542         * include/sys/auxv.h: New file.
7544 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7546         [BZ #19759]
7547         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7549 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7551         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7552         operand modifier.
7553         (feclearexcept): Likewise.
7555 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7557         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7558         to reflect the entire 32-bit HWCAP.
7559         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7560         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7562 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7564         [BZ #19783]
7565         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7566         $(test-via-rtld-prefix).
7567         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7569 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7571         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7572         union wait.  Report any non-zero exit status as error.
7574 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7576         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7577         configured with --enable-hardcoded-path-in-tests.
7579 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7581         [BZ #19677]
7582         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7583         (__ieee754_remainderl): Put zero low parts in canonical form.
7584         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7585         file.  Based on
7586         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7587         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7588         with wrapper round test-fmodrem-ldbl-128ibm.c.
7589         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7590         file.
7591         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7592         Likewise.
7593         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7594         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7596 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7598         [BZ #19610]
7599         * elf/ldconfig.c (opt_link): Update comment.
7600         (options): Update help string for option -X.
7601         (search_dir): Unlink stale symbolic link only if updating symbolic
7602         links.
7603         * elf/tst-ldconfig-X.sh: New file.
7604         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7605         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7607 2016-03-07  Andreas Schwab  <schwab@suse.de>
7609         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7610         needed arguments.
7612 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7614         [BZ #15333]
7615         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7616         to lstat64.
7618 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7620         * libio/filedoalloc.c (isatty): Remove.
7621         (local_isatty): Add comment.  Call __isatty directly.
7622         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7623         * libio/wfiledoalloc.c (isatty): Remove.
7624         (_IO_wfile_doallocate): Update comment.
7626 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7628         [BZ #19269]
7629         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7630         tst-audit4-aux.o.
7631         (tst-audit10): Depend on tst-audit10-aux.o.
7632         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7633         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7634         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7635         instead of inline AVX code.
7636         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7637         instead of inline AVX512 code.
7638         * sysdeps/x86_64/tst-audit4-aux.c: New file
7639         * sysdeps/x86_64/tst-audit10-aux.c: New file
7641         [BZ #19648]
7642         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7644 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7646         [BZ #14750]
7647         [BZ #10354]
7648         [BZ #18433]
7649         * include/sched.h (__clone): Add hidden prototype.
7650         (__clone2): Likewise.
7651         * include/unistd.h (__dup): Likewise.
7652         * posix/Makefile (tests): Add tst-spawn2.
7653         * posix/tst-spawn2.c: New file.
7654         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7655         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7656         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7657         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7658         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7659         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7660         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7661         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7662         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7663         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7664         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7666         Likewise.
7667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7668         Likewise.
7669         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7670         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7671         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7672         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7673         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7674         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7675         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7676         * sysdeps/unix/sysv/linux/nptl-signals.h
7677         (____nptl_is_internal_signal): New function.
7678         * sysdeps/unix/sysv/linux/spawni.c: New file.
7680         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7681         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7682         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7683         * posix/tst-execvp2.c (do_test): Likewise.
7684         * posix/tst-execvp3.c (do_test): Likewise.
7685         * posix/tst-execvp4.c (do_test): Likewise.
7686         * posix/tst-execvpe1.c: New file.
7687         * posix/tst-execvpe2.c: Likewise.
7688         * posix/tst-execvpe3.c: Likewise.
7689         * posix/tst-execvpe4.c: Likewise.
7690         * posix/tst-execvpe5.c: Likewise.
7691         * posix/tst-execvpe6.c: Likewise.
7693         [BZ #19534]
7694         * posix/execl.c (execl): Remove dynamic memory allocation.
7695         * posix/execle.c (execle): Likewise.
7696         * posix/execlp.c (execlp): Likewise.
7698 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7700         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7701         Replace .text with .text.avx512.
7702         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7703         Likewise.
7705 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7707         * sysdeps/generic/libnsl.abilist: New file.
7708         * sysdeps/generic/libutil.abilist: New file.
7710 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7712         [BZ #19762]
7713         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7714         HAS_ARCH_FEATURE with Fast_Rep_String.
7715         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7716         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7717         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7718         Likewise.
7719         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7720         Likewise.
7721         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7722         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7723         Likewise.
7724         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7725         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7726         Likewise.
7728 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7730         [BZ #19745]
7731         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7732         with *%rax in call.
7734 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7736         [BZ #19745]
7737         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7738         with *__libc_start_main@GOTPCREL(%rip) in call.
7740 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7742         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7743         inside conditional for nonempty $(CXX).
7745         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7746         nonempty.
7748         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7749         to test for empty $(CXX) rather than $(CXX) of "no".
7751 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7753         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7755 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7756             H.J. Lu  <hongjiu.lu@intel.com>
7758         [BZ #18880]
7759         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7760         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7761         enable __memcpy_ssse3_back.
7763 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7765         [BZ #19758]
7766         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7767         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7769 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7771         [BZ #19490]
7772         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7773         (__fentry__): Likewise.
7775 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7777         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7778         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7780 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7782         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7783         __mcount_internal directly.
7784         (C_LABEL(__fentry__)): Likewise.
7785         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7786         directly.
7788 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7790         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7791         (__start_context): Call __setcontext directly.
7793 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7795         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7796         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7797         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7798         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7799         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7800         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7801         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7802         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7803         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7804         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7805         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7806         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7807         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7808         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7809         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7810         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7811         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7812         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7813         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7814         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7815         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7816         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7817         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7818         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7819         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7820         Remove conditional code.
7821         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7822         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7823         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7824         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7825         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7826         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7827         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7828         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7829         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7830         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7831         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7832         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7834 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7836         * NEWS (2.23): Fix typo in bug 19048 text.
7838 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7840         [BZ #14259]
7841         * Makeconfig: Rename msgcatdir to localedir.
7842         Rename inst_msgcatdir to inst_localedir.
7843         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7844         * config.make.in: Add localedir.
7845         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7846         (ldd-rewrite): Likewise.
7847         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7848         (install-others): Use inst_localedir.
7849         (CPPFLAGS): Use localedir.
7850         * locale/Makefile (locale-CPPFLAGS): Likewise.
7851         * po/Makefile (mo-installed): Use inst_localedir.
7853         [BZ #19575]
7854         * localedata/charmaps/GB18030: Update comments regarding PAU to
7855         non-PUA mappings.
7857 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7859         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7860         test for header.
7861         * sysdeps/unix/sysv/linux/configure: Regenerated.
7862         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7863         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7864         Remove conditional code.
7865         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7867         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7868         Define to 3.2.0.
7869         (arch_minimum_kernel): Likewise.
7870         * sysdeps/unix/sysv/linux/configure: Regenerated.
7871         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7872         Define to 2.6.32.
7873         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7874         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7875         (arch_minimum_kernel): Define to 2.6.32.
7876         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7877         * README: Document Linux 3.2 requirement.
7878         * manual/install.texi (Linux): Document Linux 3.2 headers
7879         requirement.
7880         * INSTALL: Regenerated.
7882 2016-02-24  Andreas Schwab  <schwab@suse.de>
7884         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7885         if !NO_LONG_DOUBLE.
7887 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7889         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7890         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7892 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7894         [BZ #19512]
7895         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7897 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7899         * posix/tst-dir.c: Include libc-internal.h.
7901 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7903         [BZ #19056]
7904         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7905         * manual/filesys.texi (Reading/Closing Directory): Mention
7906         deprecaion.
7907         * posix/tst-dir.c (main): Disable deprecation warning in test.
7909 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7911         [BZ #19679]
7912         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7913         Renamed to ...
7914         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7915         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7916         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7917         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7918         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7919         * sysdeps/x86_64/dl-trampoline.h
7920         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7921         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7923 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7925         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7927 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7929         * elf/elf.h (R_386_GOT32X): New.
7930         (R_386_NUM): Update.
7931         (R_X86_64_GOTPCRELX: New.
7932         (R_X86_64_REX_GOTPCRELX): New.
7933         (R_X86_64_NUM): Update.
7935 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7937         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7939 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7941         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7942         assign attr->stackaddr to it, and adjust it down when
7943         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7944         [_STACK_GROWS_UP]: Delete assert.
7945         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7946         Implement stack grows up logic.
7947         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7948         stack grows up logic.
7950 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7952         * NEWS: Update with 2.24 template.
7954 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7956         [BZ #19678]
7957         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7958         Ensure +0.0 is returned when taking the next value below the least
7959         positive value.
7961 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7963         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7964         available.  Do not define NO_THREADS.
7965         * malloc/malloc.c: Do not check NO_THREADS.
7966         * malloc/arena.c: Likewise.
7968 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7970         * malloc/malloc.c (__libc_mallinfo): Update comment.
7971         (struct malloc_par): Remove max_total_mem member, it was always 0.
7972         (int_mallinfo): Store 0 into usmblks (no functional change).
7973         * malloc/hooks.c (struct malloc_state): Document that
7974         max_total_mem is always 0.
7975         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7976         always 0.
7977         * manual/memory.texi (Statistics of Malloc): Likewise.
7979 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7981         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7982         * malloc/arena.c (arena_max): Remove.
7983         (heap_trim, _int_new_arena): Do not update arena_max.
7985 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7987         * resolv/res_init.c (res_ninit): Update comment.
7989 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7991         [BZ #19505]
7992         * posix/spawn_int.h: Add headers and include guard.
7993         (__spawn_valid_fd): New function.
7994         * posix/spawn_faction_addopen.c
7995         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7996         * posix/spawn_faction_addclose.c
7997         (posix_spawn_file_actions_addclose): Likewise.
7998         * posix/spawn_faction_adddup2.c
7999         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8000         second file descriptor.
8001         * posix/spawn_valid_fd.c: New file.
8002         * posix/tst-posix_spawn-fd.c: New file.
8003         * posix/Makefile (routines): Add spawn_valid_fd.
8004         (tests): Add tst-posix_spawn-fd.
8006 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8008         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8009         (do_test): Limit the number of arenas, so that we can use fewer
8010         outer threads.  Limit timeout to 3 seconds, in preparation for a
8011         larger TIMEOUT value.
8013 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8015         [BZ #19674]
8016         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8017         sign in overflowing and underflowing results when overflow or
8018         underflow is detected early.  Include sign in result before rather
8019         than after scaling.
8021         [BZ #19603]
8022         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8023         (__ieee754_remainderl): Adjust sign of integer version of low part
8024         when taking absolute value of high part.
8025         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8026         * math/libm-test.inc (remainder_test_data): Add another test.
8027         (remquo_test_data): Likewise.
8029 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8031         [BZ #19602]
8032         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8033         equal high parts and both low parts zero specially.
8034         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8035         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8036         Add test-fmodl-ldbl-128ibm.
8038         [BZ #19595]
8039         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8040         common logic for all cases of shifting subnormal results.  Do not
8041         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8042         exponent to ldbl_insert_mantissa in subnormal case.
8044         [BZ #19594]
8045         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8046         on high and low parts then adjust result and use
8047         ldbl_canonicalize_int if needed.
8049         [BZ #19593]
8050         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8051         on high part and __floor or __ceil on low part then use
8052         ldbl_canonicalize_int if needed.
8054         [BZ #19592]
8055         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8056         high and low parts then use ldbl_canonicalize_int if needed.
8058         [BZ #17899]
8059         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8060         New function.
8061         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8062         on high and low parts then use ldbl_canonicalize_int if needed.
8064 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8066         * configure: Regenerated.
8068         * po/libc.pot: Regenerated.
8070         * po/be.po: Updated translation.
8071         * po/bg.po: Likewise.
8072         * po/ca.po: Likewise.
8073         * po/cs.po: Likewise.
8074         * po/da.po: Likewise.
8075         * po/el.po: Likewise.
8076         * po/eo.po: Likewise.
8077         * po/es.po: Likewise.
8078         * po/fi.po: Likewise.
8079         * po/fr.po: Likewise.
8080         * po/gl.po: Likewise.
8081         * po/hr.po: Likewise.
8082         * po/hu.po: Likewise.
8083         * po/ia.po: Likewise.
8084         * po/id.po: Likewise.
8085         * po/it.po: Likewise.
8086         * po/ja.po: Likewise.
8087         * po/lt.po: Likewise.
8088         * po/nb.po: Likewise.
8089         * po/nl.po: Likewise.
8090         * po/pt_BR.po: Likewise.
8091         * po/rw.po: Likewise.
8092         * po/sk.po: Likewise.
8093         * po/sl.po: Likewise.
8094         * po/sv.po: Likewise.
8095         * po/tr.po: Likewise.
8096         * po/zh_CN.po: Likewise.
8097         * po/zh_TW.po: Likewise.
8099         * version.h (RELEAES): Set to "development".
8100         (VERSION): Set to 2.23.90.
8102         * version.h (RELEASE): Set to "stable".
8103         (VERSION): Set to 2.23.
8104         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8106         * NEWS: Updated fixed bugs.
8108 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8109             Wilco Dijkstra  <wdijkstr@arm.com>
8111         [BZ #19462]
8112         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8113         (_STRING_INLINE_unaligned): This.
8114         * include/string.h: Include <string_private.h>.
8115         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8116         _STRING_INLINE_unaligned.
8117         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8118         (_STRING_INLINE_unaligned): New.
8119         * sysdeps/aarch64/string_private.h: New file.
8120         * sysdeps/generic/string_private.h: Likewise.
8121         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8122         * sysdeps/s390/string_private.h: Likewise.
8123         * sysdeps/x86/string_private.h: Likewise.
8124         * sysdeps/m68k/m680x0/m68020/bits/string.h
8125         (_STRING_ARCH_unaligned): Renamed to ...
8126         (_STRING_INLINE_unaligned): This.
8127         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8128         to ...
8129         (_STRING_INLINE_unaligned): This.
8130         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8131         to ...
8132         (_STRING_INLINE_unaligned): This.
8133         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8134         to ...
8135         (_STRING_INLINE_unaligned): This.
8137 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8138             H.J. Lu  <hongjiu.lu@intel.com>
8140         [BZ #19590]
8141         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8142         relocation.
8144 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8146         [BZ #18665]
8147         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8148         *herrno_p.
8149         (gaih_getanswer): Document functional behviour. Return tryagain
8150         if any result is tryagain.
8151         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8152         when freed.
8153         * resolv/res_send.c: Add copyright text.
8154         (__libc_res_nsend): Document that MAXPACKET is expected.
8155         (send_vc): Document. Remove buffer reuse.
8156         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8157         size of the buffer. Add Dprint for truncated UDP buffer.
8159 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8161         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8162         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8163         * INSTALL: Regenerate.
8165 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8166             Jonathan Wakely  <jwakely@redhat.com>
8167             Carlos O'Donell  <carlos@redhat.com>
8169         [BZ 19439]
8170         * math/Makefile (tests): Add test-math-isinff.
8171         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8172         * math/bits/mathcalls.h [__USE_MISC]: Use
8173         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8174         functions not in C++11 and which don't conflict e.g. isinff,
8175         isinfl etc.
8176         * math/test-math-isinff.cc: New file.
8178 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8180         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8182 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8184         [BZ #19529]
8185         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8187 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8189         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8191 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8193         [BZ #19550]
8194         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8195         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8196         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8197         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8198         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8199         New syscall entry.
8200         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8201         New syscall entry.
8202         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8203         syscall entry.
8205 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8207         [BZ #18240]
8208         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8209         unsigned int wraparound.
8211 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8213         [BZ #18240]
8214         * misc/bug18240.c: New test.
8215         * misc/Makefile (tests): Add it.
8217 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8218             Joseph Myers  <joseph@codesourcery.com>
8220         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8221         load in branch delay slot when less than a word of input left.
8223 2016-01-27  Andreas Schwab  <schwab@suse.de>
8225         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8226         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8227         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8228         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8230 2016-01-26  David S. Miller  <davem@davemloft.net>
8232         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8234 2016-01-25  David S. Miller  <davem@davemloft.net>
8236         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8237         __sqrtl_finite.
8238         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8239         instead using versioned_symbol.
8240         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8241         of entries.
8243         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8244         __sqrtl_finite to GLIBC_2.23
8246 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8248         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8250 2016-01-25  Andreas Schwab  <schwab@suse.de>
8252         [BZ #17514]
8253         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8254         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8255         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8256         * nptl/tst-mutex-errorcheck.c: New file.
8258 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8260         [BZ #18560]
8261         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8262         (IPCOP_semop): Likewise.
8263         (IPCOP_semget): Likewise.
8264         (IPCOP_semctl): Likewise.
8265         (IPCOP_msgsnd): Likewise.
8266         (IPCOP_msgrcv): Likewise.
8267         (IPCOP_msgget): Likewise.
8268         (IPCOP_msgctl): Likewise.
8269         (IPCOP_shmat): Likewise.
8270         (IPCOP_shmdt): Likewise.
8271         (IPCOP_shmget): Likewise.
8272         (IPCOP_shmctl): Likewise.
8274 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8276         * string/tst-endian.c: Include <libc-internal.h>.
8277         (do_test): Ignore tautological-compare warnings around
8278         "htobeXX (beXXtoh (i)) != i" and
8279         "htoleXX (leXXtoh (i)) != i" if-statements.
8281 2016-01-24  David S. Miller  <davem@davemloft.net>
8283         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8284         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8285         alias.
8286         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8287         __sqrtl_finite.
8289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8291 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8293         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8294         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8295         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8297 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8299         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8300         (thread_func): Use new function to simplify barrier check.
8301         (do_test): Use new function to simplify checking barrier exit
8302         code, and actually join the child thread.
8304 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8306         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8307         semicolon.
8308         (__libc_tend): Likewise.
8309         (__libc_tabort): Likewise.
8311 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8313         * sysdeps/nios2/libm-test-ulps: Update.
8314         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8315         (__gtsf2): Likewise.
8316         (__unorddf2): Likewise.
8317         (__unordsf2): Likewise.
8318         (__ledf2): Likewise.
8320 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8322         * nis/nis_table.c (__follow_path): Disable diagnostic for
8323         uninitialized variable that is a false positive for gcc 4.7.
8324         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8326 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8328         * sysdeps/nacl/lowlevellock-futex.h
8329         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8330         Always evaluate PRIVATE argument.
8332 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8334         [BZ #19490]
8335         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8336         (pthread_cond_broadcast): Use ENTRY/END
8337         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8338         (pthread_cond_signal): Likewise.
8339         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8340         Likewise.
8341         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8342         Likewise.
8343         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8344         Likewise.
8346 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8348         * sysdeps/ieee754/dbl-64/s_finite.c
8349         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8350         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8351         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8352         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8353         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8356         (__gtsf2): Add as optional for libc.so.
8357         (__unordsf2): Likewise.
8358         (__signbit): Remove for libc.so.
8359         (__signbitl): Likewise.
8361 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8363         * iconvdata/bug-iconv11.c (test_ibm93x):
8364         Use %zu printf format specifier for size_t argument.
8366 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8368         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8369         already-recorded ulps.
8370         * sysdeps/arm/libm-test-ulps: Regenerated.
8371         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8372         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8373         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8375 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8376             Paul Pluzhnikov  <ppluzhnikov@google.com>
8378         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8379         assembler not supporting AVX-512.
8381 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8383         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8385 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8387         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8388         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8390         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8392         * sysdeps/arm/libm-test-ulps: Regenerated.
8394 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8396         [BZ #19451]
8397         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8399 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8401         [BZ #19486]
8402         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8403         * sysdeps/generic/fix-fp-int-convert-overflow.h
8404         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8405         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8406         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8407         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8408         Likewise.
8409         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8410         Avoid conversions to long int where inexact exceptions
8411         could be raised.
8412         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8413         Likewise.
8414         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8415         Avoid conversions to long long int where inexact exceptions
8416         could be raised.
8417         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8418         Likewise.
8420 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8422         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8423         * configure: Regenerated.
8425 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8427         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8429 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8431         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8432         outside of comment.
8434 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8436         * nptl/tst-barrier1.c: Add description on first line.
8437         * nptl/tst-barrier2.c: Likewise.
8438         * nptl/tst-barrier3.c: Likewise.
8439         * nptl/tst-barrier4.c: Likewise.
8440         * nptl/tst-barrier5.c: Likewise.
8442 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8444         [BZ #18868]
8445         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8447 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8451         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8452         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8453         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8454         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8455         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8456         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8457         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8458         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8459         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8461 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8463         [BZ #13065]
8464         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8465         new implementation.
8466         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8467         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8468         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8469         (BARRIER_IN_THRESHOLD): New macro.
8470         * nptl/pthread_barrierattr_setpshared.c
8471         (pthread_barrierattr_setpshared): Clean up.
8472         * nptl/tst-barrier4.c: Correct comment.
8473         * nptl/tst-barrier5.c: New file.
8474         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8475         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8476         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8477         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8478         * nptl/lowlevelbarrier.sym: Remove.
8479         * nptl/DESIGN-barrier.txt: Remove.
8480         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8481         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8482         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8483         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8484         error.
8485         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8486         implementation.
8488 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8490         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8491         (do_child): Mask SIGRTMIN while thr is running.
8493 2016-01-15  Martin Sebor  <msebor@redhat.com>
8495         [BZ #19432]
8496         * iconvdata/Makefile: Add bug-iconv11.
8497         * iconvdata/bug-iconv11.c: New test.
8498         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8499         * iconvdata/ibm933.c: Same.
8500         * iconvdata/ibm935.c: Same.
8501         * iconvdata/ibm937.c: Same.
8502         * iconvdata/ibm939.c: Same.
8504 2016-01-15  Martin Sebor  <msebor@redhat.com>
8506         [BZ #19443]
8507         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8508         [DEBUG] (_ufc_set_bits): Declare used.
8509         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8510         [DEBUG] (print_all): Declare used.
8511         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8512         operands of the ternary ?: expression to target type.
8513         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8514         calling the undeclared abort.
8515         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8517 2016-01-15  Martin Sebor  <msebor@redhat.com>
8519         [BZ #18755]
8520         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8521         warnings.
8522         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8523         (__gai_create_helper_thread): Same.
8524         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8525         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8526         to suppress -Wmaybe-uninitialized warnings.
8528 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8530         [BZ #19465]
8531         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8532         inside if.
8533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8534         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8535         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8537 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8539         [BZ #19466]
8540         * time/tst-mktime2.c (time_t_max): Removed.
8541         (time_t_min): Likewise.
8542         (TYPE_SIGNED): New.
8543         (TYPE_MINIMUM): Likewise.
8544         (TYPE_MAXIMUM): Likewise.
8545         (TIME_T_MIN): Likewise.
8546         (TIME_T_MAX): Likewise.
8547         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8548         and TIME_T_MIN.
8549         (do_test): Likewise.
8551 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8553         [BZ #19467]
8554         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8555         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8557 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8559         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8561 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8563         * benchtests/Makefile (PYTHON): Define.
8564         (bench-func): Use $(PYTHON) to run python scripts.
8565         ($(objpfx)bench-%.c): Likewise.
8567 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8569         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8570         leading slash when `file_name' is "/".
8572 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8574         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8575         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8576         Likewise.
8577         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8578         Likewise.
8579         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8580         Likewise.
8581         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8582         enum constant and macro.
8583         (PTRACE_SETSIGMASK): Likewise.
8584         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8585         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8586         (PTRACE_GETSIGMASK): Likewise.
8587         (PTRACE_SETSIGMASK): Likewise.
8588         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8589         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8590         Likewise.
8591         (PTRACE_SETSIGMASK): Likewise.
8592         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8593         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8594         (PTRACE_GETSIGMASK): Likewise.
8595         (PTRACE_SETSIGMASK): Likewise.
8596         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8597         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8598         Likewise.
8599         (PTRACE_SETSIGMASK): Likewise.
8600         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8601         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8602         Likewise.
8603         (PTRACE_SETSIGMASK): Likewise.
8604         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8605         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8606         Likewise.
8607         (PTRACE_SETSIGMASK): Likewise.
8608         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8610 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8611             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8613         [BZ #19439]
8614         * math/bits/mathcalls.h
8615         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8616         prototype.
8617         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8619 2016-01-11  Andreas Schwab  <schwab@suse.de>
8621         [BZ #19253]
8622         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8623         cache when TZDEFRULES was used.
8624         * time/tst-tzname.c: New file.
8625         * time/Makefile (test): Add tst-tzname.
8626         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8627         * timezone/Makefile (test-zones): Add $(posixrules-file).
8628         ($(testdata)/$(posixrules-file)): New rule.
8630 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8632         Fix doc quoting problems with Texinfo 5
8633         Without this change, in the info file output, Texinfo 5 quotes code
8634         in text with undirected single quotes 'like this' and generates
8635         code examples that with many PDF readers cannot be cut out of PDFs
8636         and pasted into code.
8637         * manual/libc.texinfo: Configure the libc manual like the GNU
8638         Emacs manual, by using @documentencoding and setting
8639         txicodequoteundirected and txicodequotebacktick.  This way,
8640         Texinfo 5 quotes code in text with directed single quotes ‘like
8641         this’ and produces examples that can be cut out of PDFs.  This
8642         change causes Texinfo 5 to generate info files that contain UTF-8
8643         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8644         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8646 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8648         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8649         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8650         barriers to their respective compiler built-ins.
8651         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8652         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8653         * sysdeps/powerpc/sysdep.h: Likewise.
8654         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8655         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8656         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8658 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8660         * scripts/config.guess: Revert previous shebang change.
8661         * scripts/config.sub: Likewise.
8662         * scripts/mkinstalldirs: Likewise.
8664 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8666         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8667         PPC_FEATURE2_HAS_IEEE128.
8668         * sysdeps/powerpc/dl-procinfo.c:
8669         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8671 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8673         [BZ #19415]
8674         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8675         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8676         (_dl_lookup_address): Rewrite using function resolver trampoline.
8677         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8678         two bits in address.
8680 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8682         * longlong.h: Change !__SHMEDIA__ to
8683         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8684         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8686 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8687             Joseph Myers  <joseph@codesourcery.com>
8688             Mark Shinwell  <shinwell@codesourcery.com>
8689             Andrew Stubbs  <ams@codesourcery.com>
8690             Rich Felker <dalias@libc.org>
8692         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8694 2016-01-07  Richard Henderson  <rth@redhat.com>
8696         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8698 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8700         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8701         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8702         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8703         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8704         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8706 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8707             Joseph Myers  <joseph@codesourcery.com>
8709         * timezone/private.h: Update from tzcode 2015g.
8710         * timezone/tzfile.h: Likewise.
8711         * timezone/tzselect.ksh: Likewise.
8712         * timezone/zdump.c: Likewise.
8713         * timezone/zic.c: Likewise.
8714         * timezone/ialloc.c: Remove file.
8715         * timezone/scheck.c: Likewise.
8716         * timezone/Makefile (extra-objs): Remove variable.
8717         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8718         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8719         -Wno-maybe-uninitialized.
8720         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8721         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8722         (CFLAGS-ialloc.c): Remove variable.
8723         (CFLAGS-scheck.c): Likewise.
8724         * timezone/README: Update list of files from tzcode.
8726 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8728         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8729         instead of __fxprintf when _LIBC is undefined.
8731 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8733         * catgets/test-gencat.sh: Remove space after shebang.
8734         * conform/GlibcConform.pm: Likewise.
8735         * conform/check-header-lists.sh: Likewise.
8736         * conform/conformtest.pl: Likewise.
8737         * conform/linknamespace.pl: Likewise.
8738         * conform/list-header-symbols.pl: Likewise.
8739         * debug/catchsegv.sh: Likewise.
8740         * elf/genrtldtbl.awk: Likewise.
8741         * elf/tst-pathopt.sh: Likewise.
8742         * elf/tst-rtld-load-self.sh: Likewise.
8743         * grp/tst_fgetgrent.sh: Likewise.
8744         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8745         * iconvdata/gen-8bit-gap.sh: Likewise.
8746         * iconvdata/gen-8bit.sh: Likewise.
8747         * iconvdata/run-iconv-test.sh: Likewise.
8748         * intl/tst-gettext.sh: Likewise.
8749         * intl/tst-gettext2.sh: Likewise.
8750         * intl/tst-gettext4.sh: Likewise.
8751         * intl/tst-gettext6.sh: Likewise.
8752         * intl/tst-translit.sh: Likewise.
8753         * io/ftwtest-sh: Likewise.
8754         * libio/test-freopen.sh: Likewise.
8755         * locale/gen-translit.pl: Likewise.
8756         * malloc/tst-mtrace.sh: Likewise.
8757         * manual/check-safety.sh: Likewise.
8758         * manual/libc-texinfo.sh: Likewise.
8759         * manual/tsort.awk: Likewise.
8760         * manual/xtract-typefun.awk: Likewise.
8761         * nptl/tst-cancel-wrappers.sh: Likewise.
8762         * nptl/tst-tls6.sh: Likewise.
8763         * posix/globtest.sh: Likewise.
8764         * posix/tst-getconf.sh: Likewise.
8765         * posix/wordexp-tst.sh: Likewise.
8766         * scripts/check-c++-types.sh: Likewise.
8767         * scripts/check-local-headers.sh: Likewise.
8768         * scripts/config.guess: Likewise.
8769         * scripts/config.sub: Likewise.
8770         * scripts/cpp: Likewise.
8771         * scripts/cross-test-ssh.sh: Likewise.
8772         * scripts/documented.sh: Likewise.
8773         * scripts/evaluate-test.sh: Likewise.
8774         * scripts/gen-libc-abis: Likewise.
8775         * scripts/gen-sorted.awk: Likewise.
8776         * scripts/list-fixed-bugs.py: Likewise.
8777         * scripts/merge-test-results.sh: Likewise.
8778         * scripts/mkinstalldirs: Likewise.
8779         * scripts/rellns-sh: Likewise.
8780         * scripts/test-installation.pl: Likewise.
8781         * scripts/update-copyrights: Likewise.
8782         * stdio-common/tst-printf.sh: Likewise.
8783         * stdio-common/tst-unbputc.sh: Likewise.
8784         * stdlib/tst-fmtmsg.sh: Likewise.
8785         * stdlib/tst-setcontext3.sh: Likewise.
8786         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8787         * sysdeps/unix/make-syscalls.sh: Likewise.
8789 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8791         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8792         asm stw with atomic_exchange_rel.  Add explanatory comment.
8793         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8794         Likewise.
8796 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8798         [BZ #19122]
8799         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8800         * sysdeps/generic/dl-unistd.h: New file.
8801         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8803 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8805          [BZ #19122]
8806          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8807          * sysdeps/generic/dl-mman.h: New file.
8808          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8810 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8812         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8813         trailing whitespace removed.
8814         * scripts/config.guess: Update to version 2016-01-01.
8815         * scripts/config.sub: Update to version 2016-01-01.
8816         * scripts/move-if-change: Update from gnulib.
8818 2016-01-04  Anton Blanchard  <anton@samba.org>
8820         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8821         for array indices.
8822         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8824 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8826         * NEWS: Update copyright dates.
8827         * catgets/gencat.c (print_version): Likewise.
8828         * csu/version.c (banner): Likewise.
8829         * debug/catchsegv.sh: Likewise.
8830         * debug/pcprofiledump.c (print_version): Likewise.
8831         * debug/xtrace.sh (do_version): Likewise.
8832         * elf/ldconfig.c (print_version): Likewise.
8833         * elf/ldd.bash.in: Likewise.
8834         * elf/pldd.c (print_version): Likewise.
8835         * elf/sotruss.sh: Likewise.
8836         * elf/sprof.c (print_version): Likewise.
8837         * iconv/iconv_prog.c (print_version): Likewise.
8838         * iconv/iconvconfig.c (print_version): Likewise.
8839         * locale/programs/locale.c (print_version): Likewise.
8840         * locale/programs/localedef.c (print_version): Likewise.
8841         * login/programs/pt_chown.c (print_version): Likewise.
8842         * malloc/memusage.sh (do_version): Likewise.
8843         * malloc/memusagestat.c (print_version): Likewise.
8844         * malloc/mtrace.pl: Likewise.
8845         * manual/libc.texinfo: Likewise.
8846         * nptl/version.c (banner): Likewise.
8847         * nscd/nscd.c (print_version): Likewise.
8848         * nss/getent.c (print_version): Likewise.
8849         * nss/makedb.c (print_version): Likewise.
8850         * posix/getconf.c (main): Likewise.
8851         * scripts/test-installation.pl: Likewise.
8852         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8854         * All files with FSF copyright notices: Update copyright dates
8855         using scripts/update-copyrights.
8856         * intl/plural.c: Regenerated.
8857         * locale/programs/charmap-kw.h: Likewise.
8858         * locale/programs/locfile-kw.h: Likewise.
8860 2016-01-02  Helge Deller  <deller@gmx.de>
8862         [BZ #19285]
8863         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8864         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8865         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8866         (MADV_xxK_PAGES): Remove.
8868 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8870         [BZ #15421]
8871         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8872         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8873         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8874         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8876 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8878         [BZ #19408]
8879         * sysdeps/unix/sysv/linux/personality.c: New file.
8880         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8881         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8882         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8883         (sysdep_routines): Add personality.
8884         (tests): Add tst-personality.
8885         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8886         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8887         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8888         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8889         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8890         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8891         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8892         Likewise.
8893         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8894         Likewise.
8895         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8896         Likewise.
8897         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8898         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8899         Likewise.
8901 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8903         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8904         (PATH_ARM_SYSTYPE): Remove.
8905         (PATH_CPUINFO): Likewise.
8906         (IO_BASE_FOOTBRIDGE): Likewise.
8907         (IO_SHIFT_FOOTBRIDGE): Likewise.
8908         (struct platform): Likewise.
8909         (init_iosys): Remove compatibility code for 2.4 kernels.
8910         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8912 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8914         * malloc/tst-malloc-thread-fail.c: New file.
8915         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8916         (tst-malloc-thread-fail): Link against libpthread.
8918 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8920         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8921         (get_parser): New function.
8922         (main): New function.
8924 2015-12-29  Rob Wu  <rob@robwu.nl>
8926         [BZ #19369]
8927         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8929 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8931         [BZ #19270]
8932         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8934 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8936         [BZ #15421]
8937         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8939 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8941         [BZ #13690]
8942         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8943         after releasing it.
8944         (__lll_robust_unlock): Likewise.
8945         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8946         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8947         (lll_robust_unlock): Likewise.
8948         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8949         Prevent warnings in callers.
8951 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8953         * malloc/arena.c (list_lock): Update comment.
8955 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8957         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8958         __parse_hwcap_and_convert_at_platform to libc.a.
8960 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8962         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8963         platform and feature support for POWER9.
8964         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8965         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8966         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8967         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8968         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8969         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8970         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8971         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8973 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8975         Harmonize generic stdio-lock support with nptl
8977         This fixes build when _IO_funlockfile is a macro, fixes build where
8978         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8979         stack unwind.
8981         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8982         _IO_release_lock ): Use cleanup attribute on new
8983         _IO_acquire_lock_file variable instead of assuming that
8984         _IO_release_lock will be called.
8985         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8986         _IO_acquire_lock_needs_exceptions_enabled.
8987         (_IO_acquire_lock_clear_flags2): New macro.
8989 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8991         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8993 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8995         [BZ #19182]
8996         * malloc/arena.c (list_lock): Document lock ordering requirements.
8997         (free_list_lock): New lock.
8998         (ptmalloc_lock_all): Comment on free_list_lock.
8999         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9000         (detach_arena): Update comment.  free_list_lock is now needed.
9001         (_int_new_arena): Use free_list_lock around detach_arena call.
9002         Acquire arena lock after list_lock.  Add comment, including FIXME
9003         about incorrect synchronization.
9004         (get_free_list): Switch to free_list_lock.
9005         (reused_arena): Acquire free_list_lock around detach_arena call
9006         and attached threads counter update.  Add two FIXMEs about
9007         incorrect synchronization.
9008         (arena_thread_freeres): Switch to free_list_lock.
9009         * malloc/malloc.c (struct malloc_state): Update comments to
9010         mention free_list_lock.
9012 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9014         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9015         Remove functions.
9016         (sloww, sloww1): Accept argument to offset quadrant.
9017         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9018         quadrant.
9019         (__sin, __cos): Consolidate common code into new functions.
9020         (reduce_sincos_1, do_sincos_1): New functions.
9021         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9024         code to new functions.
9025         (reduce_sincos_2, do_sincos_2): New functions.
9026         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9028         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9029         common code for sincos.
9030         (__cos) [!IN_SINCOS]: Likewise.
9031         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9032         New function.
9033         (__sincos): Use it.
9035 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9037         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9038         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9039         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9041 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9043         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9044         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9045         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9046         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9047         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9048         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9049         index_Prefer_No_VZEROUPPER): New feature.
9050         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9051         Prefer_No_VZEROUPPER for Knights Landing.
9053 015-12-18  Torvald Riegel  <triegel@redhat.com>
9055         * math/atest-exp2.c (mp_exp_m1): Remove.
9057 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9059         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9060         syscalls.
9061         (__SYSCALL0): New macro.
9062         (__SYSCALL1): Likewise.
9063         (__SYSCALL2): Likewise.
9064         (__SYSCALL3): Likewise.
9065         (__SYSCALL4): Likewise.
9066         (__SYSCALL5): Likewise.
9067         (__SYSCALL6): Likewise.
9068         (__SYSCALL_CONCAT_X): Likewise.
9069         (__SYSCALL_CONCAT): Likewise.
9070         (__SYSCALL_DIST): Likewise.
9071         (__SYSCALL_CALL): Likewise.
9073 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9075         [BZ #19363]
9076         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9078 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9080         [BZ #19375]
9081         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9082         negative subnormals.
9084 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9087         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9088         (INTERNAL_SYSCALL_NCS): Use it.
9089         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9091 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9093         [BZ #19243]
9094         * malloc/arena.c (get_free_list): Remove assert and adjust
9095         reference count handling.  Add comment about reused_arena
9096         interaction.
9097         (reused_arena): Add comments abount get_free_list interaction.
9098         * malloc/tst-malloc-thread-exit.c: New file.
9099         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9100         (tst-malloc-thread-exit): Link against libpthread.
9102 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9104         [BZ #19367]
9105         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9106         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9107         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9108         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9109         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9111 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9113         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9114         Silvermont optimizations for Knights Landing.
9116 2015-12-15  Andreas Schwab  <schwab@suse.de>
9118         [BZ #17197]
9119         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9120         immediately after emitting SI.
9121         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9122         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9123         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9124         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9125         * iconvdata/bug-iconv10.c: New file.
9126         * iconvdata/Makefile (tests): Add bug-iconv10.
9127         ($(objpfx)bug-iconv10.out): New rule.
9129 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9131         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9132         aliasing violation.
9134 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9136         [BZ #18472]
9137         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9138         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9139         conditionals for them.
9140         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9141         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9142         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9143         sys/kdaemon.h.
9144         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9145         compat-only syscall, obsoleted in glibc 2.23.
9146         (create_module): Likewise.
9147         (get_kernel_syms): Likewise.
9148         (query_module): Likewise.
9149         (uselib): Likewise.
9150         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9152 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9154         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9155         <linux/version.h>.
9156         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9157         conditional code.
9158         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9159         and ioshift_name initialization.
9161 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9163         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9164         Fix indentation.
9166 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9168         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9170 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9172         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9174 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9175             Jakub Wilk  <jwilk@debian.org>
9177         [BZ #19347]
9178         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9179         to change the group of the device to the tty group.
9181 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9183         Split large string section; add truncation advice
9184         * manual/examples/strncat.c: Remove.
9185         This example was misleading, as the code would have undefined
9186         behavior if "hello" was longer than SIZE.  Anyway, the manual
9187         shouldn't encourage strncpy+strncat for this sort of thing.
9188         * manual/string.texi (Copying Strings and Arrays): Split into
9189         three sections Copying Strings and Arrays, Concatenating Strings,
9190         and Truncating Strings, as this section was way too long.  All
9191         cross-referenced changed.  Add advice about string-truncation
9192         functions.  Remove misleading strncat example.
9194 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9196         * manual/nss.texi (NSS Modules Interface): Document
9197         NSS_STATUS_NOTFOUND and SUCCESS.
9199 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9201         [BZ 18568]
9202         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9203         201505L, for Unicode 8.
9205 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9207         * locale/C-translit.h: Regenerate.
9209 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9211         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9212         and U+0153.
9214 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9216         [BZ #19351]
9217         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9218         expanding log(1+z), compare z rather than its square with epsilon
9219         to determine when to avoid evaluating the expansion.
9221         [BZ #19350]
9222         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9223         Increase overflow threshold.
9225         [BZ #19349]
9226         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9227         when small.
9229         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9230         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9231         New macro.
9232         [__LINUX_KERNEL_VERSION >= 0x040300]
9233         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9234         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9235         Likewise.
9236         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9237         Likewise.
9238         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9239         Likewise.
9240         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9241         Likewise.
9242         [__LINUX_KERNEL_VERSION >= 0x040300]
9243         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9244         [__LINUX_KERNEL_VERSION >= 0x040300]
9245         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9246         [__LINUX_KERNEL_VERSION >= 0x040300]
9247         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9248         [__LINUX_KERNEL_VERSION >= 0x040300]
9249         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9250         [__LINUX_KERNEL_VERSION >= 0x040300]
9251         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9252         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9253         Likewise.
9254         [__LINUX_KERNEL_VERSION >= 0x040300]
9255         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9256         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9257         Likewise.
9258         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9259         Likewise.
9260         [__LINUX_KERNEL_VERSION >= 0x040300]
9261         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9263         Likewise.
9264         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9265         Likewise.
9266         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9267         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9268         Likewise.
9269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9270         Likewise.
9271         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9272         Likewise.
9273         [__LINUX_KERNEL_VERSION >= 0x040300]
9274         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9275         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9276         Likewise.
9277         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9278         Likewise.
9279         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9280         Likewise.
9281         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9282         Likewise.
9283         [__LINUX_KERNEL_VERSION >= 0x040300]
9284         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9285         [__LINUX_KERNEL_VERSION >= 0x040300]
9286         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9287         [__LINUX_KERNEL_VERSION >= 0x040300]
9288         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9289         [__LINUX_KERNEL_VERSION >= 0x040300]
9290         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9291         [__LINUX_KERNEL_VERSION >= 0x040300]
9292         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9293         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9294         Likewise.
9295         [__LINUX_KERNEL_VERSION >= 0x040300]
9296         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9297         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9298         Likewise.
9299         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9300         Likewise.
9301         [__LINUX_KERNEL_VERSION >= 0x040300]
9302         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9303         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9304         Likewise.
9305         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9306         Likewise.
9307         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9308         (__ASSUME_SOCKET_SYSCALL): Likewise.
9309         (__ASSUME_BIND_SYSCALL): Likewise.
9310         (__ASSUME_CONNECT_SYSCALL): Likewise.
9311         (__ASSUME_LISTEN_SYSCALL): Likewise.
9312         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9313         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9314         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9315         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9316         (__ASSUME_SEND_SYSCALL): Likewise.
9317         (__ASSUME_SENDTO_SYSCALL): Likewise.
9318         (__ASSUME_RECV_SYSCALL): Likewise.
9319         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9320         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9321         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9322         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9323         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9324         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9325         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9326         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9327         Likewise.
9328         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9329         Likewise.
9330         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9331         Likewise.
9332         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9333         Likewise.
9334         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9335         Likewise.
9336         [__LINUX_KERNEL_VERSION >= 0x020625]
9337         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9338         [__LINUX_KERNEL_VERSION >= 0x020625]
9339         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9340         [__LINUX_KERNEL_VERSION >= 0x020625]
9341         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9342         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9343         Likewise.
9344         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9345         Likewise.
9346         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9347         Likewise.
9348         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9349         Likewise.
9350         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9351         Likewise.
9352         [__LINUX_KERNEL_VERSION >= 0x020625]
9353         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9354         [__LINUX_KERNEL_VERSION >= 0x020625]
9355         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9356         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9357         Likewise.
9358         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9359         Likewise.
9361 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9363         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9364         record the current if the current ABI and CPU support the FP64
9365         extension.
9366         (has-modd-spreg): Define to record the current if the current ABI and
9367         CPU support 32-bit floating point values in odd FPU registers.
9368         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9369         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9370         $(has-modd-spreg) equals yes.
9371         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9372         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9373         $(has-modd-spreg) equal yes.
9375 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9377         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9378         basename.
9380 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9382         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9383         (bench-string): ... here.
9384         (bench): Add bench-string.
9385         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9386         to *-benchset to reflect what they are.
9387         (benchset): Adjust.
9389         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9390         cos-inputs.
9392 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9394         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9395         __attribute__ ((__simd__)) for vector math function declarations.
9397 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9399         Fix typo in strncat, wcsncat manual entries
9400         * manual/string.texi (Copying and Concatenation): Fix typos in
9401         sample implementations of strncat and wcsncat, by having them use
9402         the old value of the destination length, not the new one.
9404 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9406         [BZ #16961]
9407         [BZ #16962]
9408         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9409         string on the stack for strtod.
9410         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9411         a string on the stack for strtof.
9412         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9413         constructing a string on the stack for strtold.
9414         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9415         __strtold_nan to GLIBC_PRIVATE.
9416         * math/test-nan-overflow.c: New file.
9417         * math/test-nan-payload.c: Likewise.
9418         * math/Makefile (tests): Add test-nan-overflow and
9419         test-nan-payload.
9421 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9423         Consistency about byte vs character in string.texi
9424         * manual/string.texi (String and Array Utilities):
9425         Distinguish more carefully among bytes, multibyte characters,
9426         and wide characters.  Use "byte" when talking about C 'char',
9427         to distinguish it more clearly from multibyte characters.
9428         Say "wide character" or "multibyte character" instead of
9429         "character", when a wide or multibyte character is intended.
9430         Similarly for "multibyte string" versus "string".
9431         Define these terms more carefully.
9433 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9435         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9436         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9437         Likewise.
9438         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9439         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9440         * sysdeps/sh/math_private.h: New file.
9441         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9442         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9443         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9444         long double function name.
9445         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9446         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9447         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9448         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9449         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9451         Remove __finitel, __isinfl, and __isnanl.
9452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9453         Likewise.
9454         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9456         Remove __finitel.
9457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9458         Likewise.
9459         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9461 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9463         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9464         installed libmvec_nonshared.a.
9466 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9468         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9469         (sysdep_routines): Likewise.
9470         (sysdep-rtld-routines): Likewise.
9471         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9472         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9473         * sysdeps/powerpc/Versions: Added new
9474         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9475         * sysdeps/powerpc/hwcapinfo.c: New file.
9476         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9477         and parse hwcap, hwcap2 and platform number information.
9478         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9479         to store HWCAP+HWCAP2 and platform number.
9480         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9481         for HWCAP+HWCAP2 and platform number in the TCB.
9482         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9483         the HWCAP, HWCAP2 and platform number in the TCB.
9484         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9485         (TLS_INIT_TP): Included calls to add the hwcap and
9486         at_platform values in the TCB in TP initialization.
9487         (TLS_DEFINE_INIT_TP): Likewise.
9488         (THREAD_GET_HWCAP): New macro.
9489         (THREAD_SET_HWCAP): Likewise.
9490         (THREAD_GET_AT_PLATFORM): Likewise.
9491         (THREAD_SET_AT_PLATFORM): Likewise.
9492         * sysdeps/powerpc/powerpc32/dl-machine.h:
9493         (dl_platform_init): New function that calls
9494         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9495         powerpc32.
9496         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9497         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9498         this functionality, static linking case.
9499         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9500         linking case.
9501         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9502         __parse_hwcap_and_convert_at_platform for the static linking case.
9503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9504         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9505         ABI list for GLIBC 2.23.
9506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9507         Likewise.
9508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9509         Likewise.
9511 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9513         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9514         * configure: Regenerate.
9515         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9516         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9518 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9520         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9521         * iconvdata/ibm933.c: Likewise.
9522         * iconvdata/ibm935.c: Likewise.
9523         * iconvdata/ibm937.c: Likewise.
9524         * iconvdata/ibm939.c: Likewise.
9526 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9528         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9529         pthread_join.
9530         * nptl/tst-cancel21.c (tf): Likewise.
9532 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9534         [BZ #19313]
9535         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9536         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9537         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9538         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9539         Likewise.
9540         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9541         Likewise.
9542         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9543         Likewise.
9544         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9545         Likewise.
9546         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9547         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9548         unsigned long int with __CPU_MASK_TYPE.
9550 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9552         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9554 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9556         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9557         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9558         t512.x.
9559         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9561 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9563         [BZ #19214]
9564         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9565         argument to return extended model.  Update family and model
9566         with extended family and model when family == 0x0f.
9567         (init_cpu_features): Updated.
9569 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9571         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9572         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9574         * sysdeps/mach/hurd/mmap64.c: New file.
9576 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9578         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9579         rights for its main user thread in NEWTASK.
9581 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9583         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9584         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9586 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9588         [BZ #14259]
9589         * Makeconfig: Rename localedir to complocaledir.
9590         Rename inst_localedir to inst_complocaledir.
9591         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9592         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9593         * configure.ac: Use libc_cv_complocaledir.
9594         * configure: Regenerate.
9595         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9596         -DCOMPLOCALEDIR.
9597         * locale/findlocale.c: Use COMPLOCALEDIR.
9598         * locale/loadarchive.c: Likewise.
9599         * locale/programs/locale.c: Likewise.
9600         * locale/programs/localedef.c: Likewise.
9601         * locale/programs/locarchive.c: Likewise.
9602         * localedata/Makefile: Use inst_complocaledir.
9603         * sysdeps/gnu/configure: Regenerate.
9604         * sysdeps/hppa/configure: Regenerate.
9605         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9606         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9608         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9609         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9610         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9611         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9613 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9615         [BZ #19058]
9616         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9617         AS_NEEDED.
9618         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9619         workaround.
9620         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9621         libmvec-static-only-routines): Added new file.
9622         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9624 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9626         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9627         of interrupted RPC instead of restoring it.
9629         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9630         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9631         libc_hidden_def.
9632         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9633         into initialized data instead of common. Define rtld_hidden_data_def.
9634         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9635         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9636         libc_hidden_def.
9637         (if_freenameindex): Add libc_hidden_weak.
9638         (if_nameindex): Add libc_hidden_weak.
9639         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9640         __open64.
9641         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9642         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9643         * sysdeps/mach/nanosleep.c: Include <time.h>
9644         (__nanosleep): Rename to __libc_nanosleep.
9645         (__nanosleep): Add weak_alias.
9646         (nanosleep): Update alias.
9648 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9650         * stdlib/strtod_nan.c: New file.
9651         * stdlib/strtod_nan_double.h: Likewise.
9652         * stdlib/strtod_nan_float.h: Likewise.
9653         * stdlib/strtod_nan_main.c: Likewise.
9654         * stdlib/strtod_nan_narrow.h: Likewise.
9655         * stdlib/strtod_nan_wide.h: Likewise.
9656         * stdlib/strtof_nan.c: Likewise.
9657         * stdlib/strtold_nan.c: Likewise.
9658         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9659         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9660         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9661         * wcsmbs/wcstod_nan.c: Likewise.
9662         * wcsmbs/wcstof_nan.c: Likewise.
9663         * wcsmbs/wcstold_nan.c: Likewise.
9664         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9665         strtold_nan.
9666         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9667         wcstof_nan.
9668         * include/stdlib.h (__strtof_nan): Declare and use
9669         libc_hidden_proto.
9670         (__strtod_nan): Likewise.
9671         (__strtold_nan): Likewise.
9672         (__wcstof_nan): Likewise.
9673         (__wcstod_nan): Likewise.
9674         (__wcstold_nan): Likewise.
9675         * include/wchar.h (____wcstoull_l_internal): Declare.
9676         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9677         (____strtoull_l_internal): Remove declaration.
9678         (STRTOF_NAN): Define macro.
9679         (SET_MANTISSA): Remove macro.
9680         (STRTOULL): Likewise.
9681         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9682         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9683         (STRTOF_NAN): Define macro.
9684         (SET_MANTISSA): Remove macro.
9685         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9686         (SET_MANTISSA): Remove macro.
9687         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9688         macro.
9689         (SET_MANTISSA): Remove macro.
9690         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9691         macro.
9692         (SET_MANTISSA): Remove macro.
9693         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9694         (SET_MANTISSA): Remove macro.
9695         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9696         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9697         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9699         [BZ #19266]
9700         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9701         upper case and lower case letters inside NAN(), not using TOLOWER.
9702         * stdlib/tst-strtod-nan-locale-main.c: New file.
9703         * stdlib/tst-strtod-nan-locale.c: Likewise.
9704         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9705         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9706         Depend on $(gen-locales).
9707         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9708         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9709         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9710         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9711         Depend on $(gen-locales).
9712         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9714 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9716         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9718         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9720         __finitel, __isinfl, and __isnanl.
9721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9722         Likewise.
9723         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9725         __finitel.
9726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9727         Likewise.
9728         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9730 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9732         * malloc/memusage.c (me): Remove redundant getenv call.
9734 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9736         [BZ #19143]
9737         [BZ #19164]
9738         * nptl/check-cpuset.h: Remove.
9739         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9740         Remove CPU set size check.
9741         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9742         Likewise.
9743         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9744         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9745         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9746         (__pthread_setaffinity_new): Remove CPU set size check.
9747         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9748         (__kernel_cpumask_size): Remove.
9749         (__sched_setaffinity_new): Remove CPU set size check.
9750         * manual/threads.texi (Default Thread Attributes): Remove stale
9751         reference to check_cpuset_attr, determine_cpumask_size in comment.
9752         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9753         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9754         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9755         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9756         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9757         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9758         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9759         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9760         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9761         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9762         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9763         skeleton test file.
9764         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9765         tst-affinity-pid.
9767 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9769         * scripts/update-abilist.sh: New file.
9770         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9771         * Makerules (update-all-abi-%, update-all-abi)
9772         (subdir_update-all-abi): New targets.
9773         * elf/Makefile (update-all-abi): New target.
9775 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9777         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9778         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9779         (__libc_lock_define_initialized): Use it.
9780         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9781         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9782         * malloc/malloc.c (main_arena): Likewise.
9783         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9784         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9786 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9788         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9789         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9790         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9791         (PTRACE_O_MASK): Update value.
9792         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9793         New value in enum __ptrace_setoptions.
9794         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9795         (PTRACE_O_MASK): Update value.
9796         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9797         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9798         (PTRACE_O_MASK): Update value.
9799         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9800         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9801         (PTRACE_O_MASK): Update value.
9802         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9803         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9804         (PTRACE_O_MASK): Update value.
9805         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9806         New value in enum __ptrace_setoptions.
9807         (PTRACE_O_MASK): Update value.
9808         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9809         New value in enum __ptrace_setoptions.
9810         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9811         (PTRACE_O_MASK): Update value.
9813         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9814         New macro.
9815         (PACKET_AUXDATA): Likewise.
9816         (PACKET_ORIGDEV): Likewise.
9817         (PACKET_VERSION): Likewise.
9818         (PACKET_HDRLEN): Likewise.
9819         (PACKET_RESERVE): Likewise.
9820         (PACKET_TX_RING): Likewise.
9821         (PACKET_LOSS): Likewise.
9822         (PACKET_VNET_HDR): Likewise.
9823         (PACKET_TX_TIMESTAMP): Likewise.
9824         (PACKET_TIMESTAMP): Likewise.
9825         (PACKET_FANOUT): Likewise.
9826         (PACKET_TX_HAS_OFF): Likewise.
9827         (PACKET_QDISC_BYPASS): Likewise.
9828         (PACKET_ROLLOVER_STATS): Likewise.
9829         (PACKET_FANOUT_DATA): Likewise.
9830         (PACKET_MR_UNICAST): Likewise.
9832         [BZ #19242]
9833         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9834         (TOUPPER): Likewise.
9835         * stdlib/tst-strtol-locale-main.c: New file.
9836         * stdlib/tst-strtol-locale.c: Likewise.
9837         * stdlib/Makefile (tests): Add tst-strtol-locale.
9838         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9839         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9840         Depend on $(gen-locales).
9841         * wcsmbs/tst-wcstol-locale.c: New file.
9842         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9843         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9844         tr_TR.ISO-8859-9.
9845         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9846         Depend on $(gen-locales).
9848 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9850         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9851         __glibc_likely instead of __builtin_expect.  After falling back to
9852         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9853         system interface to register the code pages as occupied.
9855 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9857         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9858         [!ARM_MATH_PRIVATE_H].
9859         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9860         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9861         [!HPPA_MATH_PRIVATE_H].
9862         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9863         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9864         to [!I386_MATH_PRIVATE_H].
9865         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9866         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9867         Change guard to [!M68K_MATH_PRIVATE_H].
9868         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9869         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9870         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9871         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9872         macro.
9873         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9874         [!MIPS_MATH_PRIVATE_H].
9875         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9876         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9877         [!NIO2_MATH_PRIVATE_H].
9878         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9879         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9880         [!TILE_MATH_PRIVATE_H].
9881         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9883         [BZ #15421]
9884         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9885         initialize with 0 and define as weak alias of __signgam.
9886         * include/math.h [!_ISOMAC] (__signgam): Declare.
9887         * math/Makefile (libm-calls): Add w_lgamma_compat.
9888         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9889         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9890         test-signgam-ullong-init.
9891         (tests-static): Add test-signgam-uchar-static,
9892         test-signgam-uchar-init-static, test-signgam-uint-static,
9893         test-signgam-uint-init-static, test-signgam-ullong-static and
9894         test-signgam-ullong-init-static.
9895         (CFLAGS-test-signgam-uchar.c): New variable.
9896         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9897         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9898         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9899         (CFLAGS-test-signgam-uint.c): Likewise.
9900         (CFLAGS-test-signgam-uint-init.c): Likewise.
9901         (CFLAGS-test-signgam-uint-static.c): Likewise.
9902         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9903         (CFLAGS-test-signgam-ullong.c): Likewise.
9904         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9905         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9906         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9907         * math/Versions (libm): Add GLIBC_2.23.
9908         * math/lgamma-compat.h: New file.
9909         * math/test-signgam-main.c: Likewise.
9910         * math/test-signgam-uchar-init-static.c: Likewise.
9911         * math/test-signgam-uchar-init.c: Likewise.
9912         * math/test-signgam-uchar-static.c: Likewise.
9913         * math/test-signgam-uchar.c: Likewise.
9914         * math/test-signgam-uint-init-static.c: Likewise.
9915         * math/test-signgam-uint-init.c: Likewise.
9916         * math/test-signgam-uint-static.c: Likewise.
9917         * math/test-signgam-uint.c: Likewise.
9918         * math/test-signgam-ullong-init-static.c: Likewise.
9919         * math/test-signgam-ullong-init.c: Likewise.
9920         * math/test-signgam-ullong-static.c: Likewise.
9921         * math/test-signgam-ullong.c: Likewise.
9922         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9923         wrapper of w_lgamma_main.c.
9924         * math/w_lgamma_compat.c: New file.
9925         * math/w_lgamma_compatf.c: Likewise.
9926         * math/w_lgamma_compatl.c: Likewise.
9927         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9928         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9929         defining compatibility symbols.
9930         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9931         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9932         wrapper of w_lgammaf_main.c.
9933         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9934         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9935         defining compatibility symbols.
9936         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9937         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9938         wrapper of w_lgammal_main.c.
9939         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9940         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9941         defining compatibility symbols.
9942         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9943         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9944         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9945         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9946         <lgamma-compat.h>.
9947         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9948         (__ieee754_gamma): Define as alias.
9949         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9950         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9951         <lgamma-compat.h>.
9952         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9953         (__ieee754_gammaf): Define as alias.
9954         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9955         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9956         <lgamma-compat.h>.
9957         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9958         (__ieee754_gammal): Define as alias.
9959         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9960         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9961         <math/w_lgamma_compat.c>.
9962         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9963         Define as alias of __lgamma_compat and use in defining lgammal.
9964         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9965         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9966         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9967         (USE_AS_COMPAT): New macro.
9968         (LGAMMA_OLD_VER): Undefine and redefine.
9969         (lgammal): Do not define here.
9970         (gammal): Only define here if [GAMMA_ALIAS].
9971         * conform/linknamespace.pl (@whitelist): Remove signgam.
9972         * sysdeps/nacl/libm.abilist: Update.
9973         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9974         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9975         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9976         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9977         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9978         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9979         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9980         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9981         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9982         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9983         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9984         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9986         Likewise.
9987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9988         Likewise.
9989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9990         Likewise.
9991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9992         Likewise.
9993         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9994         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9995         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9996         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9997         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9999         Likewise.
10000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10001         Likewise.
10002         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10003         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10004         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10006 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10008         [BZ #16364]
10009         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10010         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10012 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10014         * sysdeps/s390/fpu/bits/mathinline.h:
10015         Use __asm__ [__volatile__] instead of asm [volatile].
10016         * sysdeps/s390/abort-instr.h: Likewise.
10017         * sysdeps/s390/atomic-machine.h: Likewise.
10018         * sysdeps/s390/bits/string.h: Likewise.
10019         * sysdeps/s390/dl-tls.h: Likewise.
10020         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10021         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10022         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10023         * sysdeps/s390/fpu/fesetround.c: Likewise.
10024         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10025         * sysdeps/s390/fpu/s_fma.c: Likewise.
10026         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10027         * sysdeps/s390/memusage.h: Likewise.
10028         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10029         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10030         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10031         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10032         * sysdeps/s390/nptl/tls.h: Likewise.
10033         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10034         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10035         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10036         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10037         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10038         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10039         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10040         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10041         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10042         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10043         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10044         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10045         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10046         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10047         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10048         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10049         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10050         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10051         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10052         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10053         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10054         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10055         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10057 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10058             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10060         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10061         Add lwarx hint, and use macro for acquire instruction.
10062         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10063         Likewise.
10064         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10065         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10066         update to use new atomic macros.
10068 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10070         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10071         (__lll_trylock_elision): Fix setting of adapt_count.
10072         * sysdeps/unix/sysv/linux/powerpc/htm.h
10073         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10074         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10075         (_ABORT_SYSCALL): Renumber, and clarify definition.
10076         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10078 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10080         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10081         after system headers to prevent MIN/MAX redefinition.  Define
10082         HAVE_ALLOCA to preserve builtin alloca usage.
10084 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10086         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10087         static and don't set or restore rounding.
10088         (__cos)[IN_SINCOS]: Likewise.
10089         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10090         (__sincos): Set and restore rounding mode.  Remove check for infinite
10091         or NaN input.
10093         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10095         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10096         as used.
10098 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10100         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10102 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10104         * config.make.in (have-glob-dat-reloc): New.
10105         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10106         target supports GLOB_DAT relocaton. AC_SUBST.
10107         * configure: Regenerated.
10108         * elf/Makefile (tests): Add tst-prelink.
10109         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10110         (tst-prelink-ENV): New.
10111         ($(objpfx)tst-prelink-conflict.out): Likewise.
10112         ($(objpfx)tst-prelink-cmp.out): Likewise.
10113         * sysdeps/x86/tst-prelink.c: Moved to ...
10114         * elf/tst-prelink.c: Here.
10115         * sysdeps/x86/tst-prelink.exp: Moved to ...
10116         * elf/tst-prelink.exp: Here.
10117         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10118         (tst-prelink-ENV): Removed.
10119         ($(objpfx)tst-prelink-conflict.out): Likewise.
10120         ($(objpfx)tst-prelink-cmp.out): Likewise.
10121         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10123 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10125         [BZ #14551]
10126         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10127         (__mpn_construct_long_double): If high part overflows to infinity,
10128         set errno and recompute overflowed result of the correct sign.
10129         * sysdeps/ieee754/ldbl-128ibm/Makefile
10130         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10131         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10132         $(libm).
10133         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10135 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10137         [BZ #15479]
10138         [BZ #19238]
10139         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10140         floating-point state after first operation on input.  Restore full
10141         state rather than just rounding mode.
10142         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10143         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10144         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10146         [BZ #19235]
10147         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10148         add 0.5 to integer arguments.
10149         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10150         Likewise.
10151         (.LC2): New object.
10153 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10155         * scripts/pylintrc (reports): Set to no.
10157 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10159         * elf/dl-load.c (open_verify): Take new argument FD.
10160         Skip __open call if passed FD is not -1.
10161         (_dl_map_object, open_path): Update callers.
10162         * elf/dl-sysdep-open.h: New file.
10163         * elf/dl-load.c: Include it.
10164         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10165         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10166         * sysdeps/nacl/dl-sysdep-open.h: New file.
10167         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10168         from libc to rtld.
10170 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10172         [BZ #19228]
10173         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10174         and restore full floating-point state.
10175         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10176         Likewise.
10177         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10178         Likewise.
10179         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10180         Likewise.
10181         * math/test-nearbyint-except-2.c: New file.
10182         * math/Makefile (tests): Add test-nearbyint-except-2.
10184 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10186         [BZ #19178]
10187         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10188         (tst-prelink-ENV): New.
10189         ($(objpfx)tst-prelink-conflict.out): Likewise.
10190         ($(objpfx)tst-prelink-cmp.out): Likewise.
10191         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10192         * sysdeps/x86/tst-prelink.c: New file.
10193         * sysdeps/x86/tst-prelink.exp: Likewise.
10195 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10197         * math/auto-libm-test-in: Add another test of pow.
10198         * math/auto-libm-test-out: Regenerated.
10199         * math/libm-test.inc (pow_test_data): Add another test.
10201 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10203         [BZ #19219]
10204         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10205         weak_alias to nearbyintl.
10207 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10209         * sysdeps/aarch64/bits/string.h: New file.
10210         (_STRING_ARCH_unaligned): Define.
10212 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10214         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10215         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10216         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10217         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10220 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10222         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10223         for original name of the DSO.  Add it to the name list of the DSO
10224         if it is actually given.
10225         (_dl_map_object): Keep track of whether an audit module rewrote
10226         the file name.  If yes, pass the original name to
10227         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10228         debugging is enabled, log the change of the file name.
10229         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10230         _dl_map_object_from_fd.
10231         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10232         * elf/tst-audit11.c: New file
10233         * elf/tst-auditmod11.c: New file.
10234         * elf/tst-audit11mod1.c: New file.
10235         * elf/tst-audit11mod2.c: New file.
10236         * elf/tst-audit11mod2.map: New file.
10237         * elf/tst-audit12.c: New file
10238         * elf/tst-auditmod12.c: New file.
10239         * elf/tst-audit12mod1.c: New file.
10240         * elf/tst-audit12mod2.c: New file.
10241         * elf/tst-audit12mod2.map: New file.
10242         * elf/tst-audit12mod3.c: New file.
10244 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10246         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10247         Don't create weak aliases,
10248         because versioned symbols are created later.
10249         * sysdeps/s390/s390-32/setjmp.S
10250         (setjmp, _setjmp): Remove weak and rename to an unique name
10251         in SHARED case due to existing versioned symbols.
10252         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10253         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10254         (getcontext): Create weak alias only in non SHARED case.
10255         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10257 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10259         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10260         (__ASSUME_*_SYSCALL) Define new macros.
10261         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10262         Remove socketcall syscalls.
10263         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10264         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10265         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10266         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10267         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10268         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10270 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10272         [BZ #12926]
10273         Terminate process on invalid netlink response.
10274         * sysdeps/unix/sysv/linux/netlinkaccess.h
10275         (__netlink_assert_response): Declare.
10276         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10277         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10278         (sysdep_routines): Add netlink_assert_response.
10279         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10280         __netlink_assert_response.
10281         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10282         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10283         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10284         __netlink_assert_response.
10286 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10288         [BZ #19178]
10289         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10290         (RTYPE_CLASS_PLT): Likewise.
10291         (RTYPE_CLASS_COPY): Likewise.
10292         (RTYPE_CLASS_TLS): Likewise.
10293         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10294         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10295         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10296         DL_DEBUG_PRELINK.
10298 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10300         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10301         calls with argument -0.5.
10302         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10304         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10305         (libc_cv_z_nodlopen): Likewise.
10306         (libc_cv_z_initfirst): Likewise.
10307         * configure: Regenerated.
10309 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10311         Simplify abilist format to be line-based.
10312         * scripts/abilist.awk: Collect descriptors in the descs variable.
10313         (emit): Write descs variable and sort it
10314         externally, with sort.
10315         * sysdeps/**/*.abilist: Convert to new format.
10317 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10319         [BZ #11460]
10320         * io/Makefile (routines): Add fts64.
10321         (tests): Add tst-fts and tst-fts-lfs.
10322         (CFLAGS-fts64.c): New.
10323         * io/Versions (GLIBC_2.23): New.
10324         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10325         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10326         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10327         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10328         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10329         (FTSENT64): Likewise.
10330         (fts64_children): Likewise.
10331         (fts64_close): Likewise.
10332         (fts64_open): Likewise.
10333         (fts64_read): Likewise.
10334         (fts64_set): Likewise.
10335         * io/fts64.c: New file.
10336         * io/tst-fts.c: New test.
10337         * io/tst-fts-lfs.c: Likewise.
10338         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10339         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10340         fts64_set.
10341         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10342         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10343         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10344         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10345         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10346         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10347         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10348         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10349         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10350         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10351         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10352         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10353         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10355         Likewise.
10356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10357         Likewise.
10358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10360         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10361         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10362         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10363         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10364         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10367         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10368         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10369         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10370         * sysdeps/wordsize-64/fts.c: New file.
10371         * sysdeps/wordsize-64/fts64.c: Likewise.
10372         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10373         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10374         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10375         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10377 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10379         * math/libm-test.inc (NON_FINITE): New macro.
10380         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10381         * math/gen-libm-test.pl (show_exceptions): Add argument
10382         $non_finite.
10383         (parse_args): Update call to show_exceptions.
10384         * math/test-math-finite.h: New file.
10385         * math/test-math-no-finite.h: Likewise.
10386         * math/test-double-finite.c: Likewise.
10387         * math/test-float-finite.c: Likewise.
10388         * math/test-ldouble-finite.c: Likewise.
10389         * math/test-double.c: Include "test-math-no-finite.h".
10390         * math/test-float.c: Include "test-math-no-finite.h".
10391         * math/test-ldouble.c: Include "test-math-no-finite.h".
10392         * math/test-math-inline.h (TEST_FINITE): New macro.
10393         * math/test-math-vector.h (TEST_FINITE): Likewise.
10394         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10395         (libm-tests): Add test-float-finite and test-double-finite.
10396         ($(objpfx)test-float-finite.o): New dependency on
10397         $(objpfx)libm-test.stmp.
10398         ($(objpfx)test-double-finite.o): Likewise.
10399         ($(objpfx)test-ldouble-finite.o): Likewise.
10400         (libm-test-no-inline-cflags): New variable.
10401         (libm-test-finite-cflags): Likewise.
10402         (CFLAGS-test-float-finite.c): Likewise.
10403         (CFLAGS-test-double-finite.c): Likewise.
10404         (CFLAGS-test-ldouble-finite.c): Likewise.
10405         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10406         (CFLAGS-test-double.c): Likewise.
10407         (CFLAGS-test-ldouble.c): Likewise.
10409 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10411         * io/fcntl.c (__fcntl): Add ... to prototype.
10412         * misc/ioctl.c (__ioctl): Likewise.
10413         * misc/syscall.c (syscall): Likewise.
10415 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10417         * scripts/list-fixed-bugs.py: New file.
10419         [BZ #19213]
10420         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10421         returned for argument 1.
10422         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10423         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10424         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10425         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10426         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10427         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10429         [BZ #19211]
10430         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10431         __USE_XOPEN], not if [!__USE_ISOC99].
10432         (lgammaf): Likewise.
10433         (lgammal): Likewise.
10434         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10435         (gammaf): Likewise.
10436         (gammal): Likewise.
10437         * math/test-signgam-finite-c11.c: New file.
10438         * math/test-signgam-finite-c99.c: Likewise.
10439         * math/test-signgam-finite.c: Likewise.
10440         * math/Makefile (tests): Add test-signgam-finite,
10441         test-signgam-finite-c99 and test-signgam-finite-c11.
10442         (CFLAGS-test-signgam-finite.c): New variable.
10443         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10444         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10446         [BZ #19212]
10447         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10448         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10449         500].
10450         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10451         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10452         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10453         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10454         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10455         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10456         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10457         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10458         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10459         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10461         [BZ #19209]
10462         * math/bits/math-finite.h (ldexp): Remove declaration.
10463         (ldexpf): Likewise.
10464         (ldexpl): Likewise.
10466         [BZ #19205]
10467         * math/bits/math-finite.h (acosf): Condition declaration on
10468         [__USE_ISOC99].
10469         (acosl): Likewise.
10470         (acoshf): Likewise.
10471         (acoshl): Likewise.
10472         (asinf): Likewise.
10473         (asinl): Likewise.
10474         (atan2f): Likewise.
10475         (atan2l): Likewise.
10476         (atanhf): Likewise.
10477         (atanhl): Likewise.
10478         (coshf): Likewise.
10479         (coshl): Likewise.
10480         (expf): Likewise.
10481         (expl): Likewise.
10482         (fmodf): Likewise.
10483         (fmodl): Likewise.
10484         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10485         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10486         (j0l): Likewise.
10487         (y0f): Likewise.
10488         (y0l): Likewise.
10489         (j1f): Likewise.
10490         (j1l): Likewise.
10491         (y1f): Likewise.
10492         (y1l): Likewise.
10493         (jnf): Likewise.
10494         (jnl): Likewise.
10495         (ynf): Likewise.
10496         (ynl): Likewise.
10497         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10498         (lgammal_r): Likewise.
10499         (__lgamma_r_finite): New declaration.
10500         (__lgammaf_r_finite): Likewise.
10501         (__lgammal_r_finite): Likewise.
10502         (lgamma): Use __lgamma_r_finite.
10503         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10504         __lgammaf_r_finite.
10505         (lgammal): Condition definition on [__USE_ISOC99].  Use
10506         __lgammal_r_finite.
10507         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10508         __lgamma_r_finite.
10509         (gammaf): Condition definition on [__USE_ISOC99].  Use
10510         __lgammaf_r_finite.
10511         (gammal): Condition definition on [__USE_ISOC99].  Use
10512         __lgammal_r_finite.
10513         (logf): Condition declaration on [__USE_ISOC99].
10514         (logl): Likewise.
10515         (log10f): Likewise.
10516         (log10l): Likewise.
10517         (ldexpf): Likewise.
10518         (ldexpl): Likewise.
10519         (powf): Likewise.
10520         (powl): Likewise.
10521         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10522         __USE_ISOC99].
10523         (remainderf): Condition declaration on [__USE_ISOC99].
10524         (remainderl): Likewise.
10525         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10526         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10527         (scalbl): Likewise.
10528         (sinhf): Condition declaration on [__USE_ISOC99].
10529         (sinhl): Likewise.
10530         (sqrtf): Likewise.
10531         (sqrtl): Likewise.
10533 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10535         * sysdeps/arm/atomic-machine.h
10536         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10537         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10538         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10539         Remove conditional code.
10540         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10541         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10542         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10543         Change conditional to [__ASSEMBLER__].
10544         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10545         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10546         [!__ASSEMBLER__].
10547         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10548         code.
10549         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10550         conditional macro definitions.
10551         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10552         (__arch_compare_and_exchange_val_16_acq): Likewise.
10553         (__arch_compare_and_exchange_val_32_acq): Likewise.
10554         (atomic_exchange_and_add): Likewise.
10555         (atomic_add): Likewise.
10556         (atomic_add_negative): Likewise.
10557         (atomic_add_zero): Likewise.
10558         (atomic_bit_set): Likewise.
10559         (atomic_bit_test_set): Likewise.
10560         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10561         code unconditional.
10562         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10564         * math/test-math-errno.h: New file.
10565         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10566         empty.
10567         (TEST_ERRNO): New macro.
10568         (TEST_EXCEPTIONS): Likewise.
10569         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10570         (TEST_EXCEPTIONS): Likewise.
10571         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10572         * math/test-double.c: Include "test-math-errno.h".
10573         * math/test-float.c: Likewise.
10574         * math/test-ldouble.c: Likewise.
10575         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10576         code unconditional.
10577         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10578         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10579         unconditional.
10580         (test_errno): Only run code if TEST_ERRNO.
10581         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10583 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10585         * nptl/tst-once5.cc: Remove attribution.
10587 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10589         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10590         sqrt, tan, tanh, y0, y1 and yn.
10591         * math/auto-libm-test-out: Regenerated.
10592         * math/libm-test.inc (scalb_test_data): Add more tests.
10593         (scalbn_test_data): Likewise.
10594         (scalbln_test_data): Likewise.
10595         (signbit_test_data): Likewise.
10596         (sin_test_data): Likewise.
10597         (sincos_test_data): Likewise.
10598         (sinh_test_data): Likewise.
10599         (sqrt_test_data): Likewise.
10600         (tan_test_data): Likewise.
10601         (tanh_test_data): Likewise.
10602         (tgamma_test_data): Likewise.
10603         (y0_test_data): Likewise.
10604         (y1_test_data): Likewise.
10605         (yn_test_data): Likewise.
10606         (significand_test_data): Likewise.
10607         * sysdeps/i386/fpu/libm-test-ulps: Update.
10609 2015-11-03  David Kastrup  <dak@gnu.org>
10611         [BZ #18604]
10612         * assert/assert.h (assert): Don't macro-expand failed assertion
10613         expression in error message.
10614         * malloc/malloc.c (assert): Likewise.
10616 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10618         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10619         test.
10620         * configure: Regenerated.
10622 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10624         * math/libm-test.inc (modf_test_data): Add more tests.
10625         (nearbyint_test_data): Likewise.
10626         (nextafter_test_data): Likewise.
10627         (nexttoward_test_data): Likewise.
10628         (pow_test_data): Likewise.
10629         (remainder_test_data): Likewise.
10630         (remquo_test_data): Likewise.
10631         (rint_test_data): Likewise.
10633         [BZ #19201]
10634         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10635         Check for zero remainder in case of large exponents and ensure
10636         correct sign of result in that case.
10637         * math/libm-test.inc (remainder_test_data): Add more tests.
10639         [BZ #6799]
10640         * math/s_nextafter.c: Include <errno.h>.
10641         (__nextafter): Set errno on overflow and underflow.
10642         * math/s_nexttowardf.c: Include <errno.h>.
10643         (__nexttowardf): Set errno on overflow and underflow.
10644         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10645         (__nextafterl): Set errno on overflow and underflow.
10646         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10647         (__nexttoward): Set errno on overflow and underflow.
10648         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10649         (__nexttowardf): Set errno on overflow and underflow.
10650         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10651         (__nextafterf): Set errno on overflow and underflow.
10652         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10653         (__nextafterl): Set errno on overflow and underflow.
10654         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10655         (__nexttoward): Set errno on overflow and underflow.
10656         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10657         (__nexttowardf): Set errno on overflow and underflow.
10658         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10659         (__nextafterl): Set errno on overflow and underflow.
10660         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10661         (__nexttoward): Set errno on overflow and underflow.
10662         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10663         (__nexttowardf): Set errno on overflow and underflow.
10664         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10665         (__nexttoward): Set errno on overflow and underflow.
10666         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10667         (__nexttowardf): Set errno on overflow and underflow.
10668         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10669         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10670         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10671         (__nextafterl): Set errno on overflow and underflow.
10672         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10673         setting to be missing on overflow.  Add more tests.
10674         (nexttoward_test_data): Likewise.
10676         * configure.ac (libc_cv_initfini_array): Remove configure test.
10677         * configure: Regenerated.
10679 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10681         [BZ #19189]
10682         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10683         non-finite argument handle arguments with negative sign.
10685         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10686         result from infinite argument.
10687         (j1_test_data): Likewise.
10688         (jn_test_data): Likewise.
10689         (y0_test_data): Likewise.
10690         (y1_test_data): Likewise.
10691         (yn_test_data): Likewise.
10693         [BZ #16171]
10694         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10695         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10696         * math/w_remainderf.c (dremf): Define as weak alias of
10697         __remainderf.
10698         * math/w_remainderl.c (dreml): Define as weak alias of
10699         __remainderl.
10700         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10701         __remainder.
10702         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10703         __remainderf.
10704         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10705         __remainderl.
10706         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10707         weak alias of remainderl.
10708         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10709         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10710         alias of __remainder.
10711         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10712         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10713         strong alias of __remainderl.
10714         (dreml): Use long_double_symbol.
10715         * math/Makefile (libm-calls): Remove w_drem.
10716         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10717         (CFLAGS-nldbl-drem.c): Remove variable.
10718         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10719         * math/w_drem.c: Remove file.
10720         * math/w_dremf.c: Likewise.
10721         * math/w_dreml.c: Likewise.
10722         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10723         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10724         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10726         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10727         * sysdeps/i386/configure: Regenerated.
10728         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10729         * sysdeps/x86_64/configure: Regenerated.
10731         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10732         test.
10733         (libc_cv_visibility_attribute): Likewise.
10734         (libc_cv_protected_data): Test unconditionally.
10735         (libc_cv_broken_visibility_attribute): Remove configure test.
10736         (libc_cv_have_sdata_section): Test unconditionally.
10737         * configure: Regenerated.
10739         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10740         * include/scratch_buffer.h: Include <stddef.h> instead of
10741         <libc-internal.h>.
10742         (struct scratch_buffer): Use max_align_t instead of
10743         libc_max_align_t.
10745 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10747         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10748         instead of extend_alloca.  Change control flow to avoid a goto.
10749         Remove assert which is trivially always true.
10751 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10753         [BZ #16068]
10754         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10755         (FE_ALL_EXCEPT_X86): New macro.
10756         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10757         FE_ALL_EXCEPT.  Ensure precision control is included in
10758         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10759         handle "denormal operand exception" and clear FZ and DAZ bits.
10760         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10761         (FE_ALL_EXCEPT_X86): New macro.
10762         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10763         FE_ALL_EXCEPT.  Ensure precision control is included in
10764         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10765         handle "denormal operand exception" and clear FZ and DAZ bits.
10766         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10767         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10768         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10769         test-fenv-x87 and test-fenv-sse-2.
10770         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10772         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10773         * math/test-double.h (BUILD_COMPLEX): New macro.
10774         * math/test-float.h (BUILD_COMPLEX): Likewise.
10775         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10777         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10778         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10779         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10781         instead of DBL_DENORM_MIN in comment.
10782         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10783         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10784         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10785         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10786         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10787         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10789 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10791         [BZ# 19048]
10792         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10793         attached_threads member.
10794         (main_arena): Initialize attached_threads.
10795         * malloc/arena.c (list_lock): Update comment.
10796         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10797         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10798         (deattach_arena): New function.
10799         (_int_new_arena): Initialize arena reference count and deattach
10800         replaced arena.
10801         (get_free_list, reused_arena): Update reference count and deattach
10802         replaced arena.
10803         (arena_thread_freeres): Update arena reference count and only put
10804         unreferenced arenas on the free list.
10806 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10808         [BZ #19181]
10809         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10810         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10811         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10812         * math/test-fenv-clear-main.c: New file.
10813         * math/test-fenv-clear.c: Likewise.
10814         * math/Makefile (tests): Add test-fenv-clear.
10815         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10816         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10817         test-fenv-clear-sse.
10818         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10820         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10821         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10822         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10824 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10826         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10827         static libc.
10829 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10831         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10832         test.
10833         * sysdeps/i386/configure: Regenerated.
10834         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10835         test.
10836         * sysdeps/x86_64/configure: Regenerated.
10837         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10839         memset-avx2 unconditionally instead of conditionally on
10840         [$(config-cflags-avx2) = yes].
10841         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10842         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10843         unconditional.
10844         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10845         * sysdeps/x86_64/multiarch/memset_chk.S
10846         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10847         to [IS_IN (libc) && SHARED].
10849 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10851         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10852         configure test.
10853         * sysdeps/arm/configure: Regenerated.
10854         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10855         Define variable if not already defined.
10857         [BZ #17404]
10858         * sysdeps/mips/atomic-machine.h
10859         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10860         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10861         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10863         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10864         unconditional.
10865         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10866         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10867         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10868         unconditional.
10869         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10870         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10871         unconditional.
10872         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10873         * stdlib/setenv.c
10874         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10875         code unconditional.
10876         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10877         Remove conditional code.
10878         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10879         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10880         unconditional.
10881         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10882         code.
10883         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10884         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10885         unconditional.
10886         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10887         code.
10888         * sysdeps/ieee754/ldbl-128/k_tanl.c
10889         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10890         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10891         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10892         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10893         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10894         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10895         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10896         unconditional.
10897         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10898         code.
10899         * sysdeps/ieee754/ldbl-96/k_tanl.c
10900         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10901         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10903         * nptl/tst-initializers1-c11.c: New file.
10904         * nptl/tst-initializers1-gnu11.c: Likewise.
10905         * nptl/Makefile (tests): Add these new tests.
10906         (CFLAGS-tst-initializers1-c11.c): New variable.
10907         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10909         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10910         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10911         instead of -std=gnu99.
10912         * configure.ac (systemtap): Test with -std=gnu11 instead of
10913         -std=gnu99.
10914         * configure: Regenerated.
10915         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10916         in compilation command in comment.
10918         * sysdeps/nptl/configure.ac: Remove file.
10919         * sysdeps/nptl/configure: Remove generated file.
10920         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10921         * configure: Regenerated.
10922         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10923         * config.make.in (have-forced-unwind): Remove variable.
10924         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10925         unconditional.
10926         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10927         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10928         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10929         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10930         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10931         unconditional.
10933 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10935         [BZ #19174]
10936         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10937         .skip_lock_out_of_tbegin_retries.
10938         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10939         (__lll_lock_elision): Likewise, and respect a value of
10940         try_tbegin <= 0.
10942 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10944         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10945         statement.
10947 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10949         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10950         variable.
10951         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10952         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10954         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10955         of -std=c1x -D_ISOC11_SOURCE.
10957         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10958         * configure: Regenerated.
10959         * manual/install.texi (Tools for Compilation): Document
10960         requirement for GCC 4.7 or later.
10961         * INSTALL: Regenerated.
10963 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10965         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10966         on CNT to a conditional jump to 'puntdata'.
10968 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10970         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10971         (libc_cv_gcc_tls_model_attr): Likewise.
10972         * configure: Regenerated.
10974         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10975         * configure: Regenerated.
10976         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10978 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10980         * configure.ac (old_glibc_headers): Remove configure test.
10981         * configure: Regenerated.
10982         * config.make.in (old-glibc-headers): Remove variable.
10983         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10984         (install): Remove dependency on remove-old-headers.
10985         (headers2_0): Remove variable.
10986         (remove-old-headers): Remove rule.
10988         * configure.ac (libc_cv_dot_text): Remove configure test.
10989         (libc_cv_asm_set_directive): Use .text instead of
10990         ${libc_cv_dot_text} in configure test.
10991         * configure: Regenerated.
10993 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10995         [BZ #19168]
10996         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10998 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11000         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11001         not support static linking.
11002         * configure: Regenerate.
11004 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11006         * math/libm-test.inc (check_float_internal): Do not special-case
11007         errors up to 0.5 ulp.
11009         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11010         log2.
11011         * math/auto-libm-test-out: Regenerated.
11012         * math/libm-test.inc (MAX_EXP): New macro.
11013         (ilogb_test_data): Add more tests.
11014         (isfinite_test_data): Likewise.
11015         (isgreater_test_data): Likewise.
11016         (isgreaterequal_test_data): Likewise.
11017         (isinf_test_data): Likewise.
11018         (isless_test_data): Likewise.
11019         (islessequal_test_data): Likewise.
11020         (islessgreater_test_data): Likewise.
11021         (isnan_test_data): Likewise.
11022         (isnormal_test_data): Likewise.
11023         (issignaling_test_data): Likewise.
11024         (isunordered_test_data): Likewise.
11025         (j0_test_data): Likewise.
11026         (j1_test_data): Likewise.
11027         (jn_test_data): Likewise.
11028         (lgamma_test_data): Likewise.
11029         (log_test_data): Likewise.
11030         (log10_test_data): Likewise.
11031         (log1p_test_data): Likewise.
11032         (log2_test_data): Likewise.
11033         (logb_test_data): Likewise.
11034         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11036         [BZ #18611]
11037         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11038         avoid excess range and precision on underflow.
11039         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11040         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11041         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11042         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11043         underflow.
11044         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11045         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11046         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11047         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11048         * math/auto-libm-test-in: Do not allow missing errno setting for
11049         tests of j1 and jn.
11050         * math/auto-libm-test-out: Regenerated.
11052 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11054         [BZ #15491]
11055         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11056         floating-point environment instead of clearing all exceptions.
11057         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11058         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11059         merging in "invalid" exceptions from frndint.
11060         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11061         * math/test-nearbyint-except.c: New file.
11062         * math/Makefile (tests): Add test-nearbyint-except.
11064 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11066         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11068         * sysdeps/tile/libm-test-ulps: Regenerated.
11070 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11073         (__NR_sync_file_range2): Assume it is always defined.
11074         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11075         (__NR_sync_file_range): Assume it is always defined.
11077 2015-10-22  Andreas Schwab  <schwab@suse.de>
11079         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11080         INTERNAL_SYSCALL_ERRNO.
11081         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11082         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11083         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11084         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11085         Likewise.
11086         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11088 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11090         * io/tst-fcntl.c (fd): New static variable.
11091         (do_prepare): Open temporary file here....
11092         (do_test): ...not here.
11094         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11096 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11098         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11099         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11100         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11101         Moved before "#ifdef __ASSEMBLER__".
11103 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11105         [BZ #19156]
11106         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11107         arguments very close to 0.
11109 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11111         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11112         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11114 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11116         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11117         New.  Defined for GCC 5 and above when not compiling for
11118         profiling.
11119         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11121         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11122         Renamed to ...
11123         (CFLAGS-epoll_pwait.o): This.
11124         (CFLAGS-mmap.c): Renamed to ...
11125         (CFLAGS-mmap.o): This.
11126         (CFLAGS-mmap64.c): Renamed to ...
11127         (CFLAGS-mmap64.o): This.
11128         (CFLAGS-epoll_pwait.os): New.
11129         (CFLAGS-mmap.os): Likewise.
11130         (CFLAGS-mmap64.os): Likewise.
11131         (CFLAGS-semtimedop.os): Likewise.
11132         (CFLAGS-semtimedop.c): Renamed to ...
11133         (CFLAGS-semtimedop.o): This.
11135 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11137         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11138         warning message.
11140 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11142         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11143         * Makefile ($(objpfx)c++-types-check.out): Filter out
11144         $(+gccwarn-c) instead of -Wstrict-prototypes.
11146         * io/fts.c (fts_open): Convert to prototype-style function
11147         definition.
11148         * malloc/mcheck.c (mcheck): Likewise.
11149         (mcheck_pedantic): Likewise.
11150         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11151         internal_function.
11152         (re_search_internal): Likewise.
11153         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11154         prototype-style function definition.
11155         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11156         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11157         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11158         (xdr_utmpptr): Likewise.
11159         (xdr_utmparr): Likewise.
11160         (xdr_utmpidle): Likewise.
11161         (xdr_utmpidleptr): Likewise.
11162         (xdr_utmpidlearr): Likewise.
11164         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11165         log, log10 and log2.
11166         * math/auto-libm-test-out: Regenerated.
11167         * math/libm-test.inc (fmod_test_data): Add more tests.
11168         (fpclassify_test_data): Likewise.
11169         (frexp_test_data): Likewise.
11170         (hypot_test_data): Likewise.
11171         (ilogb_test_data): Likewise.
11173 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11175         * debug/fortify_fail.c (__fortify_fail): Convert to
11176         prototype-style function definition.  Use internal_function.
11177         * libio/genops.c (save_for_backup): Convert to prototype-style
11178         function definition.
11179         * libio/wgenops.c (save_for_wbackup): Likewise.
11180         * login/grantpt.c (grantpt): Likewise.
11181         * login/ptsname.c (ptsname): Likewise.
11182         (__ptsname_r): Likewise.
11183         * login/unlockpt.c (unlockpt): Likewise.
11184         * mach/msgserver.c (__mach_msg_server): Likewise.
11185         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11186         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11187         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11188         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11189         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11190         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11191         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11192         Likewise.
11193         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11194         internal_function.
11195         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11196         prototype-style function definition.
11197         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11198         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11199         (__pthread_create_2_0): Likewise.
11200         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11201         * nptl/register-atfork.c (__register_atfork): Likewise.
11202         * posix/glob.c (glob): Likewise.
11203         * posix/regcomp.c (re_comp): Likewise.
11204         * posix/regexec.c (re_exec): Likewise.
11205         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11206         [!__STDC__]: Remove conditional code.
11207         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11208         [!__STDC__]: Remove conditional code.
11209         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11210         [!__STDC__]: Remove conditional code.
11211         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11212         [!__STDC__]: Remove conditional code.
11213         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11214         [!__STDC__]: Remove conditional code.
11215         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11216         [!__STDC__]: Remove conditional code.
11217         * stdlib/mul.c [__STDC__]: Make code unconditional.
11218         [!__STDC__]: Remove conditional code.
11219         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11220         [!__STDC__]: Remove conditional code.
11221         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11222         [!__STDC__]: Remove conditional code.
11223         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11224         function definition.
11225         (STRTOF): Likewise.
11226         * stdlib/strtod_l.c (__STRTOF): Likewise.
11227         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11228         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11229         (__strtol_l): Likewise.
11230         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11231         [!__STDC__]: Remove conditional code.
11232         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11233         definition.
11234         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11235         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11236         type.
11237         (__strcasecmp): Convert to prototype-style function definition.
11238         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11239         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11240         type.
11241         (__strncasecmp): Convert to prototype-style function definition.
11242         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11243         * sunrpc/xdr.c (xdr_union): Likewise.
11244         * sunrpc/xdr_array.c (xdr_array): Likewise.
11245         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11246         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11247         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11248         Likewise.
11249         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11250         Likewise.
11251         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11252         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11253         Likewise.
11254         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11255         (LOCALE_PARAM_PROTO): Likewise.
11256         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11257         argument type.
11258         (ut_argument_spec): Remove macro.
11259         (ut_argument_spec_iso): Rename to ut_argument_spec.
11260         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11261         prototype-style function definition.
11262         (memcpy_uppcase): Likewise.
11263         (__strftime_internal): Likewise.
11264         (my_strftime): Likewise.
11265         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11266         (LOCALE_PARAM_DECL): Likewise.
11267         [_LIBC] (LOCALE_PARAM): Include argument type.
11268         (__strptime_internal): Convert to prototype-style function
11269         definition.
11270         (strptime): Likewise.
11271         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11272         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11273         type.
11274         (__wcscasecmp): Convert to prototype-style function definition.
11275         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11276         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11277         type.
11278         (__wcsncasecmp): Convert to prototype-style function definition.
11280         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11281         function definition.
11282         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11283         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11284         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11285         * elf/dl-minimal.c (_itoa): Likewise.
11286         * hurd/hurdmalloc.c (malloc): Likewise.
11287         (free): Likewise.
11288         (realloc): Likewise.
11289         * inet/inet6_option.c (inet6_option_space): Likewise.
11290         (inet6_option_init): Likewise.
11291         (inet6_option_append): Likewise.
11292         (inet6_option_alloc): Likewise.
11293         (inet6_option_next): Likewise.
11294         (inet6_option_find): Likewise.
11295         * io/ftw.c (FTW_NAME): Likewise.
11296         (NFTW_NAME): Likewise.
11297         (NFTW_NEW_NAME): Likewise.
11298         (NFTW_OLD_NAME): Likewise.
11299         * libio/iofwide.c (_IO_fwide): Likewise.
11300         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11301         (_IO_str_init_static): Likewise.
11302         (_IO_str_init_readonly): Likewise.
11303         (_IO_str_overflow): Likewise.
11304         (_IO_str_underflow): Likewise.
11305         (_IO_str_count): Likewise.
11306         (_IO_str_seekoff): Likewise.
11307         (_IO_str_pbackfail): Likewise.
11308         (_IO_str_finish): Likewise.
11309         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11310         (_IO_wstr_overflow): Likewise.
11311         (_IO_wstr_underflow): Likewise.
11312         (_IO_wstr_count): Likewise.
11313         (_IO_wstr_seekoff): Likewise.
11314         (_IO_wstr_pbackfail): Likewise.
11315         (_IO_wstr_finish): Likewise.
11316         * locale/programs/localedef.c (normalize_codeset): Likewise.
11317         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11318         (add_locales_to_archive): Likewise.
11319         (delete_locales_from_archive): Likewise.
11320         * malloc/malloc.c (__libc_mallinfo): Likewise.
11321         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11322         * misc/tsearch.c (__tfind): Likewise.
11323         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11324         * nptl/pthread_attr_getdetachstate.c
11325         (__pthread_attr_getdetachstate): Likewise.
11326         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11327         Likewise.
11328         * nptl/pthread_attr_getinheritsched.c
11329         (__pthread_attr_getinheritsched): Likewise.
11330         * nptl/pthread_attr_getschedparam.c
11331         (__pthread_attr_getschedparam): Likewise.
11332         * nptl/pthread_attr_getschedpolicy.c
11333         (__pthread_attr_getschedpolicy): Likewise.
11334         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11335         Likewise.
11336         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11337         Likewise.
11338         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11339         Likewise.
11340         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11341         Likewise.
11342         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11343         (__pthread_attr_init_2_0): Likewise.
11344         * nptl/pthread_attr_setdetachstate.c
11345         (__pthread_attr_setdetachstate): Likewise.
11346         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11347         Likewise.
11348         * nptl/pthread_attr_setinheritsched.c
11349         (__pthread_attr_setinheritsched): Likewise.
11350         * nptl/pthread_attr_setschedparam.c
11351         (__pthread_attr_setschedparam): Likewise.
11352         * nptl/pthread_attr_setschedpolicy.c
11353         (__pthread_attr_setschedpolicy): Likewise.
11354         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11355         Likewise.
11356         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11357         Likewise.
11358         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11359         Likewise.
11360         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11361         Likewise.
11362         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11363         Likewise.
11364         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11365         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11366         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11367         use internal_function.
11368         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11369         prototype-style function definition.
11370         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11371         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11372         internal_function.
11373         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11374         Convert to prototype-style function definition.
11375         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11376         Likewise.
11377         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11378         Likewise.
11379         (__pthread_mutex_unlock): Likewise.
11380         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11381         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11382         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11383         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11384         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11385         * nss/makedb.c (process_input): Likewise.
11386         * posix/fnmatch.c (__strchrnul): Likewise.
11387         (__wcschrnul): Likewise.
11388         (fnmatch): Likewise.
11389         * posix/fnmatch_loop.c (FCT): Likewise.
11390         * posix/glob.c (globfree): Likewise.
11391         (__glob_pattern_type): Likewise.
11392         (__glob_pattern_p): Likewise.
11393         * posix/regcomp.c (re_compile_pattern): Likewise.
11394         (re_set_syntax): Likewise.
11395         (re_compile_fastmap): Likewise.
11396         (regcomp): Likewise.
11397         (regerror): Likewise.
11398         (regfree): Likewise.
11399         * posix/regexec.c (regexec): Likewise.
11400         (re_match): Likewise.
11401         (re_search): Likewise.
11402         (re_match_2): Likewise.
11403         (re_search_2): Likewise.
11404         (re_search_stub): Likewise.  Use internal_function
11405         (re_copy_regs): Likewise.
11406         (re_set_registers): Convert to prototype-style function
11407         definition.
11408         (prune_impossible_nodes): Likewise.  Use internal_function.
11409         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11410         prototype-style function definition.
11411         (inet_net_pton_ipv4): Likewise.
11412         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11413         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11414         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11415         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11416         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11417         Make variadic.
11418         * time/strptime_l.c (localtime_r): Convert to prototype-style
11419         function definition.
11420         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11421         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11422         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11423         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11425         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11426         definition.
11427         (_ufc_doit_r): Likewise.
11428         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11429         (_ufc_output_conversion_r): Likewise.
11430         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11431         * inet/rcmd.c (rcmd_af): Likewise.
11432         (rcmd): Likewise.
11433         (ruserok_af): Likewise.
11434         (ruserok): Likewise.
11435         (ruserok2_sa): Likewise.
11436         (ruserok_sa): Likewise.
11437         (iruserok_af): Likewise.
11438         (iruserok): Likewise.
11439         (__ivaliduser): Likewise.
11440         (__validuser2_sa): Likewise.
11441         * inet/rexec.c (rexec_af): Likewise.
11442         (rexec): Likewise.
11443         * inet/ruserpass.c (ruserpass): Likewise.
11444         * locale/programs/xmalloc.c (xcalloc): Likewise.
11445         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11446         * math/w_drem.c (__drem): Likewise.
11447         * math/w_dremf.c (__dremf): Likewise.
11448         * math/w_dreml.c (__dreml): Likewise.
11449         * misc/daemon.c (daemon): Likewise.
11450         * resolv/res_debug.c (p_fqnname): Likewise.
11451         * stdlib/div.c (div): Likewise.
11452         * string/memcmp.c (memcmp_bytes): Likewise.
11453         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11454         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11456         * crypt/cert.c (main): Convert to prototype-style function
11457         definition.
11458         * io/pipe.c (__pipe): Likewise.
11459         * io/pipe2.c (__pipe2): Likewise.
11460         * misc/futimesat.c (futimesat): Likewise.
11461         * misc/utimes.c (__utimes): Likewise.
11462         * posix/execve.c (__execve): Likewise.
11463         * posix/execvp.c (execvp): Likewise.
11464         * posix/execvpe.c (__execvpe): Likewise.
11465         * posix/fexecve.c (fexecve): Likewise.
11466         * socket/socketpair.c (socketpair): Likewise.
11467         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11468         * stdlib/erand48.c (erand48): Likewise.
11469         * stdlib/erand48_r.c (__erand48_r): Likewise.
11470         * stdlib/jrand48.c (jrand48): Likewise.
11471         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11472         * stdlib/lcong48.c (lcong48): Likewise.
11473         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11474         * stdlib/nrand48.c (nrand48): Likewise.
11475         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11476         * stdlib/seed48.c (seed48): Likewise.
11477         * stdlib/seed48_r.c (__seed48_r): Likewise.
11478         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11479         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11480         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11482 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11484         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11485         * configure: Regenerated.
11486         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11487         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11488         unconditional.
11489         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11490         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11491         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11492         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11493         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11494         unconditional.
11495         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11497         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11498         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11500         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11501         function definition.
11502         * crypt/crypt_util.c (__encrypt_r): Likewise.
11503         * libio/genops.c (_IO_no_init): Likewise.
11504         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11505         (_IO_old_fopencookie): Likewise.
11506         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11507         * libio/iogetline.c (_IO_getline): Likewise.
11508         (_IO_getline_info): Likewise.
11509         * libio/iogetwline.c (_IO_getwline): Likewise.
11510         (_IO_getwline_info): Likewise.
11511         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11512         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11513         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11514         (find_entry): Likewise.
11515         (iterate_table): Likewise.
11516         (lookup): Likewise.
11517         * login/forkpty.c (forkpty): Likewise.
11518         * misc/hsearch_r.c (__hsearch_r): Likewise.
11519         * misc/select.c (__select): Likewise.
11520         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11521         Likewise.
11522         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11523         Likewise.
11524         * nptl/old_pthread_cond_timedwait.c
11525         (__pthread_cond_timedwait_2_0): Likewise.
11526         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11527         * nptl/pthread_barrierattr_getpshared.c
11528         (pthread_barrierattr_getpshared): Likewise.
11529         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11530         Likewise.
11531         * nptl/pthread_mutex_setprioceiling.c
11532         (pthread_mutex_setprioceiling): Likewise.
11533         * nptl/pthread_mutexattr_getprioceiling.c
11534         (pthread_mutexattr_getprioceiling): Likewise.
11535         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11536         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11537         Likewise.
11538         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11539         Likewise.
11540         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11541         Likewise.
11542         * socket/recvfrom.c (__recvfrom): Likewise.
11543         * socket/sendto.c (__sendto): Likewise.
11544         * socket/setsockopt.c (__setsockopt): Likewise.
11545         * stdio-common/_itoa.c (_itoa): Likewise.
11546         * stdio-common/_itowa.c (_itowa): Likewise.
11547         * stdio-common/reg-printf.c (__register_printf_specifier):
11548         Likewise.
11549         (__register_printf_function): Likewise.
11550         * stdio-common/tempname.c (__path_search): Likewise.
11551         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11552         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11553         * stdlib/random_r.c (__initstate_r): Likewise.
11554         * stdlib/setenv.c (__add_to_environ): Likewise.
11555         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11556         * streams/getpmsg.c (getpmsg): Likewise.
11557         * streams/putmsg.c (putmsg): Likewise.
11558         * streams/putpmsg.c (putpmsg): Likewise.
11559         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11560         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11561         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11562         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11563         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11564         * sunrpc/svc_udp.c (cache_get): Likewise.
11565         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11566         * sysdeps/mach/hurd/getcwd.c
11567         (__canonicalize_directory_name_internal): Likewise.
11568         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11569         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11570         * sysdeps/mach/hurd/select.c (__select): Likewise.
11571         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11572         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11573         * sysdeps/sparc/nptl/pthread_barrier_init.c
11574         (__pthread_barrier_init): Likewise.
11575         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11576         (__pthread_cond_timedwait): Likewise.
11577         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11578         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11579         Likewise.
11580         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11581         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11582         Likewise.
11583         * sysvipc/semtimedop.c (semtimedop): Likewise.
11584         * time/setitimer.c (__setitimer): Likewise.
11585         * time/strftime_l.c (emacs_strftime): Likewise.
11587 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11589         * config.make.in (have-ssp): Delete.
11590         (stack-protector): New variable.
11591         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11592         cache test for -fstack-protector-strong.  Export stack_protector to
11593         the best ssp flag.
11594         * configure: Regenerated.
11595         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11596         * nscd/Makefile (CFLAGS-nscd): Likewise.
11597         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11599 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11601         [BZ #19122]
11602         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11603         attribute_hidden.
11605 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11607         [BZ #18743]
11608         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11609         code to...
11610         (ELIDE_LOCK): ...here.
11611         (__get_new_count): New function with part of the code from
11612         __elide_lock that updates the value of adapt_count after a
11613         transaction abort.
11614         (__elided_trylock): Moved this code to...
11615         (ELIDE_TRYLOCK): ...here.
11617 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11619         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11620         * configure: Regenerate.
11621         * INSTALL: Regenerate.
11622         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11623         and tweak grammar.
11625 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11627         * login/programs/pt_chown.c: Include signal.h
11628         (main): Clear any signal mask from the parent process.
11630 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11632         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11633         * configure: Regenerated.
11634         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11635         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11636         $(gnu89-inline-CFLAGS).
11638         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11639         test.
11640         (libc_cv_asm_weakext_directive): Likewise.
11641         * configure: Regenerated.
11642         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11643         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11644         * include/libc-symbols.h
11645         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11646         #error.
11647         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11648         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11650         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11651         prototype-style function definition.
11652         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11653         * sysdeps/i386/ffs.c (__ffs): Likewise.
11654         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11655         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11656         Likewise.
11657         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11658         Likewise.
11659         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11660         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11661         Likewise.
11662         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11663         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11664         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11665         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11666         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11667         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11668         * sysdeps/mach/hurd/access.c (__access): Likewise.
11669         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11670         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11671         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11672         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11673         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11674         (cthread_getspecific): Likewise.
11675         (cthread_setspecific): Likewise.
11676         (__libc_getspecific): Likewise.
11677         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11678         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11679         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11680         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11681         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11682         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11683         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11684         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11685         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11686         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11687         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11688         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11689         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11690         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11691         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11692         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11693         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11694         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11695         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11696         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11697         * sysdeps/mach/hurd/link.c (__link): Likewise.
11698         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11699         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11700         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11701         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11702         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11703         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11704         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11705         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11706         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11707         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11708         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11709         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11710         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11711         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11712         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11713         * sysdeps/mach/hurd/send.c (__send): Likewise.
11714         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11715         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11716         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11717         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11718         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11719         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11720         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11721         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11722         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11723         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11724         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11725         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11726         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11727         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11728         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11729         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11730         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11731         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11732         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11733         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11734         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11735         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11736         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11737         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11738         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11739         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11740         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11741         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11742         * sysdeps/posix/alarm.c (alarm): Likewise.
11743         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11744         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11745         * sysdeps/posix/dup.c (__dup): Likewise.
11746         * sysdeps/posix/dup2.c (__dup2): Likewise.
11747         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11748         (main): Likewise.
11749         * sysdeps/posix/flock.c (__flock): Likewise.
11750         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11751         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11752         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11753         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11754         * sysdeps/posix/isatty.c (__isatty): Likewise.
11755         * sysdeps/posix/killpg.c (killpg): Likewise.
11756         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11757         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11758         * sysdeps/posix/raise.c (raise): Likewise.
11759         * sysdeps/posix/remove.c (remove): Likewise.
11760         * sysdeps/posix/rename.c (rename): Likewise.
11761         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11762         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11763         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11764         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11765         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11766         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11767         * sysdeps/posix/sigset.c (sigset): Likewise.
11768         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11769         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11770         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11771         * sysdeps/posix/time.c (time): Likewise.
11772         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11773         (ttyname): Likewise.
11774         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11775         * sysdeps/posix/utime.c (utime): Likewise.
11776         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11777         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11778         Likewise.
11779         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11780         (pthread_spin_trylock): Likewise.
11781         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11782         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11783         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11784         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11785         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11786         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11787         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11788         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11789         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11790         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11791         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11792         * sysdeps/s390/ffs.c (__ffs): Likewise.
11793         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11794         Likewise.
11795         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11796         Likewise.
11797         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11798         Likewise.
11799         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11800         (pthread_barrier_destroy): Likewise.
11801         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11802         (__pthread_barrier_wait): Likewise.
11803         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11804         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11805         (__pthread_barrier_wait): Likewise.
11806         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11807         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11808         (memcmp_not_common_alignment): Likewise.
11809         (MEMCMP): Likewise.
11810         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11811         (_wordcopy_fwd_dest_aligned): Likewise.
11812         (_wordcopy_bwd_aligned): Likewise.
11813         (_wordcopy_bwd_dest_aligned): Likewise.
11814         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11815         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11816         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11817         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11818         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11819         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11820         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11821         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11822         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11823         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11824         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11825         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11826         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11827         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11828         * sysdeps/unix/stime.c (stime): Likewise.
11829         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11830         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11831         Likewise.  Use internal_function.
11832         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11833         Convert to prototype-style function definition.
11834         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11835         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11836         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11837         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11838         Likewise.  Use internal_function.
11839         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11840         prototype-style function definition
11841         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11842         Likewise.
11843         (__getlogin_r): Likewise.
11844         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11845         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11846         (__pthread_cond_broadcast): Likewise.
11847         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11848         (__pthread_cond_destroy): Likewise.
11849         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11850         (__pthread_cond_init): Likewise.
11851         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11852         (__pthread_cond_signal): Likewise.
11853         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11854         (__pthread_cond_wait): Likewise.
11855         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11856         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11857         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11858         Likewise.
11859         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11860         Likewise.
11861         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11862         Likewise.
11863         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11864         Likewise.
11865         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11867         (__ftruncate64): Likewise.
11868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11869         (truncate64): Likewise.
11870         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11871         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11872         (pthread_getcpuclockid): Likewise.
11873         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11874         Likewise.
11875         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11876         Likewise.
11877         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11878         Likewise.
11879         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11880         Likewise.
11881         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11882         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11883         (__libc_sigaction): Likewise.
11884         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11885         Likewise.
11886         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11887         (__sigprocmask): Likewise.
11888         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11889         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11890         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11891         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11892         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11893         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11894         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11895         Likewise.
11896         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11897         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11898         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11899         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11900         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11901         Likewise.
11902         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11903         (__sigprocmask): Likewise.
11904         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11905         (cfgetispeed): Likewise.
11906         (cfsetospeed): Likewise.
11907         (cfsetispeed): Likewise.
11908         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11909         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11910         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11911         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11912         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11913         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11914         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11915         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11916         Likewise.
11917         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11918         Likewise.
11919         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11920         Likewise.
11921         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11922         Likewise.
11923         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11925 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11927         sunrpc: Rewrite with explicit TLS access using __thread.
11928         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11929         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11930         directly.
11931         (__rpc_thread_variables): Access thread_rpc_vars directly.
11932         Eliminate redundant assignment of the tvp variable.
11934 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11936         malloc: Rewrite with explicit TLS access using __thread.
11937         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11938         (tsd_setspecific, tsd_getspecific): Remove.
11939         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11940         (tsd_setspecific, tsd_getspecific): Likewise.
11941         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11942         (tsd_setspecific, tsd_getspecific): Likewise.
11943         * malloc/arena.c (thread_arena): New TLS variable.
11944         (arena_key): Remove variable.
11945         (arena_get): Use thread_arena.
11946         (arena_lookup): Remove macro.
11947         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11948         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11949         (_int_new_arena, get_free_list, reused_arena)
11950         (arena_thread_freeres): Use thread_arena.
11951         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11952         tsd_getspecific, tsd_setspecific from safety annotations.
11953         (Allocating Cleared Space): Remove arena_lookup from safety
11954         annotations.
11956 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11958         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11959         struct scratch_buffer instead of extend_alloca.
11961 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11963         * sysdeps/unix/sysv/linux/kernel-features.h
11964         (__ASSUME_SOCK_CLOEXEC): Remove.
11965         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11966         (__have_paccept): Remove unused macro.
11967         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11968         * misc/syslog.c (openlog_internal): Remove fallback code for
11969         !__ASSUME_SOCK_CLOEXEC.
11970         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11971         missing SOCK_CLOEXEC.
11972         * nscd/connections.c (have_sock_cloexec): Remove definition.
11973         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11974         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11975         !__ASSUME_SOCK_CLOEXEC.
11976         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11977         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11978         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11979         definition.
11980         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11981         code for !__ASSUME_SOCK_CLOEXEC.
11983 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11985         [BZ #18982]
11986         * manual/stdio.texi (Variable Arguments Output): Add portability
11987         note, explaining that vfprintf clobbers the va_list pointer.
11989 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11991         * math/libm-test.inc (fabs_test_data): Add more tests.
11992         (fdim_test_data): Likewise.
11993         (fma_test_data): Likewise.
11994         (fmax_test_data): Likewise.
11995         (fmin_test_data): Likewise.
11996         (fmod_test_data): Likewise.
11998 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12000         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12001         data.
12003 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12005         * math/libm-test.inc (ceil_test_data): Add more tests and more
12006         expectations for "inexact".
12007         (floor_test_data): Add more tests.
12008         (round_test_data): Likewise.
12009         (trunc_test_data): Likewise.
12011         * crypt/cert.c (good_bye): Convert to prototype-style function
12012         definition.
12013         (get8): Likewise.
12014         (put8): Likewise.
12015         * crypt/crypt-entry.c (crypt): Likewise.
12016         (__fcrypt): Likewise.
12017         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12018         (_ufc_set_bits): Likewise.
12019         (_ufc_clearmem): Likewise.
12020         (__init_des_r): Likewise.
12021         (shuffle_sb): Likewise.
12022         (shuffle_sb): Likewise.
12023         (_ufc_setup_salt_r): Likewise.
12024         (_ufc_mk_keytab_r): Likewise.
12025         (_ufc_dofinalperm_r): Likewise.
12026         (encrypt): Likewise.
12027         (__setkey_r): Likewise.
12028         (setkey): Likewise.
12029         * crypt/md5.c (md5_init_ctx): Likewise.
12030         (md5_read_ctx): Likewise.
12031         (md5_finish_ctx): Likewise.
12032         (md5_stream): Likewise.
12033         (md5_buffer): Likewise.
12034         (md5_process_bytes): Likewise.
12035         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12036         (__sha256_finish_ctx): Likewise.
12037         (__sha256_process_bytes): Likewise.
12038         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12039         (__sha512_finish_ctx): Likewise.
12040         (__sha512_process_bytes): Likewise.
12041         * ctype/isctype.c (__isctype): Likewise.
12042         * debug/backtrace.c (__backtrace): Likewise.
12043         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12044         * debug/fgets_chk.c (__fgets_chk): Likewise.
12045         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12046         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12047         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12048         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12049         * debug/memset_chk.c (__memset_chk): Likewise.
12050         * debug/strcat_chk.c (__strcat_chk): Likewise.
12051         * debug/strncat_chk.c (__strncat_chk): Likewise.
12052         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12053         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12054         * dirent/dirfd.c (dirfd): Likewise.
12055         * dirent/getdents.c (__getdirentries): Likewise.
12056         * dirent/getdents64.c (getdirentries64): Likewise.
12057         * dirent/rewinddir.c (__rewinddir): Likewise.
12058         * dirent/seekdir.c (seekdir): Likewise.
12059         * dirent/telldir.c (telldir): Likewise.
12060         * elf/sln.c (makesymlinks): Likewise.
12061         (makesymlink): Likewise.
12062         * gmon/gmon.c (__moncontrol): Likewise.
12063         (__monstartup): Likewise.
12064         (write_hist): Likewise.
12065         (write_call_graph): Likewise.
12066         (write_bb_counts): Likewise.
12067         * grp/setgroups.c (setgroups): Likewise.
12068         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12069         * inet/inet_net.c (inet_network): Likewise.
12070         * inet/inet_netof.c (inet_netof): Likewise.
12071         * inet/rcmd.c (rresvport_af): Likewise.
12072         (rresvport): Likewise.
12073         * io/access.c (__access): Likewise.
12074         * io/chdir.c (__chdir): Likewise.
12075         * io/chmod.c (__chmod): Likewise.
12076         * io/chown.c (__chown): Likewise.
12077         * io/close.c (__close): Likewise.
12078         * io/creat.c (creat): Likewise.
12079         * io/creat64.c (creat64): Likewise.
12080         * io/dup.c (__dup): Likewise.
12081         * io/dup2.c (__dup2): Likewise.
12082         * io/dup3.c (__dup3): Likewise.
12083         * io/euidaccess.c (__euidaccess): Likewise.
12084         * io/faccessat.c (faccessat): Likewise.
12085         * io/fchmod.c (__fchmod): Likewise.
12086         * io/fchmodat.c (fchmodat): Likewise.
12087         * io/fchown.c (__fchown): Likewise.
12088         * io/fchownat.c (fchownat): Likewise.
12089         * io/fcntl.c (__fcntl): Likewise.
12090         * io/flock.c (__flock): Likewise.
12091         * io/fts.c (fts_load): Likewise.
12092         (fts_close): Likewise.
12093         (fts_read): Likewise.
12094         (fts_set): Likewise.
12095         (fts_children): Likewise.
12096         (fts_build): Likewise.
12097         (fts_stat): Likewise.
12098         (fts_sort): Likewise.
12099         (fts_alloc): Likewise.
12100         (fts_lfree): Likewise.
12101         (fts_palloc): Likewise.
12102         (fts_padjust): Likewise.
12103         (fts_maxarglen): Likewise.
12104         (fts_safe_changedir): Likewise.
12105         * io/getwd.c (getwd): Likewise.
12106         * io/isatty.c (__isatty): Likewise.
12107         * io/lchown.c (__lchown): Likewise.
12108         * io/link.c (__link): Likewise.
12109         * io/linkat.c (linkat): Likewise.
12110         * io/lseek.c (__libc_lseek): Likewise.
12111         * io/mkdir.c (__mkdir): Likewise.
12112         * io/mkdirat.c (mkdirat): Likewise.
12113         * io/mkfifo.c (mkfifo): Likewise.
12114         * io/mkfifoat.c (mkfifoat): Likewise.
12115         * io/open.c (__libc_open): Likewise.
12116         * io/open64.c (__libc_open64): Likewise.
12117         * io/readlink.c (__readlink): Likewise.
12118         * io/readlinkat.c (readlinkat): Likewise.
12119         * io/rmdir.c (__rmdir): Likewise.
12120         * io/symlink.c (__symlink): Likewise.
12121         * io/symlinkat.c (symlinkat): Likewise.
12122         * io/ttyname.c (ttyname): Likewise.
12123         * io/ttyname_r.c (__ttyname_r): Likewise.
12124         * io/umask.c (__umask): Likewise.
12125         * io/unlink.c (__unlink): Likewise.
12126         * io/unlinkat.c (unlinkat): Likewise.
12127         * io/utime.c (utime): Likewise.
12128         * libio/clearerr.c (clearerr): Likewise.
12129         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12130         * libio/feof.c (_IO_feof): Likewise.
12131         * libio/feof_u.c (feof_unlocked): Likewise.
12132         * libio/ferror.c (_IO_ferror): Likewise.
12133         * libio/ferror_u.c (ferror_unlocked): Likewise.
12134         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12135         * libio/fileno.c (__fileno): Likewise.
12136         * libio/fputc.c (fputc): Likewise.
12137         * libio/fputc_u.c (fputc_unlocked): Likewise.
12138         * libio/fputwc.c (fputwc): Likewise.
12139         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12140         * libio/freopen.c (freopen): Likewise.
12141         * libio/freopen64.c (freopen64): Likewise.
12142         * libio/fseek.c (fseek): Likewise.
12143         * libio/fseeko.c (fseeko): Likewise.
12144         * libio/fseeko64.c (fseeko64): Likewise.
12145         * libio/ftello.c (__ftello): Likewise.
12146         * libio/ftello64.c (ftello64): Likewise.
12147         * libio/fwide.c (fwide): Likewise.
12148         * libio/genops.c (_IO_un_link): Likewise.
12149         (_IO_link_in): Likewise.
12150         (_IO_least_marker): Likewise.
12151         (_IO_switch_to_main_get_area): Likewise.
12152         (_IO_switch_to_backup_area): Likewise.
12153         (_IO_switch_to_get_mode): Likewise.
12154         (_IO_free_backup_area): Likewise.
12155         (_IO_switch_to_put_mode): Likewise.
12156         (__overflow): Likewise.
12157         (__underflow): Likewise.
12158         (__uflow): Likewise.
12159         (_IO_setb): Likewise.
12160         (_IO_doallocbuf): Likewise.
12161         (_IO_default_underflow): Likewise.
12162         (_IO_default_uflow): Likewise.
12163         (_IO_default_xsputn): Likewise.
12164         (_IO_sgetn): Likewise.
12165         (_IO_default_xsgetn): Likewise.
12166         (_IO_sync): Likewise.
12167         (_IO_default_setbuf): Likewise.
12168         (_IO_default_seekpos): Likewise.
12169         (_IO_default_doallocate): Likewise.
12170         (_IO_init): Likewise.
12171         (_IO_old_init): Likewise.
12172         (_IO_default_sync): Likewise.
12173         (_IO_default_finish): Likewise.
12174         (_IO_default_seekoff): Likewise.
12175         (_IO_sputbackc): Likewise.
12176         (_IO_sungetc): Likewise.
12177         (_IO_set_column): Likewise.
12178         (_IO_set_column): Likewise.
12179         (_IO_adjust_column): Likewise.
12180         (_IO_get_column): Likewise.
12181         (_IO_init_marker): Likewise.
12182         (_IO_remove_marker): Likewise.
12183         (_IO_marker_difference): Likewise.
12184         (_IO_marker_delta): Likewise.
12185         (_IO_seekmark): Likewise.
12186         (_IO_unsave_markers): Likewise.
12187         (_IO_nobackup_pbackfail): Likewise.
12188         (_IO_default_pbackfail): Likewise.
12189         (_IO_default_seek): Likewise.
12190         (_IO_default_stat): Likewise.
12191         (_IO_default_read): Likewise.
12192         (_IO_default_write): Likewise.
12193         (_IO_default_showmanyc): Likewise.
12194         (_IO_default_imbue): Likewise.
12195         (_IO_iter_next): Likewise.
12196         (_IO_iter_file): Likewise.
12197         * libio/getc.c (_IO_getc): Likewise.
12198         * libio/getwc.c (_IO_getwc): Likewise.
12199         * libio/iofclose.c (_IO_new_fclose): Likewise.
12200         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12201         * libio/iofflush.c (_IO_fflush): Likewise.
12202         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12203         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12204         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12205         * libio/iofgets.c (_IO_fgets): Likewise.
12206         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12207         * libio/iofgetws.c (fgetws): Likewise.
12208         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12209         * libio/iofopen64.c (_IO_fopen64): Likewise.
12210         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12211         (_IO_cookie_write): Likewise.
12212         (_IO_cookie_seek): Likewise.
12213         (_IO_cookie_close): Likewise.
12214         (_IO_cookie_seekoff): Likewise.
12215         (_IO_old_cookie_seek): Likewise.
12216         * libio/iofputs.c (_IO_fputs): Likewise.
12217         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12218         * libio/iofputws.c (fputws): Likewise.
12219         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12220         * libio/iofread.c (_IO_fread): Likewise.
12221         * libio/iofread_u.c (__fread_unlocked): Likewise.
12222         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12223         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12224         * libio/ioftell.c (_IO_ftell): Likewise.
12225         * libio/iofwrite.c (_IO_fwrite): Likewise.
12226         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12227         * libio/iogets.c (_IO_gets): Likewise.
12228         * libio/iopadn.c (_IO_padn): Likewise.
12229         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12230         (_IO_new_popen): Likewise.
12231         (_IO_new_proc_close): Likewise.
12232         * libio/ioputs.c (_IO_puts): Likewise.
12233         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12234         (_IO_seekoff): Likewise.
12235         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12236         (_IO_seekpos): Likewise.
12237         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12238         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12239         * libio/ioungetc.c (_IO_ungetc): Likewise.
12240         * libio/ioungetwc.c (ungetwc): Likewise.
12241         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12242         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12243         * libio/iowpadn.c (_IO_wpadn): Likewise.
12244         * libio/libc_fatal.c (__libc_fatal): Likewise.
12245         * libio/memstream.c (__open_memstream): Likewise.
12246         (_IO_mem_sync): Likewise.
12247         (_IO_mem_finish): Likewise.
12248         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12249         (_IO_old_file_close_it): Likewise.
12250         (_IO_old_file_finish): Likewise.
12251         (_IO_old_file_fopen): Likewise.
12252         (_IO_old_file_attach): Likewise.
12253         (_IO_old_file_setbuf): Likewise.
12254         (_IO_old_do_write): Likewise.
12255         (old_do_write): Likewise.
12256         (_IO_old_file_underflow): Likewise.
12257         (_IO_old_file_overflow): Likewise.
12258         (_IO_old_file_sync): Likewise.
12259         (_IO_old_file_seekoff): Likewise.
12260         (_IO_old_file_write): Likewise.
12261         (_IO_old_file_xsputn): Likewise.
12262         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12263         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12264         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12265         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12266         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12267         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12268         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12269         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12270         (_IO_old_popen): Likewise.
12271         (_IO_old_proc_close): Likewise.
12272         * libio/oldpclose.c (__old_pclose): Likewise.
12273         * libio/pclose.c (__new_pclose): Likewise.
12274         * libio/peekc.c (_IO_peekc_locked): Likewise.
12275         * libio/putc.c (_IO_putc): Likewise.
12276         * libio/putc_u.c (putc_unlocked): Likewise.
12277         * libio/putchar.c (putchar): Likewise.
12278         * libio/putchar_u.c (putchar_unlocked): Likewise.
12279         * libio/putwc.c (putwc): Likewise.
12280         * libio/putwc_u.c (putwc_unlocked): Likewise.
12281         * libio/putwchar.c (putwchar): Likewise.
12282         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12283         * libio/rewind.c (rewind): Likewise.
12284         * libio/setbuf.c (setbuf): Likewise.
12285         * libio/setlinebuf.c (setlinebuf): Likewise.
12286         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12287         * libio/vscanf.c (_IO_vscanf): Likewise.
12288         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12289         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12290         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12291         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12292         (_IO_switch_to_main_wget_area): Likewise.
12293         (_IO_switch_to_wbackup_area): Likewise.
12294         (_IO_wsetb): Likewise.
12295         (_IO_wdefault_pbackfail): Likewise.
12296         (_IO_wdefault_finish): Likewise.
12297         (_IO_wdefault_uflow): Likewise.
12298         (__woverflow): Likewise.
12299         (__wuflow): Likewise.
12300         (__wunderflow): Likewise.
12301         (_IO_wdefault_xsputn): Likewise.
12302         (_IO_wdefault_xsgetn): Likewise.
12303         (_IO_wdoallocbuf): Likewise.
12304         (_IO_wdefault_doallocate): Likewise.
12305         (_IO_switch_to_wget_mode): Likewise.
12306         (_IO_free_wbackup_area): Likewise.
12307         (_IO_switch_to_wput_mode): Likewise.
12308         (_IO_sputbackwc): Likewise.
12309         (_IO_sungetwc): Likewise.
12310         (_IO_adjust_wcolumn): Likewise.
12311         (_IO_init_wmarker): Likewise.
12312         (_IO_wmarker_delta): Likewise.
12313         (_IO_seekwmark): Likewise.
12314         (_IO_unsave_wmarkers): Likewise.
12315         * libio/wmemstream.c (open_wmemstream): Likewise.
12316         (_IO_wmem_sync): Likewise.
12317         (_IO_wmem_finish): Likewise.
12318         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12319         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12320         * locale/programs/simple-hash.c (init_hash): Likewise.
12321         (delete_hash): Likewise.
12322         (insert_entry): Likewise.
12323         (set_entry): Likewise.
12324         (next_prime): Likewise.
12325         (is_prime): Likewise.
12326         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12327         (xmalloc): Likewise.
12328         (xrealloc): Likewise.
12329         * locale/programs/xstrdup.c (xstrdup): Likewise.
12330         * localedata/collate-test.c (xstrcoll): Likewise.
12331         * localedata/xfrm-test.c (xstrcmp): Likewise.
12332         * login/getlogin_r.c (__getlogin_r): Likewise.
12333         * login/getpt.c (__posix_openpt): Likewise.
12334         * login/login_tty.c (login_tty): Likewise.
12335         * login/setlogin.c (setlogin): Likewise.
12336         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12337         (mach_msg_destroy_port): Likewise.
12338         (mach_msg_destroy_memory): Likewise.
12339         * malloc/mcheck.c (flood): Likewise.
12340         * misc/acct.c (acct): Likewise.
12341         * misc/brk.c (__brk): Likewise.
12342         * misc/chflags.c (chflags): Likewise.
12343         * misc/chroot.c (chroot): Likewise.
12344         * misc/fchflags.c (fchflags): Likewise.
12345         * misc/fstab.c (getfsspec): Likewise.
12346         (getfsfile): Likewise.
12347         * misc/fsync.c (fsync): Likewise.
12348         * misc/ftruncate.c (__ftruncate): Likewise.
12349         * misc/ftruncate64.c (__ftruncate64): Likewise.
12350         * misc/getdomain.c (getdomainname): Likewise.
12351         (getdomainname): Likewise.
12352         * misc/gethostname.c (__gethostname): Likewise.
12353         * misc/getpass.c (getpass): Likewise.
12354         * misc/getttyent.c (skip): Likewise.
12355         (value): Likewise.
12356         * misc/gtty.c (gtty): Likewise.
12357         * misc/hsearch.c (hsearch): Likewise.
12358         (hcreate): Likewise.
12359         * misc/hsearch_r.c (__hcreate_r): Likewise.
12360         (__hdestroy_r): Likewise.
12361         * misc/ioctl.c (__ioctl): Likewise.
12362         * misc/mkdtemp.c (mkdtemp): Likewise.
12363         * misc/mkostemp.c (mkostemp): Likewise.
12364         * misc/mkostemp64.c (mkostemp64): Likewise.
12365         * misc/mkostemps.c (mkostemps): Likewise.
12366         * misc/mkostemps64.c (mkostemps64): Likewise.
12367         * misc/mkstemp.c (mkstemp): Likewise.
12368         * misc/mkstemp64.c (mkstemp64): Likewise.
12369         * misc/mkstemps.c (mkstemps): Likewise.
12370         * misc/mkstemps64.c (mkstemps64): Likewise.
12371         * misc/mktemp.c (__mktemp): Likewise.
12372         * misc/preadv.c (preadv): Likewise.
12373         * misc/preadv64.c (preadv64): Likewise.
12374         * misc/pwritev.c (pwritev): Likewise.
12375         * misc/pwritev64.c (pwritev64): Likewise.
12376         * misc/readv.c (__readv): Likewise.
12377         * misc/revoke.c (revoke): Likewise.
12378         * misc/setdomain.c (setdomainname): Likewise.
12379         * misc/setegid.c (setegid): Likewise.
12380         * misc/seteuid.c (seteuid): Likewise.
12381         * misc/sethostid.c (sethostid): Likewise.
12382         * misc/sethostname.c (sethostname): Likewise.
12383         * misc/setregid.c (__setregid): Likewise.
12384         * misc/setreuid.c (__setreuid): Likewise.
12385         * misc/sstk.c (sstk): Likewise.
12386         * misc/stty.c (stty): Likewise.
12387         * misc/syscall.c (syscall): Likewise.
12388         * misc/syslog.c (setlogmask): Likewise.
12389         * misc/truncate.c (__truncate): Likewise.
12390         * misc/truncate64.c (truncate64): Likewise.
12391         * misc/ualarm.c (ualarm): Likewise.
12392         * misc/usleep.c (usleep): Likewise.
12393         * misc/ustat.c (ustat): Likewise.
12394         * misc/writev.c (__writev): Likewise.
12395         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12396         * nptl/old_pthread_cond_broadcast.c
12397         (__pthread_cond_broadcast_2_0): Likewise.
12398         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12399         Likewise.
12400         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12401         Likewise.
12402         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12403         Likewise.
12404         * nptl/pt-raise.c (raise): Likewise.
12405         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12406         Likewise.
12407         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12408         * nptl/pthread_barrierattr_destroy.c
12409         (pthread_barrierattr_destroy): Likewise.
12410         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12411         Likewise.
12412         * nptl/pthread_barrierattr_setpshared.c
12413         (pthread_barrierattr_setpshared): Likewise.
12414         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12415         Likewise.
12416         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12417         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12418         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12419         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12420         Likewise.
12421         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12422         Likewise.
12423         * nptl/pthread_condattr_getpshared.c
12424         (pthread_condattr_getpshared): Likewise.
12425         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12426         Likewise.
12427         * nptl/pthread_condattr_setpshared.c
12428         (pthread_condattr_setpshared): Likewise.
12429         * nptl/pthread_detach.c (pthread_detach): Likewise.
12430         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12431         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12432         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12433         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12434         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12435         Likewise.
12436         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12437         Likewise.
12438         * nptl/pthread_mutex_getprioceiling.c
12439         (pthread_mutex_getprioceiling): Likewise.
12440         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12441         Likewise.
12442         * nptl/pthread_mutexattr_getprotocol.c
12443         (pthread_mutexattr_getprotocol): Likewise.
12444         * nptl/pthread_mutexattr_getpshared.c
12445         (pthread_mutexattr_getpshared): Likewise.
12446         * nptl/pthread_mutexattr_getrobust.c
12447         (pthread_mutexattr_getrobust): Likewise.
12448         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12449         Likewise.
12450         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12451         Likewise.
12452         * nptl/pthread_mutexattr_setprioceiling.c
12453         (pthread_mutexattr_setprioceiling): Likewise.
12454         * nptl/pthread_mutexattr_setprotocol.c
12455         (pthread_mutexattr_setprotocol): Likewise.
12456         * nptl/pthread_mutexattr_setpshared.c
12457         (pthread_mutexattr_setpshared): Likewise.
12458         * nptl/pthread_mutexattr_setrobust.c
12459         (pthread_mutexattr_setrobust): Likewise.
12460         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12461         Likewise.
12462         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12463         Likewise.
12464         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12465         Likewise.
12466         * nptl/pthread_rwlockattr_getkind_np.c
12467         (pthread_rwlockattr_getkind_np): Likewise.
12468         * nptl/pthread_rwlockattr_getpshared.c
12469         (pthread_rwlockattr_getpshared): Likewise.
12470         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12471         Likewise.
12472         * nptl/pthread_rwlockattr_setkind_np.c
12473         (pthread_rwlockattr_setkind_np): Likewise.
12474         * nptl/pthread_rwlockattr_setpshared.c
12475         (pthread_rwlockattr_setpshared): Likewise.
12476         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12477         Likewise.
12478         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12479         Likewise.
12480         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12481         Likewise.
12482         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12483         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12484         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12485         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12486         * nptl/sem_close.c (sem_close): Likewise.
12487         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12488         * nptl/sem_init.c (__old_sem_init): Likewise.
12489         * nptl/sigaction.c (__sigaction): Likewise.
12490         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12491         * posix/_exit.c (_exit): Likewise.
12492         * posix/alarm.c (alarm): Likewise.
12493         * posix/confstr.c (confstr): Likewise.
12494         * posix/fpathconf.c (__fpathconf): Likewise.
12495         * posix/getgroups.c (__getgroups): Likewise.
12496         * posix/getpgid.c (__getpgid): Likewise.
12497         * posix/group_member.c (__group_member): Likewise.
12498         * posix/pathconf.c (__pathconf): Likewise.
12499         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12500         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12501         * posix/setgid.c (__setgid): Likewise.
12502         * posix/setpgid.c (__setpgid): Likewise.
12503         * posix/setuid.c (__setuid): Likewise.
12504         * posix/sleep.c (__sleep): Likewise.
12505         * posix/sysconf.c (__sysconf): Likewise.
12506         * posix/times.c (__times): Likewise.
12507         * posix/uname.c (__uname): Likewise.
12508         * posix/waitid.c (__waitid): Likewise.
12509         * pwd/getpw.c (__getpw): Likewise.
12510         * resolv/base64.c (b64_pton): Likewise.
12511         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12512         * resolv/gethnamaddr.c (Dprintf): Likewise.
12513         (gethostbyname): Likewise.
12514         (gethostbyname2): Likewise.
12515         (gethostbyaddr): Likewise.
12516         (_sethtent): Likewise.
12517         (_gethtbyname): Likewise.
12518         (_gethtbyname2): Likewise.
12519         (_gethtbyaddr): Likewise.
12520         (map_v4v6_address): Likewise.
12521         (map_v4v6_hostent): Likewise.
12522         (addrsort): Likewise.
12523         (ht_sethostent): Likewise.
12524         (ht_gethostbyname): Likewise.
12525         (ht_gethostbyaddr): Likewise.
12526         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12527         (inet_net_ntop_ipv4): Likewise.
12528         * resolv/inet_neta.c (inet_neta): Likewise.
12529         * resolv/inet_ntop.c (inet_ntop): Likewise.
12530         (inet_ntop4): Likewise.
12531         (inet_ntop6): Likewise.
12532         * resolv/inet_pton.c (__inet_pton): Likewise.
12533         (inet_pton4): Likewise.
12534         (inet_pton6): Likewise.
12535         * resolv/res_debug.c (loc_aton): Likewise.
12536         (loc_ntoa): Likewise.
12537         * resource/getpriority.c (__getpriority): Likewise.
12538         * resource/getrusage.c (__getrusage): Likewise.
12539         * resource/nice.c (nice): Likewise.
12540         * resource/setpriority.c (__setpriority): Likewise.
12541         * resource/setrlimit64.c (setrlimit64): Likewise.
12542         * resource/vlimit.c (vlimit): Likewise.
12543         * resource/vtimes.c (vtimes): Likewise.
12544         * rt/aio_error.c (aio_error): Likewise.
12545         * rt/aio_return.c (aio_return): Likewise.
12546         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12547         * signal/kill.c (__kill): Likewise.
12548         * signal/killpg.c (killpg): Likewise.
12549         * signal/raise.c (raise): Likewise.
12550         * signal/sigaction.c (__sigaction): Likewise.
12551         * signal/sigaddset.c (sigaddset): Likewise.
12552         * signal/sigaltstack.c (sigaltstack): Likewise.
12553         * signal/sigandset.c (sigandset): Likewise.
12554         * signal/sigblock.c (__sigblock): Likewise.
12555         * signal/sigdelset.c (sigdelset): Likewise.
12556         * signal/sigempty.c (sigemptyset): Likewise.
12557         * signal/sigfillset.c (sigfillset): Likewise.
12558         * signal/sighold.c (sighold): Likewise.
12559         * signal/sigignore.c (sigignore): Likewise.
12560         * signal/sigintr.c (siginterrupt): Likewise.
12561         * signal/sigisempty.c (sigisemptyset): Likewise.
12562         * signal/sigismem.c (sigismember): Likewise.
12563         * signal/signal.c (signal): Likewise.
12564         * signal/sigorset.c (sigorset): Likewise.
12565         * signal/sigpause.c (__sigpause): Likewise.
12566         * signal/sigpending.c (sigpending): Likewise.
12567         * signal/sigprocmask.c (__sigprocmask): Likewise.
12568         * signal/sigrelse.c (sigrelse): Likewise.
12569         * signal/sigreturn.c (__sigreturn): Likewise.
12570         * signal/sigset.c (sigset): Likewise.
12571         * signal/sigsetmask.c (__sigsetmask): Likewise.
12572         * signal/sigstack.c (sigstack): Likewise.
12573         * signal/sigsuspend.c (__sigsuspend): Likewise.
12574         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12575         * signal/sysv_signal.c (__sysv_signal): Likewise.
12576         * socket/accept.c (accept): Likewise.
12577         * socket/accept4.c (__libc_accept4): Likewise.
12578         * socket/bind.c (__bind): Likewise.
12579         * socket/connect.c (__connect): Likewise.
12580         * socket/getpeername.c (getpeername): Likewise.
12581         * socket/getsockname.c (__getsockname): Likewise.
12582         * socket/getsockopt.c (getsockopt): Likewise.
12583         * socket/listen.c (__listen): Likewise.
12584         * socket/recv.c (__recv): Likewise.
12585         * socket/recvmsg.c (__recvmsg): Likewise.
12586         * socket/send.c (__send): Likewise.
12587         * socket/sendmsg.c (__sendmsg): Likewise.
12588         * socket/shutdown.c (shutdown): Likewise.
12589         * socket/sockatmark.c (sockatmark): Likewise.
12590         * socket/socket.c (__socket): Likewise.
12591         * stdio-common/ctermid.c (ctermid): Likewise.
12592         * stdio-common/cuserid.c (cuserid): Likewise.
12593         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12594         * stdio-common/remove.c (remove): Likewise.
12595         * stdio-common/rename.c (rename): Likewise.
12596         * stdio-common/renameat.c (renameat): Likewise.
12597         * stdio-common/tempname.c (__gen_tempname): Likewise.
12598         * stdio-common/xbug.c (InitBuffer): Likewise.
12599         (AppendToBuffer): Likewise.
12600         (ReadFile): Likewise.
12601         * stdlib/a64l.c (a64l): Likewise.
12602         * stdlib/drand48_r.c (drand48_r): Likewise.
12603         * stdlib/getcontext.c (getcontext): Likewise.
12604         * stdlib/getenv.c (getenv): Likewise.
12605         * stdlib/l64a.c (l64a): Likewise.
12606         * stdlib/llabs.c (llabs): Likewise.
12607         * stdlib/lldiv.c (lldiv): Likewise.
12608         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12609         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12610         * stdlib/putenv.c (putenv): Likewise.
12611         * stdlib/random.c (__srandom): Likewise.
12612         (__initstate): Likewise.
12613         (__setstate): Likewise.
12614         * stdlib/random_r.c (__srandom_r): Likewise.
12615         (__setstate_r): Likewise.
12616         (__random_r): Likewise.
12617         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12618         * stdlib/setcontext.c (setcontext): Likewise.
12619         * stdlib/setenv.c (setenv): Likewise.
12620         (unsetenv): Likewise.
12621         * stdlib/srand48.c (srand48): Likewise.
12622         * stdlib/srand48_r.c (__srand48_r): Likewise.
12623         * stdlib/swapcontext.c (swapcontext): Likewise.
12624         * stdlib/system.c (__libc_system): Likewise.
12625         * stdlib/tst-strtod.c (expand): Likewise.
12626         * stdlib/tst-strtol.c (expand): Likewise.
12627         * stdlib/tst-strtoll.c (expand): Likewise.
12628         * streams/fattach.c (fattach): Likewise.
12629         * streams/fdetach.c (fdetach): Likewise.
12630         * streams/getmsg.c (getmsg): Likewise.
12631         * streams/isastream.c (isastream): Likewise.
12632         * string/ffs.c (__ffs): Likewise.
12633         * string/ffsll.c (ffsll): Likewise.
12634         * string/memcmp.c (memcmp_common_alignment): Likewise.
12635         (memcmp_not_common_alignment): Likewise.
12636         (MEMCMP): Likewise.
12637         * string/memcpy.c (memcpy): Likewise.
12638         * string/memmove.c (MEMMOVE): Likewise.
12639         * string/memset.c (memset): Likewise.
12640         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12641         * string/strchrnul.c (STRCHRNUL): Likewise.
12642         * string/strerror.c (strerror): Likewise.
12643         * string/strndup.c (__strndup): Likewise.
12644         * string/strverscmp.c (__strverscmp): Likewise.
12645         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12646         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12647         (clnttcp_freeres): Likewise.
12648         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12649         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12650         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12651         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12652         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12653         (xdr_callhdr): Likewise.
12654         * sunrpc/rpcinfo.c (udpping): Likewise.
12655         (tcpping): Likewise.
12656         (pstatus): Likewise.
12657         (pmapdump): Likewise.
12658         (brdcst): Likewise.
12659         (deletereg): Likewise.
12660         (getprognum): Likewise.
12661         (getvers): Likewise.
12662         (get_inet_address): Likewise.
12663         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12664         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12665         (svcudp_stat): Likewise.
12666         (svcudp_recv): Likewise.
12667         (svcudp_reply): Likewise.
12668         (svcudp_getargs): Likewise.
12669         (svcudp_freeargs): Likewise.
12670         (svcudp_destroy): Likewise.
12671         * sunrpc/xdr.c (xdr_bytes): Likewise.
12672         (xdr_netobj): Likewise.
12673         (xdr_string): Likewise.
12674         (xdr_wrapstring): Likewise.
12675         * sunrpc/xdr_float.c (xdr_float): Likewise.
12676         (xdr_double): Likewise.
12677         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12678         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12679         * sysvipc/ftok.c (ftok): Likewise.
12680         * sysvipc/msgctl.c (msgctl): Likewise.
12681         * sysvipc/msgget.c (msgget): Likewise.
12682         * sysvipc/msgrcv.c (msgrcv): Likewise.
12683         * sysvipc/msgsnd.c (msgsnd): Likewise.
12684         * sysvipc/semget.c (semget): Likewise.
12685         * sysvipc/semop.c (semop): Likewise.
12686         * sysvipc/shmat.c (shmat): Likewise.
12687         * sysvipc/shmctl.c (shmctl): Likewise.
12688         * sysvipc/shmdt.c (shmdt): Likewise.
12689         * sysvipc/shmget.c (shmget): Likewise.
12690         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12691         * termios/speed.c (cfgetospeed): Likewise.
12692         (cfgetispeed): Likewise.
12693         (cfsetospeed): Likewise.
12694         (cfsetispeed): Likewise.
12695         * termios/tcflow.c (tcflow): Likewise.
12696         * termios/tcflush.c (tcflush): Likewise.
12697         * termios/tcgetattr.c (__tcgetattr): Likewise.
12698         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12699         * termios/tcgetsid.c (tcgetsid): Likewise.
12700         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12701         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12702         * time/adjtime.c (__adjtime): Likewise.
12703         * time/dysize.c (dysize): Likewise.
12704         * time/ftime.c (ftime): Likewise.
12705         * time/getitimer.c (__getitimer): Likewise.
12706         * time/gettimeofday.c (__gettimeofday): Likewise.
12707         * time/gmtime.c (__gmtime_r): Likewise.
12708         (gmtime): Likewise.
12709         * time/localtime.c (__localtime_r): Likewise.
12710         (localtime): Likewise.
12711         * time/offtime.c (__offtime): Likewise.
12712         * time/settimeofday.c (__settimeofday): Likewise.
12713         * time/stime.c (stime): Likewise.
12714         * time/strftime_l.c (tm_diff): Likewise.
12715         (iso_week_days): Likewise.
12716         * time/strptime.c (strptime): Likewise.
12717         * time/time.c (time): Likewise.
12718         * time/timespec_get.c (timespec_get): Likewise.
12719         * time/tzset.c (tzset_internal): Likewise.
12720         (compute_change): Likewise.
12721         (__tz_compute): Likewise.
12722         * wcsmbs/btowc.c (__btowc): Likewise.
12723         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12724         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12725         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12726         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12727         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12728         * wcsmbs/wcscat.c (__wcscat): Likewise.
12729         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12730         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12731         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12732         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12733         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12734         * wcsmbs/wcslen.c (__wcslen): Likewise.
12735         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12736         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12737         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12738         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12739         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12740         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12741         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12742         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12743         * wcsmbs/wcstok.c (wcstok): Likewise.
12744         * wcsmbs/wctob.c (wctob): Likewise.
12745         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12746         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12747         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12748         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12749         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12750         * wcsmbs/wmemset.c (__wmemset): Likewise.
12751         * wctype/wcfuncs.c (__towlower): Likewise.
12752         (__towupper): Likewise.
12754         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12755         (lll_unlock_elision): Add adapt_count parameter.
12757 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12759         * sysdeps/nptl/configure.ac: Do not give errors based on the
12760         results of top-level configure tests.
12761         * sysdeps/nptl/configure: Regenerated.
12763         * configure.ac (libc_cv_Bgroup): Remove configure test.
12764         * configure: Regenerated.
12765         * config.make.in (have-Bgroup): Remove variable.
12767         * configure.ac (sizeof_long_double): Remove configure test.
12768         * configure: Regenerated.
12769         * config.make.in (sizeof-long-double): Remove variable.
12771         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12772         * configure: Regenerated.
12773         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12774         variable.
12775         (exceptions): Likewise.
12776         * sysdeps/arm/configure: Regenerated.
12777         * config.make.in (exceptions): Remove variable.
12778         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12779         $(exceptions).
12780         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12781         (CFLAGS-vdprintf_chk.c): Likewise.
12782         (CFLAGS-printf_chk.c): Likewise.
12783         (CFLAGS-fprintf_chk.c): Likewise.
12784         (CFLAGS-vprintf_chk.c): Likewise.
12785         (CFLAGS-vfprintf_chk.c): Likewise.
12786         (CFLAGS-gets_chk.c): Likewise.
12787         (CFLAGS-fgets_chk.c): Likewise.
12788         (CFLAGS-fgets_u_chk.c): Likewise.
12789         (CFLAGS-fread_chk.c): Likewise.
12790         (CFLAGS-fread_u_chk.c): Likewise.
12791         (CFLAGS-wprintf_chk.c): Likewise.
12792         (CFLAGS-fwprintf_chk.c): Likewise.
12793         (CFLAGS-vwprintf_chk.c): Likewise.
12794         (CFLAGS-vfwprintf_chk.c): Likewise.
12795         (CFLAGS-fgetws_chk.c): Likewise.
12796         (CFLAGS-fgetws_u_chk.c): Likewise.
12797         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12798         (CFLAGS-fputc.c): Likewise.
12799         (CFLAGS-fputwc.c): Likewise.
12800         (CFLAGS-freopen64.c): Likewise.
12801         (CFLAGS-freopen.c): Likewise.
12802         (CFLAGS-fseek.c): Likewise.
12803         (CFLAGS-fseeko64.c): Likewise.
12804         (CFLAGS-fseeko.c): Likewise.
12805         (CFLAGS-ftello64.c): Likewise.
12806         (CFLAGS-ftello.c): Likewise.
12807         (CFLAGS-fwide.c): Likewise.
12808         (CFLAGS-genops.c): Likewise.
12809         (CFLAGS-getc.c): Likewise.
12810         (CFLAGS-getchar.c): Likewise.
12811         (CFLAGS-getwc.c): Likewise.
12812         (CFLAGS-getwchar.c): Likewise.
12813         (CFLAGS-iofclose.c): Likewise.
12814         (CFLAGS-iofflush.c): Likewise.
12815         (CFLAGS-iofgetpos64.c): Likewise.
12816         (CFLAGS-iofgetpos.c): Likewise.
12817         (CFLAGS-iofgets.c): Likewise.
12818         (CFLAGS-iofgetws.c): Likewise.
12819         (CFLAGS-iofputs.c): Likewise.
12820         (CFLAGS-iofputws.c): Likewise.
12821         (CFLAGS-iofread.c): Likewise.
12822         (CFLAGS-iofsetpos64.c): Likewise.
12823         (CFLAGS-iofsetpos.c): Likewise.
12824         (CFLAGS-ioftell.c): Likewise.
12825         (CFLAGS-iofwrite.c): Likewise.
12826         (CFLAGS-iogetdelim.c): Likewise.
12827         (CFLAGS-iogetline.c): Likewise.
12828         (CFLAGS-iogets.c): Likewise.
12829         (CFLAGS-iogetwline.c): Likewise.
12830         (CFLAGS-ioputs.c): Likewise.
12831         (CFLAGS-ioseekoff.c): Likewise.
12832         (CFLAGS-ioseekpos.c): Likewise.
12833         (CFLAGS-iosetbuffer.c): Likewise.
12834         (CFLAGS-iosetvbuf.c): Likewise.
12835         (CFLAGS-ioungetc.c): Likewise.
12836         (CFLAGS-ioungetwc.c): Likewise.
12837         (CFLAGS-oldfileops.c): Likewise.
12838         (CFLAGS-oldiofclose.c): Likewise.
12839         (CFLAGS-oldiofgetpos64.c): Likewise.
12840         (CFLAGS-oldiofgetpos.c): Likewise.
12841         (CFLAGS-oldiofsetpos64.c): Likewise.
12842         (CFLAGS-oldiofsetpos.c): Likewise.
12843         (CFLAGS-peekc.c): Likewise.
12844         (CFLAGS-putc.c): Likewise.
12845         (CFLAGS-putchar.c): Likewise.
12846         (CFLAGS-putwc.c): Likewise.
12847         (CFLAGS-putwchar.c): Likewise.
12848         (CFLAGS-rewind.c): Likewise.
12849         (CFLAGS-wfileops.c): Likewise.
12850         (CFLAGS-wgenops.c): Likewise.
12851         (CFLAGS-oldiofopen.c): Likewise.
12852         (CFLAGS-iofopen.c): Likewise.
12853         (CFLAGS-iofopen64.c): Likewise.
12854         (CFLAGS-oldtmpfile.c): Likewise.
12855         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12856         (CFLAGS-fprintf.c): Likewise.
12857         (CFLAGS-printf.c): Likewise.
12858         (CFLAGS-vfwprintf.c): Likewise.
12859         (CFLAGS-vfscanf.c): Likewise.
12860         (CFLAGS-vfwscanf.c): Likewise.
12861         (CFLAGS-fscanf.c): Likewise.
12862         (CFLAGS-scanf.c): Likewise.
12863         (CFLAGS-isoc99_vfscanf.c): Likewise.
12864         (CFLAGS-isoc99_vscanf.c): Likewise.
12865         (CFLAGS-isoc99_fscanf.c): Likewise.
12866         (CFLAGS-isoc99_scanf.c): Likewise.
12867         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12868         (CFLAGS-isoc99_fwscanf.c): Likewise.
12869         (CFLAGS-isoc99_vwscanf.c): Likewise.
12870         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12872         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12873         after mkstemp64.
12874         * login/tst-utmp.c (do_prepare): Likewise.
12875         * rt/tst-aio.c (do_prepare): Likewise.
12876         * rt/tst-aio64.c (do_prepare): Likewise.
12878 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12880         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12881         (__lll_lock_elision): Remove adapt_count decrement...
12882         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12883         (__lll_trylock_elision): Likewise.
12884         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12885         (__lll_unlock_elision): ... to here. And utilize
12886         new adapt_count parameter.
12887         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12888         (__lll_unlock_elision): Update to include adapt_count
12889         parameter.
12890         (lll_unlock_elision): Pass pointer to adapt_count
12891         variable.
12893 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12895         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12896         Add elision adapt_count parameter to list of arguments.
12897         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12898         (lll_unlock_elision): Update with new parameter list
12899         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12900         (lll_unlock_elision): Likewise.
12901         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12902         (lll_unlock_elision): Likewise.
12904 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12906         [BZ #19122]
12907         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12908         attribute_hidden.
12910         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12911         attribute_hidden.
12912         [IS_IN (rtld)] (__strdup): Likewise.
12913         [IS_IN (rtld)] (__strerror_r): Likewise.
12914         [IS_IN (rtld)] (__strsep_g): Likewise.
12915         [IS_IN (rtld)] (memchr): Likewise.
12916         [IS_IN (rtld)] (memcmp): Likewise.
12917         [IS_IN (rtld)] (memcpy): Likewise.
12918         [IS_IN (rtld)] (memmove): Likewise.
12919         [IS_IN (rtld)] (memset): Likewise.
12920         [IS_IN (rtld)] (rawmemchr): Likewise.
12921         [IS_IN (rtld)] (stpcpy): Likewise.
12922         [IS_IN (rtld)] (strchr): Likewise.
12923         [IS_IN (rtld)] (strcmp): Likewise.
12924         [IS_IN (rtld)] (strlen): Likewise.
12925         [IS_IN (rtld)] (strnlen): Likewise.
12926         [IS_IN (rtld)] (strsep): Likewise.
12928         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12929         attribute_hidden.
12930         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12932         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12933         attribute_hidden.
12934         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12936         * include/setjmp.h (__longjmp): Add attribute_hidden.
12937         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12939         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12940         Add attribute_hidden.
12942         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12943         [IS_IN (rtld)] (__open): Likewise.
12944         [IS_IN (rtld)] (__fcntl): Likewise.
12946         * include/dirent.h (__opendirat): Add attribute_hidden.
12947         (__getdents): Likewise.
12948         (__getdents64): Likewise.
12949         (__alloc_dir): Likewise.
12950         [IS_IN (rtld)] (__closedir): Likewise.
12951         [IS_IN (rtld)] (__fdopendir): Likewise.
12952         [IS_IN (rtld)] (__readdir): Likewise.
12953         [IS_IN (rtld)] (__readdir64): Likewise.
12954         [IS_IN (rtld)] (__rewinddir): Likewise.
12956         * include/dlfcn.h (_dl_catch_error): Moved to ...
12957         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12958         attribute_hidden.
12960         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12961         (_itoa_word): Likewise.
12963         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12964         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12965         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12966         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12967         (_dl_higher_prime_number): Likewise.
12968         (_dl_debug_printf_c): Likewise.
12969         (_dl_signal_cerror): Likewise.
12970         (_dl_receive_error): Likewise.
12971         (_dl_reloc_bad_type): Likewise.
12972         (_dl_resolve_conflicts): Likewise.
12973         (_dl_check_all_versions): Likewise.
12974         (_dl_check_map_versions): Likewise.
12975         (_dl_sort_fini): Likewise.
12976         (_dl_debug_initialize): Likewise.
12977         (_dl_init_paths): Likewise.
12978         (_dl_show_auxv): Likewise.
12979         (_dl_next_ld_env_entry): Likewise.
12980         (_dl_important_hwcaps): Likewise.
12981         (_dl_load_cache_lookup): Likewise.
12982         (_dl_update_slotinfo): Likewise.
12983         (_dl_show_scope): Likewise.
12985         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12986         attribute_hidden.
12987         (_wordcopy_fwd_dest_aligned): Likewise.
12988         (_wordcopy_bwd_aligned): Likewise.
12989         (_wordcopy_bwd_dest_aligned): Likewise.
12991         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12992         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12993         Likewise.
12994         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12995         Likewise.
12996         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12998 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13000         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13001         GCC 5 requirement.
13003 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13005         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13006         test.
13007         * sysdeps/i386/configure: Regenerated.
13008         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13009         code unconditional.
13011         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13012         test.
13013         (libc_cv_asm_popsection_directive): Likewise.
13014         * configure: Regenerated.
13015         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13016         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13017         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13018         (__make_section_unallocated): Make definition unconditional.
13019         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13020         Remove conditional definition.
13021         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13022         (__make_section_unallocated): Likewise.
13024         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13025         * configure: Regenerated.
13026         * config.make.in (static-libgcc): Remove variable.
13027         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13028         $(static-libgcc).
13029         (build-module-helper): Likewise.
13031         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13032         * configure: Regenerated.
13034 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13036         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13037         (struct char_buffer): New type.
13038         (char_buffer_start, char_buffer_size, char_buffer_error)
13039         (char_buffer_rewind, char_buffer_add): New functions.
13040         (ADDW): Remove macro, replaced by the char_buffer_add function.
13041         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13042         of extend_alloca.  Make control flow more explicit.
13044 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13046         [BZ #19137]
13047         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13048         Add -fomit-frame-pointer.
13049         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13051 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13053         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13054         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13055         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13056         only if !__GNUC_PREREQ (5,0).
13057         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13058         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13059         (INTERNAL_SYSCALL_NCS): Likewise.
13060         (LOADREGS_0): New macro for GCC 5.
13061         (ASMARGS_0): Likewise.
13062         (LOADREGS_1): Likewise.
13063         (ASMARGS_1): Likewise.
13064         (LOADREGS_2): Likewise.
13065         (ASMARGS_2): Likewise.
13066         (LOADREGS_3): Likewise.
13067         (ASMARGS_3): Likewise.
13068         (LOADREGS_4): Likewise.
13069         (ASMARGS_4): Likewise.
13070         (LOADREGS_5): Likewise.
13071         (ASMARGS_5): Likewise.
13072         (LOADREGS_6): Likewise.
13073         (ASMARGS_6): Likewise.
13075 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13077         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13078         -fomit-frame-pointer.
13079         (CFLAGS-mmap64.c): Likewise.
13080         (CFLAGS-semtimedop.c): Likewise.
13081         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13082         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13083         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13084         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13086 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13088         [BZ #18928]
13089         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13090         _dl_pointer_guard member.
13091         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13092         initializer.
13093         (security_init): Always set up pointer guard.
13094         (process_envvars): Do not process LD_POINTER_GUARD.
13096 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13098         [BZ #19134]
13099         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13100         (.LC2): Likewise.
13101         (.LC3): Likewise.
13102         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13104 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13106         [BZ #19129]
13107         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13108         r0 and r1.
13110 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13112         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13114 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13116         * include/stap-probe.h: Fix macro definition formatting.
13118 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13120         [BZ #19074]
13121         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13122         load and store num_ifs.
13124 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13126         [BZ #18822]
13127         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13128         (__sched_getaffinity_new): Add libc_hidden_proto and
13129         libc_hidden_def.
13131 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13133         [BZ #19007]
13134         * scripts/localplt.awk: Also allow GOT references.
13135         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13136         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13137         with "+ REL R_386_GLOB_DAT".
13138         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13139         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13141 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13143         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13144         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13145         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13146         Likewise.
13147         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13148         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13149         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13150         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13151         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13152         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13153         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13154         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13155         Likewise.
13156         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13158 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13160         [BZ #19125]
13161         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13162         <math_private.h> and <stdint.h>.
13163         (__llround): Avoid conversions to and from long long int, and
13164         subtractions, where those might raise spurious exceptions.
13165         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13166         <math_private.h> and <stdint.h>.
13167         (__llroundf): Avoid conversions to and from long long int, and
13168         subtractions, where those might raise spurious exceptions.
13170 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13172         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13173         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13174         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13175         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13176         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13177         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13178         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13179         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13180         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13181         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13182         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13183         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13184         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13185         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13186         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13187         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13188         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13189         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13190         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13191         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13192         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13193         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13194         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13195         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13196         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13197         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13198         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13199         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13200         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13201         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13202         (__xstat64_conv): Likewise.
13203         (__xstat32_conv): Likewise.
13205 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13207         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13208         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13209         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13210         <sysdeps/unix/sysv/linux/sysdep.h>.
13211         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13212         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13213         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13214         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13215         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13216         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13217         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13218         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13219         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13222         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13223         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13224         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13225         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13226         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13227         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13228         (sysdep-dl-routines): Add sysdep.
13229         [$(subdir) == nptl] (libpthread-routines): Likewise.
13230         [$(subdir) == rt] (librt-routines): Likewise.
13231         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13232         PIC when branching to SYSCALL_ERROR_LABEL.
13233         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13234         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13235         <sysdeps/unix/sysv/linux/sysdep.h>.
13236         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13237         (SYSCALL_ERROR_ERRNO): Removed.
13238         (SYSCALL_ERROR_HANDLER): Changed to empty.
13239         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13240         (__syscall_error): New prototype.
13241         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13242         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13244 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13246         [BZ #19124]
13247         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13248         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13249         _dl_runtime_resolve_avx.
13250         (_dl_runtime_profile_avx512): Make it a hidden alias of
13251         _dl_runtime_profile_avx.
13253 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13255         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13256         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13257         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13258         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13260         [BZ #16422]
13261         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13262         New configure test.
13263         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13264         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13265         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13266         <math_private.h> and <stdint.h>.
13267         (__llrint): Avoid conversions to long long int where those might
13268         raise spurious exceptions.
13269         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13270         <math_private.h> and <stdint.h>.
13271         (__llrintf): Avoid conversions to long long int where those might
13272         raise spurious exceptions.
13274 2015-10-12  Andreas Schwab  <schwab@suse.de>
13276         [BZ #18969]
13277         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13278         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13279         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13280         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13281         $(gen-locales).
13282         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13283         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13284         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13285         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13286         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13287         $(gen-locales).
13288         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13289         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13290         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13291         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13292         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13293         ($(objpfx)tst-ftell-active-handler.out)
13294         ($(objpfx)tst-ftell-append.out)
13295         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13296         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13297         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13298         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13299         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13300         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13301         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13302         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13303         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13304         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13305         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13306         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13307         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13308         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13309         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13310         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13311         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13312         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13313         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13314         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13315         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13316         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13317         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13318         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13319         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13320         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13321         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13322         $(gen-locales).
13323         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13324         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13325         $(gen-locales).
13326         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13327         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13328         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13329         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13330         $(gen-locales).
13331         * libio/tst_wprintf2.c (main): Use explicit locale.
13332         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13334 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13336         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13337         __msg_sig_post.
13338         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13340 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13342         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13343         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13345         * sysdeps/arm/libm-test-ulps: Regenerated.
13347         [BZ #15470]
13348         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13350         [BZ #16399]
13351         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13352         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13353         and <fix-fp-int-convert-overflow.h>.
13354         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13355         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13356         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13357         and <fix-fp-int-convert-overflow.h>.
13358         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13359         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13360         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13361         <fix-fp-int-convert-overflow.h>.
13362         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13363         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13364         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13365         <fix-fp-int-convert-overflow.h>.
13366         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13367         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13368         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13369         and <fix-fp-int-convert-overflow.h>.
13370         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13371         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13372         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13373         <limits.h> and <fix-fp-int-convert-overflow.h>.
13374         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13375         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13376         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13377         and <fix-fp-int-convert-overflow.h>.
13378         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13379         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13380         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13381         and <fix-fp-int-convert-overflow.h>.
13382         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13383         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13384         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13386 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13388         [BZ #18589]
13389         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13390         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13391         $(gen-locales).
13393 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13394             Phil Blundell <pb@pbcl.net>
13396         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13397         * nptl/tst-cancel26.c: New file.
13398         * nptl/tst-cancel27.c: Likewise.
13400 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13402         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13403         __ILP32__ isn't defined.
13404         (lrint): Likewise.
13405         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13406         (lrintf): Likewise.
13407         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13408         (lrintl): Likewise.
13409         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13410         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13411         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13413 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13415         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13416         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13418         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13419         file.
13420         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13421         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13423 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13425         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13426         configure test.
13427         * sysdeps/i386/configure: Regenerated.
13428         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13429         configure test.
13430         * sysdeps/x86_64/configure: Regenerated.
13431         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13432         Make code unconditional.
13434         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13435         test.
13436         * sysdeps/i386/configure: Regenerated.
13437         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13438         test.
13439         * sysdeps/x86_64/configure: Regenerated.
13440         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13441         Make code unconditional.
13442         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13443         Likewise.
13444         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13445         Likewise.
13446         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13447         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13448         code unconditional.
13449         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13450         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13451         code unconditional.
13452         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13453         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13454         code unconditional.
13455         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13456         code unconditional.
13457         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13458         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13459         code unconditional.
13460         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13461         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13462         code unconditional.
13463         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13464         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13465         code unconditional.
13466         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13467         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13468         code unconditional.
13469         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13470         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13472         [BZ #19095]
13473         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13474         mantissa to long int before shifting left.
13476 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13478         [BZ #19094]
13479         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13480         <limits.h>.
13481         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13482         when result overflows but exception would not result from cast.
13483         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13484         <limits.h>.
13485         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13486         when result overflows but exception would not result from cast.
13487         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13488         <limits.h>.
13489         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13490         when result overflows but exception would not result from cast.
13491         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13492         <limits.h>.
13493         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13494         when result overflows but exception would not result from cast.
13495         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13496         <limits.h>.
13497         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13498         when result overflows but exception would not result from cast.
13499         * math/libm-test.inc (lrint_test_data): Add more tests.
13500         (llrint_test_data): Likewise.
13502 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13504         [BZ #18872]
13505         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13506         Move out from under [$(run-built-tests) = yes] conditional.
13507         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13508         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13510 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13512         [BZ #18589]
13513         * string/Makefile (tests): Add bug-strcoll2.
13514         (LOCALES): Add cs_CZ.UTF-8.
13515         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13517         [BZ #18589]
13518         * string/bug-strcoll2.c: New file.
13519         * locale/categories.def: Revert commit
13520         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13521         * locale/langinfo.h: Likewise.
13522         * locale/localeinfo.h: Likewise.
13523         * locale/C-collate.c: Likewise.
13524         * locale/programs/ld-collate.c (collate_output): Likewise.
13525         * string/strcoll_l.c (STRDIFF): Likewise.
13526         (STRCOLL): Likewise.
13527         * wcsmbs/wcscoll_l.c: Likewise.
13529 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13531         * math/libm-test.inc (lround_test_data): Do not expect the absence
13532         of "inexact" for some tests with non-integer arguments.
13533         (llround_test_data): Likewise.
13535         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13536         test.
13537         (libc_cv_cc_sse2avx): Likewise.
13538         * sysdeps/i386/configure: Regenerated.
13539         * sysdeps/i386/i686/multiarch/Makefile
13540         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13541         [$(subdir) = math].
13542         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13543         code unconditional.
13544         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13545         Likewise.
13546         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13547         Likewise.
13548         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13549         Likewise.
13550         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13551         test.
13552         (libc_cv_cc_sse2avx): Likewise.
13553         * sysdeps/x86_64/configure: Regenerated.
13554         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13555         unconditional.
13556         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13557         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13558         unconditional.
13559         (_dl_runtime_profile)
13560         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13561         conditional code.
13562         * sysdeps/x86_64/fpu/multiarch/Makefile
13563         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13564         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13565         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13566         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13567         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13568         * sysdeps/x86_64/fpu/multiarch/e_log.c
13569         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13570         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13571         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13572         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13573         Likewise.
13574         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13575         Likewise.
13576         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13577         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13578         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13579         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13580         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13581         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13582         (HAVE_SSE2AVX_SUPPORT): Likewise.
13584 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13586         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13587         instead of #pragma optimize.
13589 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13591         [BZ #17195]
13592         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13593         as is similarly done in systrim and _int_free already.
13595 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13597         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13599 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13601         [BZ #19088]
13602         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13603         <limits.h>.
13604         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13605         overflows but exception would not result from cast.
13606         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13607         and <limits.h>.
13608         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13609         overflows but exception would not result from cast.
13610         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13611         <limits.h>.
13612         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13613         overflows but exception would not result from cast.
13614         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13615         <limits.h>.
13616         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13617         overflows but exception would not result from cast.
13618         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13619         <limits.h>.
13620         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13621         overflows but exception would not result from cast.
13622         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13623         <limits.h>.
13624         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13625         overflows but exception would not result from cast.
13626         * math/libm-test.inc (lround_test_data): Add more tests.
13627         (llround_test_data): Likewise.
13629 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13631         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13632         (CFLAGS-ialloc.c): Ditto.
13633         (CFLAGS-scheck.c): Ditto.
13635 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13637         [BZ #19086]
13638         * manual/filesys.texi (Storage Allocation): Fix argument order for
13639         posix_fallocate64.
13641 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13643         [BZ #19085]
13644         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13645         exponent below 48 inside case for non-overflowing exponent.
13646         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13648 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13650         * iconvdata/cp737.h (from_idx): Add const.
13651         * iconvdata/cp775.h (from_idx): Likewise.
13653 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13655         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13656         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13657         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13659         [BZ #19079]
13660         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13661         file, conditioned on [!_LP64].
13662         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13663         [!_LP64] (__lround): Do not define as function or alias.
13664         [!_LP64] (lround): Likewise.
13665         [!_LP64] (__lroundl): Likewise.
13666         [!_LP64] (lroundl): Likewise.
13667         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13668         macro.
13669         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13670         Likewise.
13672 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13674         * math/libm-test.inc (lrint_test_data): Add more tests.
13675         (llrint_test_data): Likewise.
13676         (lround_test_data): Likewise.
13677         (llround_test_data): Likewise.
13679         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13680         (llrint_test_data): Add tests used for lrint.
13682         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13683         test.
13684         * sysdeps/i386/configure: Regenerated.
13685         * sysdeps/i386/i686/multiarch/Makefile
13686         [$(config-cflags-sse4) = yes]: Make code unconditional.
13687         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13688         Likewise.
13689         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13690         Likewise.
13691         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13692         test.
13693         * sysdeps/x86_64/configure: Regenerated.
13694         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13695         Make code unconditional.
13696         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13697         Likewise.
13698         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13699         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13701         * scripts/rpm2dynsym.sh: Remove file.
13703 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13705         * configure.ac (libc_cv_cxx_thread_local): Define.
13706         * configure: Regenerate.
13707         * config.make.in (have-cxx-thread_local): Define.
13708         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13709         (LDLIBS-tst-thread_local1): Define.
13710         (tests): Add tst-thread_local1.
13711         [have-cxx-thread_local != yes] (tests-unsupported): Add
13712         tst-thread_local1.
13713         * nptl/tst-thread_local1.cc: New file.
13715 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13717         [BZ #19078]
13718         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13719         (u_thres): Likewise.
13720         (__expl): Determine whether to call __kernel_standard_l based on
13721         value of result, not argument.
13723         * math/libm-test.inc (scalb_test_data): Add more expectations for
13724         the "inexact" exception.
13726         [BZ #19077]
13727         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13728         0.0L for argument 1.0L.
13730         [BZ #19076]
13731         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13732         constant 0.0L when computing infinite result.
13734 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13736         [BZ #10432]
13737         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13738         malloc_usable_size.
13740 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13742         [BZ #19018]
13743         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13744         Mangle function pointer before storing it.
13745         (__call_tls_dtors): Demangle function pointer before calling it.
13747 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13749         [BZ #19012]
13750         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13751         Clean up on failure.
13753 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13755         [BZ #19071]
13756         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13757         long int variable to store possibly incremented high part of
13758         mantissa.
13759         * math/libm-test.inc (lround_test_data): Add tests used for
13760         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13761         for tests requiring 64-bit long.  Do not condition tests on
13762         [TEST_FLOAT] unnecessarily.
13763         (llround_test_data): Add tests used for lround.  Add another
13764         expectation for the "inexact" exception.  Do not condition tests
13765         on [TEST_FLOAT] unnecessarily.
13767         [BZ #887]
13768         [BZ #19049]
13769         [BZ #19050]
13770         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13771         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13772         <fix-int-fp-convert-zero.h>.
13773         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13774         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13775         <fix-int-fp-convert-zero.h>.
13776         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13777         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13778         <fix-int-fp-convert-zero.h>.
13779         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13780         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13781         <fix-int-fp-convert-zero.h>.
13782         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13783         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13784         <fix-int-fp-convert-zero.h>.
13785         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13786         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13787         <fix-int-fp-convert-zero.h>.
13788         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13789         * sysdeps/ieee754/flt-32/s_erff.c: Include
13790         <fix-int-fp-convert-zero.h>.
13791         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13792         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13793         <fix-int-fp-convert-zero.h>.
13794         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13795         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13796         <fix-int-fp-convert-zero.h>.
13797         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13798         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13799         <fix-int-fp-convert-zero.h>.
13800         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13801         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13802         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13803         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13804         file.
13805         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13807 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13811 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13813         [BZ #19059]
13814         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13815         overflowing computation.
13816         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13817         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13818         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13819         Likewise.
13820         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13821         Likewise.
13822         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13823         Likewise.
13824         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13825         Likewise.
13826         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13827         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13828         Likewise.
13829         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13830         Likewise.
13831         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13833         * nss/rewrite_field.c (__nss_rewrite_field): Use
13834         internal_function.
13835         * nss/valid_field.c (__nss_valid_field): Likewise.
13836         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13838 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13840         [BZ #18724]
13841         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13842         (__nss_invalid_field_characters, __nss_valid_field)
13843         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13844         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13845         tst-field.c: New file.
13846         * nss/Makefile (routines): Add valid_field, rewrite_field.
13847         (tests-static): Define unconditionally.
13848         (tests): Include tests-static.
13849         [build-static-nss] (tests-static): Use append.
13850         [build-static-nss] (tests): Remove modification.
13851         * nss/getent.c (print_group): Call putgrent.  Report error.
13852         (print_gshadow): Call putsgent.  Report error.
13853         (print_passwd): Call putpwent.  Report error.
13854         (print_shadow): Call putspent.  Report error.
13855         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13856         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13857         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13858         name, password, directory, shell fields for valid syntax.  Rewrite
13859         GECOS field to match syntax.
13860         * pwd/Makefile (tests): Add tst-putpwent.
13861         * pwd/tst-putpwent.c: New file.
13862         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13863         Check grName, grpasswd, gr_mem fields for valid syntax.
13864         Change loop variable i to size_t.
13865         * grp/Makefile (tests): Add tst-putgrent.
13866         * grp/tst-putgrent.c: New file.
13867         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13868         valid syntax.
13869         * shadow/Makefile (tests): Add tst-putspent.
13870         * shadow/tst-putspent.c: New file.
13871         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13872         sg_mem fields for valid syntax.
13873         * gshadow/Makefile (tests): Add tst-putsgent.
13874         * gshadow/tst-putsgent.c: New file.
13876 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13878         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13879         assembly instructions.
13881 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13883         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13884         prefix from operands.
13886 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13888         [BZ #16347]
13889         [BZ #19046]
13890         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13891         <libc-internal.h>.
13892         (MAXLGM): Do not use diagnostic control macros.
13893         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13894         threshold for ldbl-128ibm.
13895         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13896         instead of multiplying by log then subtracting.
13897         * math/auto-libm-test-in: Add more tests of lgamma.
13898         * math/auto-libm-test-out: Regenerated.
13900         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13901         (TYPE_HEX_DIG): Likewise.
13902         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13903         precisions when printing floating-point numbers.
13904         (check_float_internal): Likewise.
13906 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13908         [BZ #16620]
13909         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13910         of log (10) rounded downward to 48 bits.
13911         (log10_low): Use corresponding low part of log (10).
13913         [BZ #19032]
13914         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13915         compute result as (x - x) / (x - x) not as 0 / 0.
13916         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13917         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13919         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13920         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13921         and expm1.
13922         * math/auto-libm-test-out: Regenerated.
13923         * math/libm-test.inc (acos_test_data): Add more tests.
13924         (asin_test_data): Likewise.
13925         (asinh_test_data): Likewise.
13926         (atan_test_data): Likewise.
13927         (atanh_test_data): Likewise.
13928         (atan2_test_data): Likewise.
13929         (cbrt_test_data): Likewise.
13930         (ceil_test_data): Likewise.
13931         (copysign_test_data): Likewise.
13932         (cos_test_data): Likewise.
13933         (cosh_test_data): Likewise.
13934         (erf_test_data): Likewise.
13935         (erfc_test_data): Likewise.
13936         (exp_test_data): Likewise.
13937         (exp10_test_data): Likewise.
13938         (exp2_test_data): Likewise.
13939         (expm1_test_data): Likewise.
13940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13942 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13944         [BZ #19006]
13945         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13946         to ...
13947         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13948         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13949         to ...
13950         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13951         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13952         to ...
13953         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13954         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13955         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13956         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13957         to ...
13958         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13959         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13960         Moved to ...
13961         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13962         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13963         Moved to ...
13964         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13965         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13966         to ...
13967         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13968         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13969         Moved to ...
13970         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13971         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13972         to ...
13973         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13974         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13975         Removed.
13976         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13977         Likewise.
13978         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13979         Likewise.
13980         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13981         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13982         Likewise.
13983         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13984         Likewise.
13985         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13986         Likewise.
13987         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13988         Likewise.
13989         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13990         Likewise.
13991         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13992         Likewise.
13993         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13994         Likewise.
13995         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13996         Likewise.
13997         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13998         Likewise.
13999         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14000         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14001         Likewise.
14002         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14003         Likewise.
14004         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14005         Likewise.
14006         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14007         Likewise.
14008         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14009         Likewise.
14010         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14011         Replace ../i486/pthread_cond_timedwait.S with
14012         ../pthread_cond_timedwait.S.
14014 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14016         * math/libm-test.inc (acos_test_data): Refine expectations for
14017         errno and "inexact" exceptions.
14018         (acosh_test_data): Likewise.
14019         (asin_test_data): Likewise.
14020         (asinh_test_data): Likewise.
14021         (atan_test_data): Likewise.
14022         (atanh_test_data): Likewise.
14023         (atan2_test_data): Likewise.
14024         (cbrt_test_data): Likewise.
14025         (ceil_test_data): Likewise.
14026         (copysign_test_data): Likewise.
14027         (cosh_test_data): Likewise.
14028         (erf_test_data): Likewise.
14029         (erfc_test_data): Likewise.
14030         (exp_test_data): Likewise.
14031         (exp10_test_data): Likewise.
14032         (exp2_test_data): Likewise.
14033         (expm1_test_data): Likewise.
14034         (fabs_test_data): Likewise.
14035         (floor_test_data): Likewise.
14036         (fma_test_data): Likewise.
14037         (fmax_test_data): Likewise.
14038         (fmin_test_data): Likewise.
14039         (fmod_test_data): Likewise.
14040         (fpclassify_test_data): Likewise.
14041         (frexp_test_data): Likewise.
14042         (hypot_test_data): Likewise.
14043         (ilogb_test_data): Likewise.
14044         (isgreater_test_data): Likewise.
14045         (isgreaterequal_test_data): Likewise.
14046         (isinf_test_data): Likewise.
14047         (isless_test_data): Likewise.
14048         (islessequal_test_data): Likewise.
14049         (islessgreater_test_data): Likewise.
14050         (isnan_test_data): Likewise.
14051         (isnormal_test_data): Likewise.
14052         (issignaling_test_data): Likewise.
14053         (isunordered_test_data): Likewise.
14054         (j0_test_data): Likewise.
14055         (j1_test_data): Likewise.
14056         (jn_test_data): Likewise.
14057         (lgamma_test_data): Likewise.
14058         (lrint_test_data): Likewise.
14059         (llrint_test_data): Likewise.
14060         (log_test_data): Likewise.
14061         (log10_test_data): Likewise.
14062         (log1p_test_data): Likewise.
14063         (log2_test_data): Likewise.
14064         (logb_test_data): Likewise.
14065         (lround_test_data): Likewise.
14066         (llround_test_data): Likewise.
14067         (modf_test_data): Likewise.
14068         (nearbyint_test_data): Likewise.
14069         (nextafter_test_data): Likewise.
14070         (nexttoward_test_data): Likewise.
14071         (pow_test_data): Likewise.
14072         (remainder_test_data): Likewise.
14073         (remquo_test_data): Likewise.
14074         (rint_test_data): Likewise.
14075         (round_test_data): Likewise.
14076         (signbit_test_data): Likewise.
14077         (sinh_test_data): Likewise.
14078         (sqrt_test_data): Likewise.
14079         (tanh_test_data): Likewise.
14080         (tgamma_test_data): Likewise.
14081         (trunc_test_data): Likewise.
14082         (y0_test_data): Likewise.
14083         (y1_test_data): Likewise.
14084         (yn_test_data): Likewise.
14085         (significand_test_data): Likewise.
14087 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14089         * manual/filesys.texi (Storage Allocation): Document that
14090         posix_fallocate emulation fails when fd is open with O_WRONLY.
14092 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14094         [BZ #19016]
14095         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14096         allow more cases with X^2 + Y^2 >= 0.5.
14097         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14098         normal element in sum instead of special-casing based on values of
14099         arguments.
14100         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14101         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14102         -1 as normal element in sum instead of special-casing based on
14103         values of arguments.
14104         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14105         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14106         (__x2y2m1): Update comment.
14107         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14108         as normal element in sum instead of special-casing based on values
14109         of arguments.
14110         * math/s_clog.c (__clog): Handle more cases using log1p without
14111         hypot.
14112         * math/s_clog10.c (__clog10): Likewise.
14113         * math/s_clog10f.c (__clog10f): Likewise.
14114         * math/s_clog10l.c (__clog10l): Likewise.
14115         * math/s_clogf.c (__clogf): Likewise.
14116         * math/s_clogl.c (__clogl): Likewise.
14117         * math/auto-libm-test-in: Add more tests of clog and clog10.
14118         * math/auto-libm-test-out: Regenerated.
14119         * sysdeps/i386/fpu/libm-test-ulps: Update.
14120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14122 2015-09-28  Martin Sebor  <msebor@redhat.com>
14124         [BZ #18969]
14125         * string/Makefile (LOCALES): Define.
14126         (gen-locales.mk): Include.
14127         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14128         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14129         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14130         on setlocale failure.
14132 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14134         [BZ #18985]
14135         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14136         (__strftime_internal): Likewise.
14137         * time/tst-strftime.c (do_bz18985): New test.
14138         (do_test): Call it.
14140 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14142         [BZ #18956]
14143         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14144         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14145         extracting high part.
14146         * math/auto-libm-test-in: Add another test of pow.
14147         * math/auto-libm-test-out: Regenerated.
14148         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14150 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14152         [BZ #18825]
14153         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14154         New macro.
14155         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14156         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14157         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14158         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14159         DBL_NARROW_EVAL, reloading the PIC register as needed.
14160         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14161         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14162         FLT_NARROW_EVAL.  Use separate return path for case when first
14163         argument is NaN.
14164         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14165         DEFINE_LDBL_MIN.
14166         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14167         PIC register.
14168         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14169         math_check_force_underflow_nonneg.
14170         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14171         underflow for subnormal result.
14172         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14173         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14174         math_check_force_underflow_nonneg.
14175         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14176         math_check_force_underflow.
14177         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14178         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14179         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14180         DEFINE_LDBL_MIN.
14181         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14182         * math/auto-libm-test-in: Add more tests of pow.
14183         * math/auto-libm-test-out: Regenerated.
14185 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14187         * nss/bug17079.c (init_test_items): Add diagnostic for
14188         inconsistent entries.
14189         (test_buffer_size): Skip inconsistent entries.
14191 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14193         [BZ #13304]
14194         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14195         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14196         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14198         [BZ #13304]
14199         * sysdeps/microblaze/s_fma.c: New file.
14200         * sysdeps/microblaze/s_fmaf.c: Likewise.
14201         * sysdeps/microblaze/sfp-machine.h: Likewise.
14203 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14205         [BZ #17250]
14206         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14207         member.
14209 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14211         [BZ #18803]
14212         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14213         (MO): New macro.
14214         (__ieee754_hypot) [PIC]: Load PIC register.
14215         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14216         DBL_NARROW_EVAL.
14217         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14218         math_check_force_underflow_nonneg in case where result might be
14219         tiny.
14220         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14221         Likewise.
14222         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14223         Likewise.
14224         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14225         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14226         * math/auto-libm-test-in: Add more tests of hypot.
14227         * math/auto-libm-test-out: Regenerated.
14229 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14231         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14233 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14235         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14236         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14237         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14238         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14239         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14240         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14241         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14243         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14244         LOAD_PIC_REG.
14246         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14247         (FLT_CHECK_FORCE_UFLOW): Likewise.
14248         (DBL_CHECK_FORCE_UFLOW): Likewise.
14249         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14250         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14251         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14252         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14253         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14254         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14255         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14256         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14257         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14258         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14259         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14260         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14261         (flt_min): Replace with use of DEFINE_FLT_MIN.
14262         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14263         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14264         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14265         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14266         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14267         (flt_min): Replace with use of DEFINE_FLT_MIN.
14268         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14269         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14270         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14271         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14272         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14273         (flt_min): Replace with use of DEFINE_FLT_MIN.
14274         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14275         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14276         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14277         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14278         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14279         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14280         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14281         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14282         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14283         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14284         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14285         (flt_min): Replace with use of DEFINE_FLT_MIN.
14286         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14287         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14288         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14289         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14290         main computation.
14291         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14292         (flt_min): Replace with use of DEFINE_FLT_MIN.
14293         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14294         main computation.
14295         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14296         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14297         (MO): New macro.
14298         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14299         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14300         (flt_min): Replace with use of DEFINE_FLT_MIN.
14301         (MO): New macro.
14302         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14303         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14304         (__log1pl): Use MO.
14306         [BZ #19003]
14307         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14308         $(config-cflags-nofma).
14310 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14312         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14314 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14316         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14317         (TWO127): Likewise.
14319         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14320         (min_of_type): Likewise.
14321         (math_check_force_underflow): Likewise.
14322         (math_check_force_underflow_nonneg): Likewise.
14323         (math_check_force_underflow_complex): Likewise.
14324         * math/e_exp2l.c (__ieee754_exp2l): Use
14325         math_check_force_underflow_nonneg.
14326         * math/k_casinh.c (__kernel_casinh): Likewise.
14327         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14328         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14329         * math/s_catan.c (__catan): Use
14330         math_check_force_underflow_complex.
14331         * math/s_catanf.c (__catanf): Likewise.
14332         * math/s_catanh.c (__catanh): Likewise.
14333         * math/s_catanhf.c (__catanhf): Likewise.
14334         * math/s_catanhl.c (__catanhl): Likewise.
14335         * math/s_catanl.c (__catanl): Likewise.
14336         * math/s_ccosh.c (__ccosh): Likewise.
14337         * math/s_ccoshf.c (__ccoshf): Likewise.
14338         * math/s_ccoshl.c (__ccoshl): Likewise.
14339         * math/s_cexp.c (__cexp): Likewise.
14340         * math/s_cexpf.c (__cexpf): Likewise.
14341         * math/s_cexpl.c (__cexpl): Likewise.
14342         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14343         * math/s_clog10.c (__clog10): Likewise.
14344         * math/s_clog10f.c (__clog10f): Likewise.
14345         * math/s_clog10l.c (__clog10l): Likewise.
14346         * math/s_clogf.c (__clogf): Likewise.
14347         * math/s_clogl.c (__clogl): Likewise.
14348         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14349         * math/s_csinf.c (__csinf): Likewise.
14350         * math/s_csinh.c (__csinh): Likewise.
14351         * math/s_csinhf.c (__csinhf): Likewise.
14352         * math/s_csinhl.c (__csinhl): Likewise.
14353         * math/s_csinl.c (__csinl): Likewise.
14354         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14355         * math/s_csqrtf.c (__csqrtf): Likewise.
14356         * math/s_csqrtl.c (__csqrtl): Likewise.
14357         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14358         * math/s_ctanf.c (__ctanf): Likewise.
14359         * math/s_ctanh.c (__ctanh): Likewise.
14360         * math/s_ctanhf.c (__ctanhf): Likewise.
14361         * math/s_ctanhl.c (__ctanhl): Likewise.
14362         * math/s_ctanl.c (__ctanl): Likewise.
14363         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14364         instead of volatile.
14365         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14366         math_check_force_underflow.
14367         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14368         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14369         volatile when forcing underflow.
14370         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14371         math_check_force_underflow_nonneg.
14372         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14373         Likewise.
14374         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14375         math_check_force_underflow.
14376         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14377         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14378         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14379         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14380         math_check_force_underflow_nonneg.
14381         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14382         math_check_force_underflow.
14383         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14385         instead of volatile.
14386         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14387         math_check_force_underflow.
14388         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14389         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14390         math_check_force_underflow_nonneg.
14391         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14392         math_check_force_underflow.
14393         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14394         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14395         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14396         math_check_force_underflow_nonneg.
14397         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14398         Likewise.
14399         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14400         math_check_force_underflow.
14401         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14402         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14403         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14404         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14405         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14406         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14407         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14408         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14409         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14410         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14411         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14412         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14413         Likewise.
14414         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14415         math_check_force_underflow_nonneg.
14416         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14417         Likewise.
14418         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14419         math_check_force_underflow.
14420         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14421         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14422         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14423         Likewise.
14424         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14425         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14426         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14427         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14428         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14429         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14430         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14431         instead of volatile.
14432         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14433         math_check_force_underflow.
14434         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14435         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14436         math_check_force_underflow.
14437         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14438         Likewise.
14439         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14440         Use math_check_force_underflow_nonneg.
14441         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14442         math_check_force_underflow.
14443         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14444         Likewise.
14445         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14446         Likewise.
14447         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14448         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14449         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14450         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14451         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14452         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14453         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14454         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14455         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14456         math_check_force_underflow_nonneg.
14457         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14458         math_check_force_underflow.
14459         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14460         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14461         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14462         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14463         math_check_force_underflow_nonneg.
14464         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14465         math_check_force_underflow.
14466         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14467         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14468         instead of volatile.
14469         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14470         math_check_force_underflow.
14472         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14473         * stdlib/strtod_l.c: Include <math_private.h>.
14474         (overflow_value): Use math_narrow_eval.
14475         (underflow_value): Likewise.
14476         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14477         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14478         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14479         (__ieee754_gamma_r): Likewise.
14480         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14481         Likewise.
14482         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14483         Likewise.
14484         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14485         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14486         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14487         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14488         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14489         (__ieee754_gammaf_r): Likewise.
14490         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14491         Likewise.
14492         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14493         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14494         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14495         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14496         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14497         volatile.
14498         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14499         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14500         math_narrow_eval.
14501         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14502         Likewise.
14503         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14504         Likewise.
14505         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14506         Likewise.
14507         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14508         volatile.
14509         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14510         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14511         math_narrow_eval.
14512         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14513         Likewise.
14514         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14515         Likewise.
14517 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14519         * nptl/Versions: Remove ignored symbols.
14521 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14523         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14524         * nss/Makefile (tests): Update.
14526 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14528         * nss/bug18287.c: New file.
14529         * nss/Makefile (tests): Add bug18287.
14531 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14533         * mach/Versions (__mach_host_self_): Add symbol.
14535 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14537         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14538         vm_page_size.
14540 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14542         Really fix sysdeps/i386/fpu/s_scalbn.S build
14544         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14545         (libc: GLIBC_2_22): Remove unused version set.
14547 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14549         * config.make.in (enable-timezone-tools): New variable.
14550         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14551         (enable_timezone_tools): Export to generated files.
14552         * configure: Regenerate.
14553         * INSTALL: Regenerate.
14554         * manual/install.texi (--disable-timezone-tools): Document new flag.
14555         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14556         ifeq ($(enable-timezone-tools),yes) check.
14558 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14560         * timezone/Makefile: Revert previous change.
14562         [BZ #18980]
14563         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14564         (DEFINE_DBL_MIN): Likewise.
14565         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14566         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14567         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14568         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14569         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14570         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14571         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14572         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14573         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14574         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14575         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14576         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14577         (flt_min): Replace with use of DEFINE_FLT_MIN.
14578         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14579         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14580         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14581         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14582         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14583         (flt_min): Replace with use of DEFINE_FLT_MIN.
14584         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14585         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14586         (flt_min): Replace with use of DEFINE_FLT_MIN.
14587         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14588         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14589         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14590         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14591         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14592         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14593         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14594         (__ieee754_pow): Use DBL_NARROW_EVAL.
14595         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14596         (__ieee754_powf): Use FLT_NARROW_EVAL.
14597         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14598         (__ieee754_expf_sse2): Convert double-precision result to single
14599         precision.
14600         * sysdeps/i386/fpu/libm-test-ulps: Update.
14602 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14604         * timezone/Makefile: Ignore unused variable errors due to private.h
14605         (time_t_min) and (time_t_max).
14606         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14607         Likewise.
14609 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14611         [BZ #18981]
14612         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14613         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14614         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14615         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14616         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14617         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14618         (__scalbn): Use DBL_NARROW_EVAL.
14619         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14620         (__scalbnf): Use FLT_NARROW_EVAL.
14622 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14624         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14625         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14626         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14627         * stdio-common/printf_fp.c (___printf_fp):
14628         Use signbit to get the sign. Use isinf macro to allow inlining.
14629         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14630         * stdio-common/printf_size.c (__printf_size): Likewise.
14632 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14634         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14636 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14638         [BZ #18980]
14639         * sysdeps/generic/math_private.h: Include <float.h>.
14640         (math_narrow_eval): New macro.
14641         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14642         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14643         math_narrow_eval on overflowing return value.
14644         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14645         Likewise.
14646         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14647         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14648         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14649         Likewise.
14650         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14652 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14654         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14655         * math/Makefile: Remove isinf_ns.c.
14656         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14657         * math/multc3.c (__multc3): Likewise.
14658         * math/s_casin.c (__casin): Likewise.
14659         * math/s_casinf.c (__casinf): Likewise.
14660         * math/s_casinl.c (__casinl): Likewise.
14661         * math/s_cproj.c (__cproj): Likewise.
14662         * math/s_cprojf.c (__cprojf): Likewise.
14663         * math/s_cprojl.c (__cprofl): Likewise.
14664         * math/s_ctan.c (__ctan): Likewise.
14665         * math/s_ctanf.c (__ctanf): Likewise.
14666         * math/s_ctanh.c (__ctanh): Likewise.
14667         * math/s_ctanhf.c (__ctanhf): Likewise.
14668         * math/s_ctanhl.c (__ctanhl): Likewise.
14669         * math/s_ctanl.c (__ctanl): Likewise.
14670         * math/w_fmod.c (__fmod): Likewise.
14671         * math/w_fmodf.c (__fmodf): Likewise.
14672         * math/w_fmodl.c (_fmodl): Likewise.
14673         * math/w_remainder.c (__remainder): Likewise.
14674         * math/w_remainderf.c (__remainderf): Likewise.
14675         * math/w_remainderl.c (__remainderl): Likewise.
14676         * math/w_scalb.c (__scalb): Likewise.
14677         * math/w_scalbf.c (__scalbf): Likewise.
14678         * math/w_scalbl.c (__scalbl): Likewise.
14679         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14680         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14681         with isinf.
14682         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14683         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14684         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14685         __isinf_nsf with isinf.
14686         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14687         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14688         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14689         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14690         with isinf.
14691         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14692         __isinf_nsl with isinf.
14693         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14694         with isinf.
14695         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14696         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14697         __isinf_nsl with isinf.
14698         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14699         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14700         with isinf.
14702 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14704         * resolv/base64.c (rcsid): Remove unused static.
14705         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14706         static.  (tqpi1): Likewise.
14707         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14708         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14709         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14710         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14711         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14712         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14713         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14714         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14715         Likewise.
14717 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14719         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14720         <nptl/pthreadP.h>.
14721         (_longjmp_unwind): Use __libc_ptf_call.
14722         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14724 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14726         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14727         * sysdeps/arm/__longjmp.S: Likewise.
14729 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14731         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14732         Use __builtin_signbit.
14733         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14734         Use __builtin_signbitf.
14735         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14736         Use __builtin_signbitl.
14737         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14738         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14740 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14742         [BZ #15367]
14743         [BZ #17441]
14745         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14746         * math/math.h (fpclassify): Use __builtin_fpclassify when
14747         available.  (signbit): Use __builtin_signbit(f/l).
14748         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14749         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14750         (isinf): Use __builtin_isinf_sign.
14752 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14754         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14755         * benchtests/bench-math-inlines.c: New benchmark.
14756         * benchtests/bench-util.h: New file.
14757         * benchtests/bench-util.c: New file.
14758         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14760 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14762         * elf/tst-dlmopen1.c: Define TEST_SO.
14763         (do_test): Use TEST_SO.
14765         * elf/dl-load.c: Include libc-internal.h.
14766         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14768 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14770         [BZ #17887]
14771         * time/strptime_l.c (__strptime_internal): Make %z accept
14772         [+-]HH:MM time zones.
14774 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14776         [BZ #17886]
14777         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14778         valid time zone.
14780 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14782         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14783         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14784         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14785         (__ASSUME_FDATASYNC): Delete.
14787 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14789         * conform/linknamespace.pl: Require weak undefined symbols to be
14790         in the standard namespace.
14791         (%strong_syms): Rename to %seen_syms.
14792         (%strong_seen): Rename to %seen_where.
14794 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14796         [BZ #18970]
14797         * misc/error.c (error): Replace pthread_setcancelstate with
14798         __pthread_setcancelstate.
14799         (error_at_line): Likewise.
14800         * posix/wordexp.c (parse_comm): Likewise.
14801         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14802         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14803         (__pthread_setcancelstate): This.
14804         (pthread_setcancelstate): Add an alias.
14805         * nptl/nptl-init.c (pthread_functions): Replace
14806         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14807         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14808         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14809         hidden_proto.
14810         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14811         it with hidden_def.
14812         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14813         (pthread_setcancelstate): Renamed to ...
14814         (__pthread_setcancelstate): This.
14815         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14816         __libc_ptf_call with __pthread_setcancelstate.
14818 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14819             Andreas Schwab  <schwab@suse.de>
14821         [BZ #17118]
14822         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14823         result when imaginary part of argument is infinite using sine and
14824         cosine.
14825         * math/s_ctanf.c (__ctanf): Likewise.
14826         * math/s_ctanl.c (__ctanl): Likewise.
14827         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14828         of result when real part of argument is infinite using sine and
14829         cosine.
14830         * math/s_ctanhf.c (__ctanhf): Likewise.
14831         * math/s_ctanhl.c (__ctanhl): Likewise.
14832         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14833         (ctanh_test_data): Add more tests of ctanh.
14835 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14837         [BZ #15384]
14838         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14839         bit-mask as in subtraction.
14840         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14841         Likewise.
14842         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14843         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14844         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14846         [BZ #18951]
14847         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14848         underflow exception for small results.
14849         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14850         Likewise.
14851         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14852         Likewise.
14853         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14854         Likewise.
14855         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14856         Likewise.
14857         * math/auto-libm-test-in: Add more tests of tgamma.
14858         * math/auto-libm-test-out: Regenerated.
14860 2015-09-17  Andreas Schwab  <schwab@suse.de>
14862         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14864 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14866         [BZ #18977]
14867         * math/bits/mathcalls.h
14868         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14869         not declare.
14870         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14871         Likewise.
14872         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14873         Likewise.
14874         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14875         Likewise.
14876         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14877         Likewise.
14878         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14879         Likewise.
14880         * conform/data/math.h-data
14881         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14882         function.
14883         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14884         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14885         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14886         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14887         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14888         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14889         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14890         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14891         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14892         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14893         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14895         [BZ #6803]
14896         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14897         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14898         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14899         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14900         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14901         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14902         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14903         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14904         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14905         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14906         Likewise.
14907         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14908         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14909         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14910         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14911         long_double_symbol calls.
14912         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14913         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14914         strong alias of __ldexpl.
14915         (scalbnl): Define using long_double_symbol.
14916         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14917         Remove alias.
14918         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14919         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14920         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14921         (scalbln_test_data): Add more errno expectations.
14923 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14925         Cache the host port like we cache the task port.  This way we do not
14926         need to call the kernel just to get the port.  Furthermore, we no
14927         longer increase the reference count on every invocation of
14928         `mach_host_self'.
14930         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14931         Protect declarations against the macro expansion.
14932         * mach/mach_init.c (__mach_host_self_): New variable.
14933         (mach_init): Initialize `__mach_host_self_'.
14934         * mach/mach_init.h (__mach_host_self_): New declaration.
14935         (__mach_host_self, mach_host_self): New macros.
14936         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14937         Release reference.
14939 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14941         [BZ #4404]
14942         * po/de.po: Update from Translation Project.
14944         [BZ #16415]
14945         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14946         (__expm1l): Remove code to handle positive infinity and overflow.
14947         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14948         variable.
14949         (__expm1l): Remove code to handle positive infinity and overflow.
14951 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14952             Paul Pluzhnikov  <ppluzhnikov@google.com>
14954         [BZ #18872]
14955         * stdio-common/Makefile (tst-printf-bz18872): New test.
14956         (tst-printf-bz18872-mem.out): Likewise.
14957         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14958         * stdio-common/vfprintf.c: Fix memory leaks.
14960 2015-09-16  Andreas Schwab  <schwab@suse.de>
14962         [BZ #17244]
14963         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14964         Remove extra va_start/va_end calls.
14966         [BZ #17243]
14967         * posix/execl.c (execl): Add missing va_end.
14968         * posix/execle.c (execle): Likewise.
14969         * posix/execlp.c (execlp): Likewise.
14971 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14973         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14974         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14976 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14978         [BZ #18967]
14979         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14980         undefine around includes of <bits/mathcalls.h>.
14981         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14982         not declare function.
14983         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14984         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14985         (scalb): Likewise.
14986         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14987         not define macro.
14988         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14989         variable.
14990         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14991         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14992         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14994         [BZ #18857]
14995         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14996         return non-finite argument without doing ordered comparisons on
14997         it.
14999         [BZ #16296]
15000         * math/fenv.h (fegetround): Use __attribute_pure__.
15001         * include/fenv.h (__fegetround): Likewise.
15003         [BZ #18595]
15004         * math/s_ctan.c (__ctan): Force underflow exception for results
15005         whose real or imaginary part has small absolute value.
15006         * math/s_ctanf.c (__ctanf): Likewise.
15007         * math/s_ctanh.c (__ctanh): Likewise.
15008         * math/s_ctanhf.c (__ctanhf): Likewise.
15009         * math/s_ctanhl.c (__ctanhl): Likewise.
15010         * math/s_ctanl.c (__ctanl): Likewise.
15011         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15012         and ctanh.  Add more tests of ctan and ctanh.
15014         [BZ #15918]
15015         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15016         handling of cases where one argument is an infinity.
15018         [BZ #18875]
15019         [BZ #18966]
15020         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15021         (MO): New macro.
15022         (__ieee754_exp10): For small results, force underflow exception
15023         and remove excess range and precision from return value.
15024         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15025         (MO): New macro.
15026         (__ieee754_exp10f): For small results, force underflow exception
15027         and remove excess range and precision from return value.
15028         * math/auto-libm-test-in: Add more tests of exp10.
15029         * math/auto-libm-test-out: Regenerated.
15031 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15033         [BZ #18875]
15034         [BZ #18961]
15035         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15036         (MO): New macro.
15037         (__ieee754_exp): For small results, force underflow exception and
15038         remove excess range and precision from return value.
15039         (__exp_finite): Likewise.
15040         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15041         (MO): New macro.
15042         (__ieee754_expf): For small results, force underflow exception and
15043         remove excess range and precision from return value.
15044         (__expf_finite): Likewise.
15045         * math/auto-libm-test-in: Add more tests of exp.
15046         * math/auto-libm-test-out: Regenerated.
15048         [BZ #16521]
15049         [BZ #18875]
15050         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15051         small results.
15052         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15053         (MO): New macro.
15054         (__ieee754_exp2): For small results, force underflow exception and
15055         remove excess range and precision from return value.
15056         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15057         (MO): New macro.
15058         (__ieee754_exp2f): For small results, force underflow exception
15059         and remove excess range and precision from return value.
15060         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15061         (MO): New macro.
15062         (__ieee754_exp2l): Force underflow exception for small results.
15063         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15064         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15065         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15066         (MO): New macro.
15067         (__ieee754_exp2l): Force underflow exception for small results.
15068         * math/auto-libm-test-in: Add more tests or exp2.
15069         * math/auto-libm-test-out: Regenerated.
15071 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15073         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15075         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15076         /dev/null.
15078 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15080         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15081         io fs process)): Drop spurious backslash.
15083 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15085         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15086         Use sysinfo system call instead of parsing /proc/meminfo.
15087         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15088         Likewise.
15090 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15092         [BZ #16985]
15093         * programs/localedef.c (main): Display argv[remaining] when
15094         output_path is NULL.
15096 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15098         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15099         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15100         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15101         tanh.
15102         * math/auto-libm-test-out: Regenerated.
15103         * sysdeps/i386/fpu/libm-test-ulps: Update.
15104         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15105         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15108 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15110         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15111         Use 'override' keyword to freeze the value here, preventing
15112         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15114 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15116         [BZ #14912]
15117         * sysdeps/aarch64/bits/atomic.h: Move to ...
15118         * sysdeps/aarch64/atomic-machine.h: ...here.
15119         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15120         _AARCH64_ATOMIC_MACHINE_H.
15121         * sysdeps/alpha/bits/atomic.h: Move to ...
15122         * sysdeps/alpha/atomic-machine.h: ...here.
15123         * sysdeps/arm/bits/atomic.h: Move to ...
15124         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15125         * bits/atomic.h: Move to ...
15126         * sysdeps/generic/atomic-machine.h: ...here.
15127         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15128         * sysdeps/i386/bits/atomic.h: Move to ...
15129         * sysdeps/i386/atomic-machine.h: ...here.
15130         * sysdeps/ia64/bits/atomic.h: Move to ...
15131         * sysdeps/ia64/atomic-machine.h: ...here.
15132         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15133         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15134         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15135         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15136         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15137         * sysdeps/microblaze/bits/atomic.h: Move to ...
15138         * sysdeps/microblaze/atomic-machine.h: ...here.
15139         * sysdeps/mips/bits/atomic.h: Move to ...
15140         * sysdeps/mips/atomic-machine.h: ...here.
15141         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15142         * sysdeps/powerpc/bits/atomic.h: Move to ...
15143         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15144         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15145         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15146         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15147         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15148         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15149         <atomic-machine.h> instead of <bits/atomic.h>.
15150         * sysdeps/s390/bits/atomic.h: Move to ...
15151         * sysdeps/s390/atomic-machine.h: ...here.
15152         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15153         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15154         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15155         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15156         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15157         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15158         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15159         * sysdeps/tile/bits/atomic.h: Move to ...
15160         * sysdeps/tile/atomic-machine.h: ...here.
15161         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15162         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15163         <sysdeps/tile/atomic-machine.h> instead of
15164         <sysdeps/tile/bits/atomic.h>.
15165         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15166         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15167         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15168         <sysdeps/tile/atomic-machine.h> instead of
15169         <sysdeps/tile/bits/atomic.h>.
15170         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15171         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15172         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15173         <sysdeps/arm/atomic-machine.h> instead of
15174         <sysdeps/arm/bits/atomic.h>.
15175         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15176         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15177         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15178         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15179         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15180         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15181         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15182         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15183         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15184         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15185         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15186         * sysdeps/x86_64/bits/atomic.h: Move to ...
15187         * sysdeps/x86_64/atomic-machine.h: ...here.
15188         * include/atomic.h: Include <atomic-machine.h> instead of
15189         <bits/atomic.h>.
15191         * sysdeps/mips/mips32/libm-test-ulps: Update.
15192         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15194         [BZ #18952]
15195         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15196         not convert non-integer negative arguments to int to determine the
15197         value of signgam.
15198         * math/auto-libm-test-in: Add more tests of lgamma.
15199         * math/auto-libm-test-out: Regenerated.
15201         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15202         cosh, csqrt, erfc, expm1 and lgamma.
15203         * math/auto-libm-test-out: Regenerated.
15204         * sysdeps/i386/fpu/libm-test-ulps: Update.
15205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15207 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15209         [BZ #2542]
15210         [BZ #2543]
15211         [BZ #2558]
15212         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15213         __lgamma_neg for arguments from -28.0 to -2.0.
15214         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15215         __lgamma_negf for arguments from -15.0 to -2.0.
15216         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15217         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15218         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15219         Call __lgamma_negl for arguments from -33.0 to -2.0.
15220         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15221         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15222         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15223         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15224         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15225         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15226         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15227         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15228         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15229         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15230         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15231         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15232         (__lgamma_neg): Likewise.
15233         (__lgamma_negl): Likewise.
15234         (__lgamma_product): Likewise.
15235         (__lgamma_productl): Likewise.
15236         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15237         * math/auto-libm-test-in: Add more tests of lgamma.
15238         * math/auto-libm-test-out: Regenerated.
15239         * sysdeps/i386/fpu/libm-test-ulps: Update.
15240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15242 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15244         [BZ #18675]
15245         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15247 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15249         [BZ #14912]
15250         * bits/libc-lock.h: Move to ...
15251         * sysdeps/generic/libc-lock.h: ...here.
15252         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15253         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15254         * sysdeps/mach/hurd/libc-lock.h: ...here.
15255         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15256         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15257         * sysdeps/mach/bits/libc-lock.h: Move to ...
15258         * sysdeps/mach/libc-lock.h: ...here.
15259         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15260         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15261         * sysdeps/nptl/libc-lock.h: ...here.
15262         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15263         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15264         * sysdeps/nptl/libc-lockP.h: ...here.
15265         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15266         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15267         <bits/libc-lock.h>.
15268         * dirent/scandir-tail.c: Likewise.
15269         * dlfcn/dlerror.c: Likewise.
15270         * elf/dl-close.c: Likewise.
15271         * elf/dl-iteratephdr.c: Likewise.
15272         * elf/dl-lookup.c: Likewise.
15273         * elf/dl-open.c: Likewise.
15274         * elf/dl-support.c: Likewise.
15275         * elf/dl-writev.h: Likewise.
15276         * elf/rtld.c: Likewise.
15277         * grp/fgetgrent.c: Likewise.
15278         * gshadow/fgetsgent.c: Likewise.
15279         * gshadow/sgetsgent.c: Likewise.
15280         * iconv/gconv_conf.c: Likewise.
15281         * iconv/gconv_db.c: Likewise.
15282         * iconv/gconv_dl.c: Likewise.
15283         * iconv/gconv_int.h: Likewise.
15284         * iconv/gconv_trans.c: Likewise.
15285         * include/link.h: Likewise.
15286         * inet/getnameinfo.c: Likewise.
15287         * inet/getnetgrent.c: Likewise.
15288         * inet/getnetgrent_r.c: Likewise.
15289         * intl/bindtextdom.c: Likewise.
15290         * intl/dcigettext.c: Likewise.
15291         * intl/finddomain.c: Likewise.
15292         * intl/gettextP.h: Likewise.
15293         * intl/loadmsgcat.c: Likewise.
15294         * intl/localealias.c: Likewise.
15295         * intl/textdomain.c: Likewise.
15296         * libidn/idn-stub.c: Likewise.
15297         * libio/libioP.h: Likewise.
15298         * locale/duplocale.c: Likewise.
15299         * locale/freelocale.c: Likewise.
15300         * locale/newlocale.c: Likewise.
15301         * locale/setlocale.c: Likewise.
15302         * login/getutent_r.c: Likewise.
15303         * login/getutid_r.c: Likewise.
15304         * login/getutline_r.c: Likewise.
15305         * login/utmp-private.h: Likewise.
15306         * login/utmpname.c: Likewise.
15307         * malloc/mtrace.c: Likewise.
15308         * misc/efgcvt.c: Likewise.
15309         * misc/error.c: Likewise.
15310         * misc/fstab.c: Likewise.
15311         * misc/getpass.c: Likewise.
15312         * misc/mntent.c: Likewise.
15313         * misc/syslog.c: Likewise.
15314         * nis/nis_call.c: Likewise.
15315         * nis/nis_callback.c: Likewise.
15316         * nis/nss-default.c: Likewise.
15317         * nis/nss_compat/compat-grp.c: Likewise.
15318         * nis/nss_compat/compat-initgroups.c: Likewise.
15319         * nis/nss_compat/compat-pwd.c: Likewise.
15320         * nis/nss_compat/compat-spwd.c: Likewise.
15321         * nis/nss_nis/nis-alias.c: Likewise.
15322         * nis/nss_nis/nis-ethers.c: Likewise.
15323         * nis/nss_nis/nis-grp.c: Likewise.
15324         * nis/nss_nis/nis-hosts.c: Likewise.
15325         * nis/nss_nis/nis-network.c: Likewise.
15326         * nis/nss_nis/nis-proto.c: Likewise.
15327         * nis/nss_nis/nis-pwd.c: Likewise.
15328         * nis/nss_nis/nis-rpc.c: Likewise.
15329         * nis/nss_nis/nis-service.c: Likewise.
15330         * nis/nss_nis/nis-spwd.c: Likewise.
15331         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15332         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15333         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15334         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15335         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15336         * nis/nss_nisplus/nisplus-network.c: Likewise.
15337         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15338         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15339         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15340         * nis/nss_nisplus/nisplus-service.c: Likewise.
15341         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15342         * nis/ypclnt.c: Likewise.
15343         * nptl/libc_pthread_init.c: Likewise.
15344         * nss/getXXbyYY.c: Likewise.
15345         * nss/getXXent.c: Likewise.
15346         * nss/getXXent_r.c: Likewise.
15347         * nss/nss_db/db-XXX.c: Likewise.
15348         * nss/nss_db/db-netgrp.c: Likewise.
15349         * nss/nss_db/nss_db.h: Likewise.
15350         * nss/nss_files/files-XXX.c: Likewise.
15351         * nss/nss_files/files-alias.c: Likewise.
15352         * nss/nsswitch.c: Likewise.
15353         * posix/regex_internal.h: Likewise.
15354         * posix/wordexp.c: Likewise.
15355         * pwd/fgetpwent.c: Likewise.
15356         * resolv/res_hconf.c: Likewise.
15357         * resolv/res_libc.c: Likewise.
15358         * shadow/fgetspent.c: Likewise.
15359         * shadow/lckpwdf.c: Likewise.
15360         * shadow/sgetspent.c: Likewise.
15361         * socket/opensock.c: Likewise.
15362         * stdio-common/reg-modifier.c: Likewise.
15363         * stdio-common/reg-printf.c: Likewise.
15364         * stdio-common/reg-type.c: Likewise.
15365         * stdio-common/vfprintf.c: Likewise.
15366         * stdio-common/vfscanf.c: Likewise.
15367         * stdlib/abort.c: Likewise.
15368         * stdlib/cxa_atexit.c: Likewise.
15369         * stdlib/fmtmsg.c: Likewise.
15370         * stdlib/random.c: Likewise.
15371         * stdlib/setenv.c: Likewise.
15372         * string/strsignal.c: Likewise.
15373         * sunrpc/auth_none.c: Likewise.
15374         * sunrpc/bindrsvprt.c: Likewise.
15375         * sunrpc/create_xid.c: Likewise.
15376         * sunrpc/key_call.c: Likewise.
15377         * sunrpc/rpc_thread.c: Likewise.
15378         * sysdeps/arm/backtrace.c: Likewise.
15379         * sysdeps/generic/ldsodefs.h: Likewise.
15380         * sysdeps/generic/stdio-lock.h: Likewise.
15381         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15382         * sysdeps/i386/backtrace.c: Likewise.
15383         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15384         * sysdeps/m68k/backtrace.c: Likewise.
15385         * sysdeps/mach/hurd/cthreads.c: Likewise.
15386         * sysdeps/mach/hurd/dirstream.h: Likewise.
15387         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15388         * sysdeps/nptl/malloc-machine.h: Likewise.
15389         * sysdeps/nptl/stdio-lock.h: Likewise.
15390         * sysdeps/posix/dirstream.h: Likewise.
15391         * sysdeps/posix/getaddrinfo.c: Likewise.
15392         * sysdeps/posix/system.c: Likewise.
15393         * sysdeps/pthread/aio_suspend.c: Likewise.
15394         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15395         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15396         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15397         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15398         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15399         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15400         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15401         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15402         * sysdeps/unix/sysv/linux/system.c: Likewise.
15403         * sysdeps/x86_64/backtrace.c: Likewise.
15404         * time/alt_digit.c: Likewise.
15405         * time/era.c: Likewise.
15406         * time/tzset.c: Likewise.
15407         * wcsmbs/wcsmbsload.c: Likewise.
15408         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15409         instead of <bits/libc-lock.h> in comment.
15411 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15413         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15414         Only use .set mips2 if the current ISA is below mips2.
15415         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15416         Likewise.
15417         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15418         mips32r2 if the current ISA is below mips32r2.
15419         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15420         (TLS_IE): Updated to use the TLD_RDHWR macro.
15421         (TLS_LE): Likewise.
15422         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15423         __ASSEMBLER__ condition.
15425 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15427         Fix parallel build of before-compile targets.
15429         * sysdeps/mach/Makefile ($(patsubst
15430         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15431         mach-before-compile target.
15432         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15433         io fs process)): Move rule to dedicated hurd-before-compile target.
15435 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15437         Fix rules generating headers in hurd/ and mach/ when initial make call
15438         has subdir= explicitly set.
15440         * sysdeps/mach/Makefile ($(patsubst
15441         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15442         calling $(MAKE).
15443         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15444         io fs process)): Force subdir to hurd when calling $(MAKE).
15445         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15446         subdir to mach when calling $(MAKE).
15448 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15450         Check sysheaders when looking for Mach and Hurd headers
15452         * sysdeps/mach/configure.ac: Add sysheaders check.
15453         * sysdeps/mach/configure: Regenerate.
15454         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15455         * sysdeps/mach/hurd/configure: Regenerate.
15457 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15459         [BZ #18921]
15460         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15461         Fix inverted sense of test of 'o_directory_works' value.
15462         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15463         Bernhard Voelker <mail@bernhard-voelker.de>.
15465 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15467         [BZ #14912]
15468         * bits/linkmap.h: Move to ...
15469         * sysdeps/generic/linkmap.h: ...here.
15470         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15471         * sysdeps/aarch64/linkmap.h: ...here.
15472         * sysdeps/arm/bits/linkmap.h: Move to ...
15473         * sysdeps/arm/linkmap.h: ...here.
15474         * sysdeps/hppa/bits/linkmap.h: Move to ...
15475         * sysdeps/hppa/linkmap.h: ...here.
15476         * sysdeps/ia64/bits/linkmap.h: Move to ...
15477         * sysdeps/ia64/linkmap.h: ...here.
15478         * sysdeps/mips/bits/linkmap.h: Move to ...
15479         * sysdeps/mips/linkmap.h: ...here.
15480         * sysdeps/s390/bits/linkmap.h: Move to ...
15481         * sysdeps/s390/linkmap.h: ...here.
15482         * sysdeps/sh/bits/linkmap.h: Move to ...
15483         * sysdeps/sh/linkmap.h: ...here.
15484         * sysdeps/x86/bits/linkmap.h: Move to ...
15485         * sysdeps/x86/linkmap.h: ...here.
15486         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15488 2015-09-04  Andreas Schwab  <schwab@suse.de>
15490         [BZ #18635]
15491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15492         (__makecontext): Terminate FDE before return label.
15493         (__novec_makecontext): Likewise.
15495 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15497         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15498         first member of struct sv in syscall macro.
15500 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15502         [BZ #14912]
15503         * bits/stdio-lock.h: Move to ...
15504         * sysdeps/generic/stdio-lock.h: ...here.
15505         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15506         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15507         * sysdeps/nptl/stdio-lock.h: ...here.
15508         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15509         * include/libio.h: Include <stdio-lock.h> instead of
15510         <bits/stdio-lock.h>.
15511         * sysdeps/nptl/fork.c: Likewise.
15512         * sysdeps/pthread/flockfile.c: Likewise.
15513         * sysdeps/pthread/ftrylockfile.c: Likewise.
15514         * sysdeps/pthread/funlockfile.c: Likewise.
15516         [BZ #14912]
15517         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15518         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15519         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15520         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15521         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15522         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15523         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15525 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15527         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15528         (test-xfail-tst-protected1b): New variable.
15530 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15532         [BZ #14912]
15533         * bits/libc-tsd.h: Move to ...
15534         * sysdeps/generic/libc-tsd.h: ...here.
15535         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15536         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15537         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15538         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15539         * include/ctype.h: Include <libc-tsd.h> instead of
15540         <bits/libc-tsd.h>.
15541         * include/rpc/rpc.h: Likewise.
15542         * locale/localeinfo.h: Likewise.
15543         * sunrpc/rpc_thread.c: Likewise.
15544         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15545         * sysdeps/nptl/malloc-machine.h: Likewise.
15547         * Makefile (headers): Remove bits/libc-lock.h.
15548         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15550         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15551         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15552         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15553         <bits/stdio-lock.h>.
15554         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15555         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15557 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15559         [BZ #18757]
15560         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15561         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15562         BZ #18757.
15564 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15566         * malloc/mtrace.pl: Filter out NULL entries.
15568 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15570         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15571         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15572         macro.
15574         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15575         (TCP_CC_INFO): Likewise.
15576         (TCP_SAVE_SYN): Likewise.
15577         (TCP_SAVED_SYN): Likewise.
15579 2015-08-31  Brett Neumeier <brett@neumeier.us>
15581         [BZ #18870]
15582         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15584 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15586         [BZ #18873]
15587         Fix broken overflow check in posix_fallocate
15588         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15589         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15590         Fix parenthesization typo.
15592 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15594         [BZ #18887]
15595         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15596         tst-mntent-blank-passno.
15597         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15598         * misc/tst-mntent-blank-corrupt.c: New test.
15599         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15600         * misc/tst-mntent.c (do_test): ... here.
15602 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15604         [BZ #4404]
15605         * po/de.po: Fix SIGALRM typo.
15607 2015-08-28  James Perkins  <james@loowit.net>
15609         * time/tst-strptime2.c (tests): Replace short list of test
15610         strings for strptime %z specifier with code which exhaustively
15611         tests every combination of sign and 0 to 5 digits. Tests for
15612         rejection of invalid strings.
15614 2015-08-28  James Perkins  <james@loowit.net>
15616         [BZ #16141]
15617         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15618         calculation, removing incorrect decimal time rounding, so that
15619         all minute values result in a valid seconds value.
15620         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15621         offset range limits to UTC-99:59 through UTC+99:59 to parse
15622         current and historical use cases.
15623         * time/tst-strptime2.c (tests): Modify and add tests for the
15624         strptime %z input field descriptor, specifically conversion of
15625         minutes to seconds and validating an offset range of -9959 to
15626         +9959.
15628 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15629             Dmitry V. Levin  <ldv@altlinux.org>
15631         [BZ #18877]
15632         * posix/Makefile (tests): Add tst-mmap-offset.
15633         * posix/tst-mmap.c: New file.
15634         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15635         offset calculation for negative values.
15637 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15639         * sysdeps/i386/init-arch.h: New file.
15640         * sysdeps/i386/i586/init-arch.h: Likewise.
15641         * sysdeps/i386/i686/init-arch.h: Likewise.
15642         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15643         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15644         * sysdeps/x86/cpu-features.h (bit_I586): New.
15645         (bit_I686): Likewise.
15646         (bit_CX8): Likewise.
15647         (bit_CMOV): Likewise.
15648         (index_CX8): Likewise.
15649         (index_CMOV): Likewise.
15650         (index_I586): Likewise.
15651         (index_I686): Likewise.
15652         (reg_CX8): Likewise.
15653         (reg_CMOV): Likewise.
15654         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15655         available at compile-time.
15656         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15657         available at compile-time.
15658         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15659         (USE_I686): Likewise.
15661 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15663         * sysdeps/i386/bcopy.S: New file.
15664         * sysdeps/i386/bzero.S: Likewise.
15665         * sysdeps/i386/memcpy.S: Likewise.
15666         * sysdeps/i386/memmove.S: Likewise.
15667         * sysdeps/i386/mempcpy.S: Likewise.
15668         * sysdeps/i386/memset.S: Likewise.
15669         * sysdeps/i386/bzero.c: Removed.
15670         * sysdeps/i386/memset.c: Likewise.
15671         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15672         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15673         * sysdeps/i386/i586/memset_chk.S: Likewise.
15674         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15675         * sysdeps/i386/memcpy_chk.S: Here.
15676         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15677         * sysdeps/i386/memmove_chk.S: Here.
15678         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15679         * sysdeps/i386/mempcpy_chk.S: Likewise.
15680         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15681         * sysdeps/i386/memset_chk.S: Likewise.
15683 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15685         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15686         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15687         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15688         * soft-fp/fmadf4.c: Ditto.
15689         * soft-fp/fmatf4.c: Ditto.
15691 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15693         * sysdeps/i386/i586/Implies: Removed.
15694         * sysdeps/i386/i686/Implies: Likewise.
15696 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15698         * sysdeps/i386/i486/strlen.S: Moved to ...
15699         * sysdeps/i386/strlen.S: Here.
15701 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15703         * sysdeps/i386/i486/strcat.S: Moved to ...
15704         * sysdeps/i386/strcat.S: Here.
15706 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15708         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15709         * sysdeps/i386/pthread_spin_trylock.S: Here.
15710         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15711         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15713 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15715         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15716         * sysdeps/i386/string-inlines.c: Here.
15718 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15720         * sysdeps/i386/i486/htonl.S: Moved ...
15721         * sysdeps/i386/htonl.S: here.
15723 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15725         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15726         * sysdeps/i386/bits/atomic.h: Here.
15728 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15730         * sysdeps/i386/i486/Versions: Removed.
15732 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15734         [BZ #2898]
15735         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15736         Based on patch by Aurelien Jarno.
15738 2015-08-26  Stan Shebs  <stanshebs@google.com>
15740         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15741         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15743 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15745         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15746         * sysdeps/powerpc/dl-procinfo.c:
15747         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15748         feature so it shows when LD_SHOW_AUXV=1.
15750 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15752         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15753         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15754         definition.  ISA 2.07B no longer requires full sync.
15756 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15758         [BZ #18863]
15759         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15760         (si_call_addr): Define.
15761         (si_syscall): Define.
15762         (si_arch): Define.
15764 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15766         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15767         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15768         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15769         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15770         (__memset_zero_constant_len_parameter): New.
15771         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15772         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15773         (__memset_zero_constant_len_parameter): Don't define if
15774         __memset_chk or USE_AS_BZERO are defined.
15776         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15777         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15778         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15780         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15781         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15782         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15783         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15784         comments.
15785         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15786         -mno-mmx for $(all-rtld-routines).
15787         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15788         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15789         i386.
15791 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15793         * sysdeps/generic/unwind.h
15794         (_Unwind_Word): Use __mode__(__unwind_word__)
15795         instead of __mode__(__word__).
15796         (_Unwind_Sword): Likewise.
15798         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15799         (MAX_NEEDED_INPUT): New define.
15800         (MAX_NEEDED_OUTPUT): New define.
15802         * NEWS: New item for IBM z13 string optimizations.
15804         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15805         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15806         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15807         * sysdeps/s390/multiarch/Makefile
15808         (sysdep_routines): Add memrchr functions.
15809         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15810         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15812         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15813         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15814         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15815         * sysdeps/s390/multiarch/Makefile
15816         (sysdep_routines): Add wmemcmp functions.
15817         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15818         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15819         * benchtests/bench-wmemcmp.c: New File.
15820         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15822         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15823         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15824         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15825         * sysdeps/s390/multiarch/Makefile
15826         (sysdep_routines): Add wmemset functions.
15827         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15828         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15829         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15830         * string/test-memset.c: Add wmemset support.
15831         * wcsmbs/test-wmemset.c: New File.
15832         * wcsmbs/Makefile (strop-tests): Add wmemset.
15833         * benchtests/bench-memset.c: Add wmemset support.
15834         * benchtests/bench-wmemset.c: New File.
15835         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15837         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15838         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15839         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15840         * sysdeps/s390/multiarch/Makefile
15841         (sysdep_routines): Add memccpy functions.
15842         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15843         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15844         * string/memccpy.c: Use MEMCCPY if defined.
15846         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15847         * sysdeps/s390/multiarch/memchr.c: Likewise.
15848         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15849         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15850         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15851         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15852         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15853         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15854         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15855         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15856         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15857         and rawmemchr functions.
15858         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15859         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15860         and wmemchr.
15861         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15862         * string/test-memchr.c: Add wmemchr support.
15863         * wcsmbs/test-wmemchr.c: New File.
15864         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15865         * benchtests/bench-memchr.c: Add wmemchr support.
15866         * benchtests/bench-wmemchr.c: New File.
15867         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15869         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15870         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15871         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15872         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15873         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15874         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15875         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15876         wcscspn functions.
15877         * sysdeps/s390/multiarch/ifunc-impl-list.c
15878         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15879         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15880         * string/test-strcspn.c: Add wcscspn support.
15881         * wcsmbs/test-wcscspn.c: New File.
15882         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15883         * benchtests/bench-strcspn.c: Add wcscspn support.
15884         * benchtests/bench-wcscspn.c: New File.
15885         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15887         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15888         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15889         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15890         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15891         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15892         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15893         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15894         wcspbrk functions.
15895         * sysdeps/s390/multiarch/ifunc-impl-list.c
15896         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15897         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15898         * string/test-strpbrk.c: Add wcspbrk support.
15899         * wcsmbs/test-wcspbrk.c: New File.
15900         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15901         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15902         * benchtests/bench-wcspbrk.c: New File.
15903         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15905         * sysdeps/s390/multiarch/strspn-c.c: New File.
15906         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15907         * sysdeps/s390/multiarch/strspn.c: Likewise.
15908         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15909         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15910         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15911         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15912         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15913         wcsspn functions.
15914         * sysdeps/s390/multiarch/ifunc-impl-list.c
15915         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15916         * string/test-strspn.c: Add wcsspn support.
15917         * wcsmbs/test-wcsspn.c: New File.
15918         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15919         * benchtests/bench-strspn.c: Add wcsspn support.
15920         * benchtests/bench-wcsspn.c: New File.
15921         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15923         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15924         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15925         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15926         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15927         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15928         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15929         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15930         wcsrchr functions.
15931         * sysdeps/s390/multiarch/ifunc-impl-list.c
15932         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15933         * benchtests/bench-wcsrchr.c: New File.
15934         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15936         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15937         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15938         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15939         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15940         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15941         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15942         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15943         wcschrnul functions.
15944         * sysdeps/s390/multiarch/ifunc-impl-list.c
15945         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15946         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15947         * string/test-strchr.c: Add wcschrnul support.
15948         * wcsmbs/test-wcschrnul.c: New File.
15949         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15950         * benchtests/bench-strchr.c: Add wcschrnul support.
15951         * benchtests/bench-wcschrnul.c: New File.
15952         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15954         * sysdeps/s390/multiarch/strchr-c.c: New File.
15955         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15956         * sysdeps/s390/multiarch/strchr.c: Likewise.
15957         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15958         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15959         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15960         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15961         wcschr functions.
15962         * sysdeps/s390/multiarch/ifunc-impl-list.c
15963         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15964         * string/strchr.c (STRCHR): Define and use macro.
15965         * benchtests/bench-wcschr.c: New File.
15966         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15968         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15969         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15970         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15971         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15972         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15973         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15974         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15975         wcsncmp functions.
15976         * sysdeps/s390/multiarch/ifunc-impl-list.c
15977         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15978         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15979         * benchtests/bench-strncmp.c: Add wcsncmp support.
15980         * benchtests/bench-wcsncmp.c: New File.
15981         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15983         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15984         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15985         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15986         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15987         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15988         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15989         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15990         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15991         wcscmp functions.
15992         * sysdeps/s390/multiarch/ifunc-impl-list.c
15993         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15994         * string/strcmp.c (STRCMP): Define and use macro.
15995         * benchtests/bench-wcscmp.c: New File.
15996         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15997         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15998         instead of _HAVE_STRING_ARCH_memchr.
16000         * sysdeps/s390/multiarch/strncat-c.c: New File.
16001         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16002         * sysdeps/s390/multiarch/strncat.c: Likewise.
16003         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16004         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16005         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16006         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16007         wcsncat functions.
16008         * sysdeps/s390/multiarch/ifunc-impl-list.c
16009         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16010         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16011         * string/test-strncat.c: Add wcsncat support.
16012         * wcsmbs/test-wcsncat.c: New File.
16013         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16014         * benchtests/bench-strncat.c: Add wcsncat support.
16015         * benchtests/bench-wcsncat.c: New File.
16016         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16018         * sysdeps/s390/multiarch/strcat-c.c: New File.
16019         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16020         * sysdeps/s390/multiarch/strcat.c: Likewise.
16021         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16022         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16023         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16024         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16025         wcscat functions.
16026         * sysdeps/s390/multiarch/ifunc-impl-list.c
16027         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16028         * string/strcat.c (STRCAT): Define and use macro.
16029         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16030         * string/test-strcat.c: Add wcscat support.
16031         * wcsmbs/test-wcscat.c: New File.
16032         * wcsmbs/Makefile (strop-tests): Add wcscat.
16033         * benchtests/bench-strcat.c: Add wcscat support.
16034         * benchtests/bench-wcscat.c: New File.
16035         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16037         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16038         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16039         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16040         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16041         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16042         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16043         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16044         wcpncpy functions.
16045         * sysdeps/s390/multiarch/ifunc-impl-list.c
16046         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16047         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16048         * string/test-stpncpy.c: Add wcpncpy support.
16049         * wcsmbs/test-wcpncpy.c: New File.
16050         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16051         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16052         * benchtests/bench-wcpncpy.c: New File.
16053         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16055         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16056         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16057         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16058         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16059         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16060         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16061         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16062         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16063         wcsncpy functions.
16064         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16065         * sysdeps/s390/multiarch/ifunc-impl-list.c
16066         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16067         * string/test-strncpy.c: Add wcsncpy support.
16068         * wcsmbs/test-wcsncpy.c: New File.
16069         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16070         * benchtests/bench-strncpy.c: Add wcsncpy support.
16071         * benchtests/bench-wcsncpy.c: New File.
16072         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16074         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16075         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16076         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16077         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16078         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16079         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16080         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16081         wcpcpy functions.
16082         * string/stpcpy.c: Use STPCPY if defined.
16083         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16084         * sysdeps/s390/multiarch/ifunc-impl-list.c
16085         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16086         * string/test-stpcpy.c: Add wcpcpy support.
16087         * wcsmbs/test-wcpcpy.c: New File.
16088         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16089         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16090         * benchtests/bench-wcpcpy.c: New File.
16091         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16093         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16094         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16095         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16096         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16097         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16098         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16099         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16100         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16101         wcscpy functions.
16102         * sysdeps/s390/multiarch/ifunc-impl-list.c
16103         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16104         * benchtests/bench-wcscpy.c: New File.
16105         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16107         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16108         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16109         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16110         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16111         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16112         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16113         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16114         wcsnlen functions.
16115         * sysdeps/s390/multiarch/ifunc-impl-list.c
16116         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16117         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16118         * string/test-strnlen.c: Add wcsnlen support.
16119         * wcsmbs/test-wcsnlen.c: New File.
16120         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16121         * benchtests/bench-strnlen.c: Add wcsnlen support.
16122         * benchtests/bench-wcsnlen.c: New File.
16123         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16125         * sysdeps/s390/multiarch/Makefile: New File.
16126         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16127         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16128         * sysdeps/s390/multiarch/strlen.c: Likewise.
16129         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16130         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16131         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16132         * string/strlen.c (STRLEN): Define and use macro.
16133         * sysdeps/s390/multiarch/ifunc-impl-list.c
16134         (IFUNC_VX_IMPL): New macro function.
16135         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16136         * benchtests/Makefile (wcsmbs-bench): New variable.
16137         (string-bench-all): Added wcsmbs-bench.
16138         * benchtests/bench-wcslen.c: New File.
16140         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16141         s390_vx_libc_ifunc2): New macro function.
16143         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16144         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16145         assembler support.
16146         * sysdeps/s390/configure: Regenerated.
16148         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16149         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16151         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16152         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16153         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16155         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16156         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16157         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16158         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16159         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16160         (memcmp, bcmp): Use __memcmp_default as alias source.
16161         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16162         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16163         Rename to __memcmp_default.
16164         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16165         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16166         (memcpy): Use __memcpy_default as alias source.
16167         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16168         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16169         Rename to __memcpy_default.
16170         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16171         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16172         (memset): Use __memset_default as alias source.
16173         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16174         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16175         Rename to __memset_default.
16176         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16177         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16178         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16179         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16180         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16181         (memcmp, bcmp): Use __memcmp_default as alias source.
16182         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16183         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16184         Rename to __memcmp_default.
16185         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16186         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16187         (memcpy): Use __memcpy_default as alias source.
16188         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16189         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16190         Rename to __memcpy_default.
16191         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16192         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16193         (memset): Use __memset_default as alias source.
16194         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16195         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16196         Rename to __memset_default.
16197         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16198         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16200         [BZ #18610]
16201         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16202         __ieee_instruction_pointer to __unused.
16203         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16204         __ieee_instruction_pointer.
16205         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16206         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16207         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16208         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16209         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16210         Mark dxc-field as reserved.
16212 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16214         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16215         if the weak reference is not null.
16217 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16219         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16221         [BZ #11214]
16222         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16224 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16226         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16227         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16228         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16229         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16230         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16231         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16232         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16233         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16234         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16235         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16236         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16237         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16238         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16239         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16240         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16241         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16242         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16243         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16245 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16247         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16248         register other than r0 for tabort, it has special meaning.
16249         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16250         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16251         transaction before starting syscall.
16253 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16255         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16257 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16259         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16261         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16262         * sysdeps/x86_64/rtld-memset.S: Likewise.
16263         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16264         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16265         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16266         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16268         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16270 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16272         * debug/strcpy_chk.c: Improve performance.
16273         * debug/stpcpy_chk.c: Likewise.
16274         * sysdeps/x86_64/strcpy_chk.S: Remove.
16275         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16277         [BZ #18240]
16278         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16280 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16282         [BZ #15128]
16283         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16284         ifuncmain8.
16285         (modules-names): Add ifuncmod8.
16286         ($(objpfx)ifuncmain8): New rule.
16287         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16288         <cpuid.h>.
16289         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16290         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16291         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16292         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16293         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16294         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16295         * sysdeps/x86_64/ifuncmain8.c: New file.
16296         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16297         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16298         Removed.
16299         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16300         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16301         Change rtld_savespace_sse to __glibc_unused2.
16302         (RTLD_CHECK_FOREIGN_CALL): Removed.
16303         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16304         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16305         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16307 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16309         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16311 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16313         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16314         Unconditionally set __fpcr to avoid uninialized warning.
16315         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16317 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16319         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16320         is corrupt.
16322         * malloc/arena.c (arena_get2): Drop unused argument.
16323         (arena_lock): Adjust.
16324         (arena_get_retry): Likewise.
16326 2015-08-24  Andreas Schwab  <schwab@suse.de>
16328         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16329         Don't define.
16330         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16331         (__ASSUME_IPC64): Don't undef.
16332         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16333         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16334         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16335         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16336         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16337         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16338         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16339         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16340         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16341         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16342         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16343         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16344         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16345         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16346         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16347         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16348         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16349         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16350         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16351         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16352         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16354 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16356         * manual/Makefile (install): Only build manual when perl is available.
16358 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16360         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16361         '#undef memcpy' by '#undef memchr'.
16363 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16365         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16366         memchr not point to the internal __GI_memchr implementation.
16368 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16370         * timezone/Makefile (CFLAGS-zdump.c): Remove
16371         -Wno-strict-prototypes.
16372         (CFLAGS-zic.c): Likewise.
16373         (CFLAGS-ialloc.c): Likewise.
16374         (CFLAGS-scheck.c): Likewise.
16376         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16377         -Wno-error=undef.
16379 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16381         * i386/i686/multiarch/strcasestr-c.c: Removed.
16382         * x86_64/multiarch/strcasestr.c: Likewise.
16383         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16384         Remove strcasestr.
16386 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16388         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16390         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16391         variables for high and low parts before possibly modifying them.
16393 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16395         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16396         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16397         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16398         of "multiarch/init-arch.h".
16399         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16400         * sysdeps/x86/init-arch.h: This.
16402 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16404         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16405         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16407 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16409         [BZ #17787]
16410         * manual/macros.texi: Add twoexp macro.
16411         * manual/filesys.texi: Fix exponents.
16412         * manual/llio.texi: Likewise.
16413         * manual/stdio.texi: Likewise.
16415 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16417         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16418         incorrect use.
16420 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16422         [BZ #18370]
16423         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16424         whose real or imaginary part has small absolute value.
16425         * math/s_csqrtf.c (__csqrtf): Likewise.
16426         * math/s_csqrtl.c (__csqrtl): Likewise.
16427         * math/auto-libm-test-in: Add more tests of csqrt.
16428         * math/auto-libm-test-out: Regenerated.
16429         * sysdeps/i386/fpu/libm-test-ulps: Update.
16431 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16433         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16434         __ppc_set_ppr_very_low): New functions.
16435         * manual/platform.texi: Add documentation about
16436         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16438 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16440         * string/stpncpy.c (stpncpy): Improve performance using
16441         __strnlen/memcpy/memset.
16443 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16445         [BZ #18796]
16446         * scripts/test-installation.pl: Don't add -lmvec to build options if
16447         libmvec wasn't built.
16449 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16451         [BZ #14341]
16452         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16453         case when there is a gap between DT_REL and DT_JMPREL sections.
16454         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16455         (LDFLAGS-tst-split-dynreloc): New.
16456         (tst-split-dynreloc-ENV): Likewise.
16457         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16458         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16460 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16462         [BZ #18822]
16463         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16464         attribute_hidden.
16465         (__xstat64_conv): Likewise.
16466         (__xstat32_conv): Likewise.
16468 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16470         [BZ #18822]
16471         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16472         Don't load %ebx when calling __setcontext.  Call __setcontext
16473         with HIDDEN_JUMPTARGET.
16474         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16475         libc_hidden_def.
16477 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16479         * sysdeps/i386/i686/Makefile
16480         [$(subdir) == string] (sysdep_routines): Moved to ...
16481         * sysdeps/i386/Makefile: Here.
16482         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16483         * sysdeps/i386/cacheinfo.c: Here.
16484         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16485         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16486         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16487         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16489 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16491         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16492         __i586__ is defined.
16493         (HAS_I686): Defined to 1 if __i686__ is defined.
16495 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16497         * elf/Makefile [$(have-z-execstack) = yes]
16498         (CPPFLAGS-tst-execstack.c): New variable.
16500         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16501         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16502         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16503         UTMPX || _HAVE_UT_TV].
16504         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16505         UTMPX || _HAVE_UT_TV - 0].
16507 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16509         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16510         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16511         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16513 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16515         * sysdeps/powerpc/dl-procinfo.c:
16516         (_dl_powerpc_cap_flags): Added missing strings for some
16517         hwcap features.
16518         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16520 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16522         Port the 0x7efe...feff pattern to GCC 6.
16523         See Steve Ellcey's bug report in:
16524         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16525         * string/memrchr.c (MEMRCHR):
16526         * string/rawmemchr.c (RAWMEMCHR):
16527         * string/strchr.c (strchr):
16528         * string/strchrnul.c (STRCHRNUL):
16529         Rewrite code to avoid issues with signed shift overflow.
16531 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16533         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16534         whether cpuid is available only if HAS_CPUID is 0.
16535         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16536         (HAS_I586): Likewise.
16537         (HAS_I686): Likewise.
16539 2015-08-18  Zack Weinberg  <zackw@panix.com>
16541         * misc/Versions (libc): Add GLIBC_2.23.
16543 2015-08-18  Alan Modra  <amodra@gmail.com>
16545         [BZ #18421]
16546         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16547         .Lp__global.
16548         (_start): Load %dp via .Lp__global.
16549         [!SHARED]: Use .section .rodata.
16551 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16553         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16554         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16556 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16558         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16559         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16561 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16563         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16564         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16566 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16568         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16569         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16571 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16573         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16574         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16576 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16578         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16579         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16581 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16583         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16585 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16587         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16588         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16589         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16590         (__ASSUME_LWS_CAS): Delete.
16592 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16594         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16595         * sysdeps/hppa/configure: Regenerated.
16596         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16597         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16598         * sysdeps/hppa/nptl/tls.h: Likewise.
16600 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16602         [BZ #18823]
16603         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16604         for scaling up small arguments.
16605         * math/s_csqrtf.c (__csqrtf): Likewise.
16606         * math/s_csqrtl.c (__csqrtl): Likewise.
16607         * math/auto-libm-test-in: Add more tests of csqrt.
16608         * math/auto-libm-test-out: Regenerated.
16610 2015-08-17  Andreas Schwab  <schwab@suse.de>
16612         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16613         version set GLIBC_2.19.
16615 2015-08-16  Zack Weinberg  <zackw@panix.com>
16617         [BZ #18681]
16618         * misc/regexp.h: This interface is no longer supported.
16619         Remove all contents, leaving only an #error directive.
16620         * misc/regexp.c (loc1, loc2, locs, step, advance):
16621         Demote to compatibility symbols.
16623 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16625         [BZ #18084]
16626         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16627         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16628         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16629         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16630         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16631         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16632         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16633         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16634         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16636 2015-08-15  Zack Weinberg  <zackw@panix.com>
16638         [BZ #18795]
16639         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16640         buffer length is known to be too large, not if it's known to be
16641         small enough.
16642         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16643         overflow at runtime, involving a length parameter, twice: once
16644         with a compile-time constant length parameter, once without.
16646 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16648         [BZ #18824]
16649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16650         scaling x * y up instead of down.
16651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16652         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16653         * math/auto-libm-test-in: Add more tests of fma.
16654         * math/auto-libm-test-out: Regenerated.
16656 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16658         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16660 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16662         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16663         unnecessary movq.
16664         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16665         Likewise.
16667 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16669         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16670         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16671         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16672         and tgamma.
16673         * math/auto-libm-test-out: Regenerated.
16674         * sysdeps/i386/fpu/libm-test-ulps: Update.
16675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16677         [BZ #16520]
16678         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16679         (__tanh): Force underflow exception for arguments with small
16680         absolute value.
16681         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16682         (__tanhf): Force underflow exception for arguments with small
16683         absolute value.
16684         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16685         (__tanhl): Force underflow exception for arguments with small
16686         absolute value.
16687         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16688         (__tanhl): Force underflow exception for arguments with small
16689         absolute value.
16690         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16691         (__tanhl): Force underflow exception for arguments with small
16692         absolute value.
16693         * math/auto-libm-test-in: Add more tests of tanh.
16694         * math/auto-libm-test-out: Regenerated.
16695         * sysdeps/i386/fpu/libm-test-ulps: Update.
16697 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16699         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16700         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16702 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16704         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16705         <cpuid.h>.
16707 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16709         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16710         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16712 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16714         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16715         Remove $(objpfx)init-arch.o.
16716         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16717         init-arch.
16718         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16719         (INIT_ARCH_EXT): Defined as empty.
16720         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16721         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16722         __init_cpu_features call.  Replace HAS_XXX with
16723         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16724         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16725         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16726         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16727         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16728         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16729         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16730         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16731         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16732         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16733         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16734         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16735         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16736         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16737         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16738         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16739         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16740         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16741         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16742         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16743         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16744         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16745         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16746         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16747         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16748         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16749         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16750         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16751         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16752         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16753         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16754         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16755         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16756         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16757         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16758         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16760 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16762         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16763         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16764         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16765         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16766         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16767         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16768         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16769         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16770         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16771         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16772         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16773         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16774         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16775         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16776         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16777         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16778         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16779         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16780         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16781         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16782         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16783         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16784         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16785         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16786         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16787         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16788         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16789         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16790         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16791         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16792         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16793         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16794         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16795         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16796         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16797         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16798         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16799         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16800         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16801         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16802         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16803         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16804         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16806 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16808         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16809         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16810         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16811         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16812         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16813         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16814         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16815         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16816         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16817         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16818         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16819         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16820         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16821         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16822         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16823         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16824         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16825         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16826         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16827         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16828         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16829         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16830         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16831         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16832         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16833         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16834         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16835         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16836         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16837         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16838         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16839         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16840         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16841         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16842         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16843         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16844         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16845         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16846         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16847         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16848         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16849         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16850         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16852 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16854         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16855         (dl_platform_init): Call init_cpu_features.
16856         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16857         * sysdeps/i386/i686/cacheinfo.c
16858         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16859         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16860         * sysdeps/i386/i686/multiarch/Versions: Removed.
16861         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16862         Removed.
16863         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16864         * sysdeps/unix/sysv/linux/x86/Makefile
16865         (libpthread-sysdep_routines): Remove init-arch.
16866         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16867         <sysdeps/x86_64/dl-procinfo.c> instead of
16868         sysdeps/generic/dl-procinfo.c>.
16869         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16870         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16871         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16872         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16873         [$(subdir) == elf] (tests-static): Add
16874         tst-get-cpu-features-static.
16875         * sysdeps/x86/Versions: New file.
16876         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16877         * sysdeps/x86/cpu-features.c: Likewise.
16878         * sysdeps/x86/cpu-features.h: Likewise.
16879         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16880         * sysdeps/x86/libc-start.c: Likewise.
16881         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16882         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16883         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16884         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16885         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16886         Assume USE_MULTIARCH is defined and don't check it.
16887         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16888         (is_amd): Likewise.
16889         (max_cpuid): Likewise.
16890         (intel_check_word): Likewise.
16891         (__cache_sysconf): Don't call __init_cpu_features.
16892         (__x86_preferred_memory_instruction): Removed.
16893         (init_cacheinfo): Don't call __init_cpu_features. Replace
16894         __cpu_features with GLRO(dl_x86_cpu_features).
16895         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16896         (dl_platform_init): Call init_cpu_features.
16897         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16898         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16899         * sysdeps/x86_64/multiarch/Versions: Removed.
16900         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16901         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16902         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16903         Removed.
16904         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16906 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16908         [BZ #18820]
16909         * libio/Makefile (test-fmemopen-mem): New test.
16910         * libio/test-fmemopen.c (do_bz18820): New test.
16911         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16912         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16914 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16916         [BZ #16734]
16917         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16918         (FREE_BUF): Delete.
16919         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16920         * libio/genops.c (_IO_setb): Use malloc and free directly.
16921         (_IO_default_doallocate, _IO_default_finish): Likewise.
16922         ( _IO_unbuffer_all): Likewise.
16923         ( libc_freeres_fn): Likewise.
16924         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16925         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16926         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16927         (_IO_wdefault_doallocate): Likewise.
16929 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16931         [BZ #18086]
16932         * sysdeps/posix/nice.c (nice): Restore old errno.
16933         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16935 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16937         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16939 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16941         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16942         __bcopy and add a weak_alias to bcopy.
16943         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16944         for static build.
16946         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16947         cleanup macro usage.
16948         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16949         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16950         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16951         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16952         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16953         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16954         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16955         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16956         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16957         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16958         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16959         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16960         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16961         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16962         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16963         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16964         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16965         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16966         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16968         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16969         libc_hidden_def.
16970         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16972         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16973         (sysdep_routines): Add strstr-ppc64.
16974         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16976 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16978         [BZ #18778]
16979         * elf/Makefile (tests): Add Add tst-nodelete2.
16980         (modules-names): Add tst-nodelete2mod.
16981         (tst-nodelete2mod.so-no-z-defs): New.
16982         ($(objpfx)tst-nodelete2): Likewise.
16983         ($(objpfx)tst-nodelete2.out): Likewise.
16984         (LDFLAGS-tst-nodelete2): Likewise.
16985         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16986         out of loop through all loaded libraries.
16987         * elf/tst-nodelete2.c: New file.
16988         * elf/tst-nodelete2mod.c: Likewise.
16989         * elf/tst-znodelete-zlib.cc: Delete.
16991 2015-08-11  Andreas Schwab  <schwab@suse.de>
16993         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16994         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16995         (__openat64_nocancel): Likewise.
16997 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16999         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17000         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17001         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17002         * math/auto-libm-test-out: Regenerated.
17003         * sysdeps/i386/fpu/libm-test-ulps: Update.
17004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17006 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17008         [BZ #18790]
17009         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17010         threshold for returning +/- 1.
17011         * math/auto-libm-test-in: Add more tests of tanh.
17012         * math/auto-libm-test-out: Regenerated.
17013         * sysdeps/i386/fpu/libm-test-ulps: Update.
17015 2015-08-10  Andreas Schwab  <schwab@suse.de>
17017         [BZ #18781]
17018         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17019         MORE_OFLAGS to oflag.
17020         * io/test-lfs.c (do_test): Test openat64.
17022 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17024         [BZ #18789]
17025         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17026         smaller threshold for returning the argument.
17027         * math/auto-libm-test-in: Add more tests of sinh.
17028         * math/auto-libm-test-out: Regenerated.
17029         * sysdeps/i386/fpu/libm-test-ulps: Update.
17031 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17033         [BZ #18674]
17034         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17035         break.
17037 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17039         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17040         (generated): Don't add $(addprefix z.,$(tzfiles)).
17042 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17044         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17045         * scripts/sysd-rules.awk: Likewise.
17047 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17049         * iconvdata/tst-tables.sh: Change echo -n to printf.
17050         * nss/db-Makefile: Likewise.
17051         * posix/tst-getconf.sh: Likewise.
17052         * stdio-common/tst-unbputc.sh: Likewise.
17054 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17056         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17057         MADV_*_PAGES defines behind this feature check.
17059 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17061         [BZ #18480]
17062         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17063         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17064         Define.
17065         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17066         LOAD_REGS_5, LOAD_REGS_6): Update.
17067         (INTERNAL_SYSCALL): Update using new LOAD defines.
17068         (INTERNAL_SYSCALL_NCS): Likewise.
17069         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17071 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17073         [BZ #16734]
17074         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17076 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17078         [BZ #17905]
17079         * catgets/Makefile (tst-catgets-mem): New test.
17080         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17081         * catgets/open_catalog.c (__open_catalog): Likewise.
17082         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17084 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17086         [BZ #18787]
17087         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17088         clobber registers.
17089         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17090         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17091         Cast return to __typeof (oldval).
17093 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17095         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17096         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17097         and delete sys/syscall.h include.
17099 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17101         [BZ #16517]
17102         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17103         (tan): Force underflow exception for arguments with small absolute
17104         value.
17105         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17106         (__kernel_tanf): Force underflow exception for arguments with
17107         small absolute value.
17108         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17109         (__kernel_tanl): Force underflow exception for arguments with
17110         small absolute value.
17111         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17112         (__kernel_tanl): Force underflow exception for arguments with
17113         small absolute value.
17114         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17115         (__kernel_tanl): Force underflow exception for arguments with
17116         small absolute value.
17117         * math/auto-libm-test-in: Add more tests of tan.
17118         * math/auto-libm-test-out: Regenerated.
17120 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17122         Fix sysdeps/i386/fpu/s_scalbn.S build
17124         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17126 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17128         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17130 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17132         Fix gcrt0.o compilation
17134         When static-start-installed-name is different from
17135         start-installed-name, we must not use the shared objects.
17137         * csu/Makefile
17138         (extra-objs): Add gmon-start.o when building shared library and
17139         $(static-start-installed-name) is different from
17140         $(start-installed-name).
17141         $(objpfx)g$(static-start-installed-name): When building shared
17142         library and $(static-start-installed-name) is different from
17143         $(static-start-installed-name), revert to non-shared rule,
17144         i.e. using $(objpfx)% and gmon-start.o.
17146 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17148         [BZ #16519]
17149         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17150         (__ieee754_sinh): Force underflow exception for arguments with
17151         small absolute value.
17152         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17153         (__ieee754_sinhf): Force underflow exception for arguments with
17154         small absolute value.
17155         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17156         (__ieee754_sinhl): Force underflow exception for arguments with
17157         small absolute value.
17158         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17159         (__ieee754_sinhl): Force underflow exception for arguments with
17160         small absolute value.
17161         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17162         (__ieee754_sinhl): Force underflow exception for arguments with
17163         small absolute value.
17164         * math/auto-libm-test-in: Add more tests of sinh.
17165         * math/auto-libm-test-out: Regenerated.
17166         * sysdeps/i386/fpu/libm-test-ulps: Update.
17168 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17170         * libio/oldfileops.c: Include unistd.h.
17172 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17174         * stdlib/isomac.c: Include ctype.h.
17176 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17178         * dirent/tst-seekdir.c (main): Converted to ...
17179         (do_test): ... this.
17180         (TEST_FUNCTION): New macro.
17181         Include test-skeleton.c.
17182         * elf/tst-dlmodcount.c (main): Converted to ...
17183         (do_test): ... this.
17184         (TEST_FUNCTION): New macro.
17185         Include test-skeleton.c.
17186         * elf/tst-order-main.c (main): Converted to ...
17187         (do_test): ... this.
17188         (TEST_FUNCTION): New macro.
17189         Include test-skeleton.c.
17190         * elf/tst-pie2.c (main): Converted to ...
17191         (do_test): ... this.
17192         (TEST_FUNCTION): New macro.
17193         Include test-skeleton.c.
17194         * inet/tst-ether_aton.c (main): Converted to ...
17195         (do_test): ... this.
17196         (TEST_FUNCTION): New macro.
17197         Include test-skeleton.c.
17198         * misc/tst-mntent.c (main): Converted to ...
17199         (do_test): ... this.
17200         (TEST_FUNCTION): New macro.
17201         Include test-skeleton.c.
17202         * misc/tst-tsearch.c (main): Converted to ...
17203         (do_test): ... this.
17204         (TEST_FUNCTION): New macro.
17205         Include test-skeleton.c.
17206         * posix/tst-regexloc.c (main): Converted to ...
17207         (do_test): ... this.
17208         (TEST_FUNCTION): New macro.
17209         Include test-skeleton.c.
17210         * resolv/tst-aton.c (main): Converted to ...
17211         (do_test): ... this.
17212         (TEST_FUNCTION): New macro.
17213         Include test-skeleton.c.
17214         * stdio-common/test-fwrite.c (main): Converted to ...
17215         (do_test): ... this.
17216         (TEST_FUNCTION): New macro.
17217         Include test-skeleton.c.
17218         * stdio-common/tst-ferror.c (main): Converted to ...
17219         (do_test): ... this.
17220         (TEST_FUNCTION): New macro.
17221         Include test-skeleton.c.
17222         * stdio-common/tst-printf.c (main): Converted to ...
17223         (do_test): ... this.
17224         (TEST_FUNCTION): New macro.
17225         Include test-skeleton.c.
17226         * stdio-common/tst-printfsz.c (main): Converted to ...
17227         (do_test): ... this.
17228         (TEST_FUNCTION): New macro.
17229         Include test-skeleton.c.
17230         * stdlib/tst-strtod.c (main): Converted to ...
17231         (do_test): ... this.
17232         (TEST_FUNCTION): New macro.
17233         Include test-skeleton.c.
17234         * string/tst-strlen.c (main): Converted to ...
17235         (do_test): ... this.
17236         (TEST_FUNCTION): New macro.
17237         Include test-skeleton.c.
17238         * string/tst-svc.c (main): Converted to ...
17239         (do_test): ... this.
17240         (TEST_FUNCTION): New macro.
17241         Include test-skeleton.c.
17242         * time/tst-strptime.c (main): Converted to ...
17243         (do_test): ... this.
17244         (TEST_FUNCTION): New macro.
17245         Include test-skeleton.c.
17246         * timezone/tst-timezone.c (main): Converted to ...
17247         (do_test): ... this.
17248         (TEST_FUNCTION): New macro.
17249         Include test-skeleton.c.
17251 2015-08-05  Zack Weinberg  <zackw@panix.com>
17253         * misc/regexp.h: Update comments.
17255 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17257         [BZ #18635]
17258         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17259         before return label.
17261 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17263         [BZ #18661]
17264         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17265         when calling __errno_location.
17266         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17267         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17269 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17271         [BZ #18661]
17272         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17273         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17274         __gettimeofday.
17276 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17278         [BZ #18661]
17279         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17280         (__start_context): Don't use pop to restore %rdi so that stack
17281         is aligned to 16 bytes when calling __setcontext.
17283 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17285         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17286         only for libc.
17287         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17289 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17291         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17292         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17293         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17295 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17297         * string/memccpy.c (memccpy):
17298         Improve performance by using memchr/memcpy/__mempcpy.
17300 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17302         * string/strncpy.c (strncpy):
17303         Improve performance by using __strnlen/memcpy.
17305 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17307         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17308         Optimize to avoid an unnecessary FPCR read.
17310 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17312         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17313         Optimize to reduce FPCR/FPSR accesses.
17315 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17317         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17318         dead->data[category] != NULL.
17320 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17322         [BZ #18647]
17323         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17324         and |x| close to 1, use absolute value of x when computing log.
17325         * math/auto-libm-test-in: Add more tests of pow.
17326         * math/auto-libm-test-out: Regenerated.
17328 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17330         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17331         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17332         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17334 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17336         [BZ #18525]
17337         * locales/km_KH: Remove timezone definition.
17338         * locales/lo_LA: Likewise.
17339         * locales/my_MM: Likewise.
17340         * locales/nan_TW@latin: Likewise.
17341         * locales/th_TH: Likewise.
17342         * locales/uk_UA: Likewise.
17344 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17346         [BZ #18265]
17347         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17348         (wcsncat): Likewise.
17349         (wcscmp): Likewise.
17350         (wcsncmp): Likewise.
17352 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17354         * test-skeleton.c (usage): New function.
17355         (main): Call usage when opt is '?'.
17357 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17359         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17360         before first use.
17362 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17364         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17365         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17366         in there too.
17368 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17370         * version.h (RELEASE): Set to "development".
17371         (VERSION): Set to "2.22.90"
17373         * version.h (RELEASE): Set to "stable".
17374         (VERSION): Set to "2.22"
17375         * include/features.h (__GLIBC_MINOR__): Set to 22.
17377 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17379         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17380         Restructure macro to avoid "value computed is not used" warning.
17381         (atomic_compare_and_exchange_val_acq): Likewise.
17383 2015-08-04  Andreas Schwab  <schwab@suse.de>
17385         [BZ #18635]
17386         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17387         ret.
17388         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17390 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17392         * po/pl.po: Updated translation.
17393         * po/uk.po: Likewise.
17394         * po/fi.po: Likewise.
17395         * po/ko.po: Likewise.
17396         * po/ru.po: Likewise.
17397         * po/vi.po: Likewise.
17399 2015-07-31  Zack Weinberg  <zackw@panix.com>
17401         [BZ #18681]
17402         * regexp.h: Add unconditional #warning stating that this header
17403         will be removed soon.  Revise banner comment to match.
17404         (compile): Consistently use ERROR instead of RETURN to report
17405         errors (partial fix for bz#18681).
17406         * regexp.c: Don't include regexp.h. Remove some unnecessary
17407         declarations.
17409 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17411         * po/libc.pot: Regenerated.
17413 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17415         [BZ #18740]
17416         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17417         float-vlen4-arch-ext-cflags): Removed.
17418         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17419         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17421 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17423         [BZ #14113]
17424         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17425         aligned to __aligned__.
17426         (pthread_cond_t, pthread_rwlock_t): Likewise.
17428 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17430         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17432 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17434         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17435         (struct sigaction): Change sa_flags from a long to an int, and add
17436         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17438 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17440         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17441         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17442         sysdeps/generic/sysdep.h include.
17443         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17444         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17445         sysdeps/hppa/sysdep.h.
17446         (ENTRY, PSEUDO): Undefine before defining.
17448 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17450         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17451         from scratch to use INTERNAL_SYSCALL.
17453 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17455         [BZ #18078]
17456         * scripts/check-localplt.awk: Support alternate relocations.
17457         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17458         sections.
17459         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17460         malloc entries with + REL R_386_GLOB_DAT.
17461         * sysdeps/x86_64/localplt.data: New file.
17463 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17465         [BZ #18731]
17466         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17467         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17468         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17470 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17472         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17474 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17476         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17477         directly in terms of __sync_fetch_and_add and delete (int) cast.
17479 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17481         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17482         the -D_ASM_IA64_CURRENT_H flag.
17484 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17486         [BZ #18641]
17487         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17489 2015-07-27  Andreas Schwab  <schwab@suse.de>
17491         * conform/conformtest.pl (checknamespace): Filter out string
17492         literals while tokenizing.
17494 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17496         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17497         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17498         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17500 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17502         * nptl/tst-join7mod.c: Add #include <string.h>.
17504 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17506         * sysdeps/nios2/libm-test-ulps: Update.
17508 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17510         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17511         Fix order of arguments to the rt_sigprocmask syscall.
17512         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17513         Likewise.
17515 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17517         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17519 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17521         [BZ #18457]
17522         * nptl/Makefile (tests): New test case tst-join7.
17523         (modules-names): New test case module tst-join7mod.
17524         * nptl/tst-join7.c: New file.
17525         * nptl/tst-join7mod.c: New file.
17526         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17527         all translation units in libc.so, libpthread.so and rtld.
17529 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17533 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17535         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17536         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17537         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17538         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17539         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17540         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17541         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17542         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17543         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17544         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17545         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17546         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17547         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17548         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17549         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17550         implementation.
17552 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17554         [BZ #17711]
17555         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17556         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17557         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17558         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17559         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17560         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17562 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17564         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17565         instead of just saying load lock in the comments.
17567 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17569         * sysdeps/unix/Subdirs: Moved ...
17570         * sysdeps/posix/Subdirs: ... here.
17571         * login/pty.h (struct termios, struct winsize): Add forward decls.
17572         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17573         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17574         * sysdeps/arm/nacl/libc.abilist: Updated.
17575         * sysdeps/nacl/libutil.abilist: New file.
17577         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17578         (SIGWINCH): New macro.
17580         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17581         * sysdeps/arm/nacl/libc.abilist: Add it.
17583 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17585         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17587 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17589         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17590         Swap __glibc_reserved0 and sa_flags order.
17592 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17594         [BZ #18657]
17595         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17596         are pending TLS destructor calls.
17597         * include/link.h (struct link_map): Add concurrency note for
17598         L_TLS_DTOR_COUNT.
17599         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17600         Don't touch the link map flag.  Atomically increment
17601         l_tls_dtor_count.
17602         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17603         Avoid taking the load lock and don't touch the link map flag.
17604         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17605         * stdlib/Makefile (tests): Use it.
17606         * stdlib/tst-tls-atexit.c (do_test): dlopen
17607         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17608         to allow tst-tls-atexit-nodelete test case to use it.
17610 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17612         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17613         to bits/types.h.
17614         (msgqnum_t): New typedef.
17615         (msglen_t): Likewise.
17616         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17617         and msg_qbytes type to msglen_t.
17619 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17621         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17622         pad0 to __glibc_reserved0.
17623         (struct stat64): Likewise.
17625 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17627         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17628         Change sa_flags from a long to an int and add __glibc_reserved0 before
17629         it for padding.
17631 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17633         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17634         anonymous by deleting "siginfo" name.
17636 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17638         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17639         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17640         rather than __nacl_irt_filename.
17641         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17643         * NEWS: New item for arm-nacl port.
17644         * sysdeps/arm/nacl/libc.abilist: New file.
17645         * sysdeps/nacl/ld.abilist: New file.
17646         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17647         * sysdeps/nacl/libanl.abilist: New file.
17648         * sysdeps/nacl/libcrypt.abilist: New file.
17649         * sysdeps/nacl/libdl.abilist: New file.
17650         * sysdeps/nacl/libm.abilist: New file.
17651         * sysdeps/nacl/libpthread.abilist: New file.
17652         * sysdeps/nacl/libresolv.abilist: New file.
17653         * sysdeps/nacl/librt.abilist: New file.
17655 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17657         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17658         __startcontext to initialize the new context.
17659         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17660         up CFI directive to forbid further backtracing.
17662 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17664         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17665         reference.
17666         * charmaps/ANSI_X3.4-1968: Likewise.
17667         * charmaps/BS_4730: Likewise.
17668         * charmaps/BS_VIEWDATA: Likewise.
17669         * charmaps/CP1250: Likewise.
17670         * charmaps/CP1251: Likewise.
17671         * charmaps/CP1252: Likewise.
17672         * charmaps/CP1253: Likewise.
17673         * charmaps/CP1254: Likewise.
17674         * charmaps/CP1255: Likewise.
17675         * charmaps/CP1256: Likewise.
17676         * charmaps/CSN_369103: Likewise.
17677         * charmaps/EBCDIC-DK-NO: Likewise.
17678         * charmaps/GB_1988-80: Likewise.
17679         * charmaps/GREEK-CCITT: Likewise.
17680         * charmaps/GREEK7: Likewise.
17681         * charmaps/INIS-8: Likewise.
17682         * charmaps/ISIRI-3342: Likewise.
17683         * charmaps/ISO_2033-1983: Likewise.
17684         * charmaps/ISO_5427-EXT: Likewise.
17685         * locales/POSIX: Likewise.
17686         * locales/ar_SA: Likewise.
17687         * locales/be_BY: Likewise.
17688         * locales/be_BY@latin: Likewise.
17689         * locales/ca_ES: Likewise.
17690         * locales/cs_CZ: Likewise.
17691         * locales/da_DK: Likewise.
17692         * locales/de_BE: Likewise.
17693         * locales/de_CH: Likewise.
17694         * locales/de_LU: Likewise.
17695         * locales/en_AU: Likewise.
17696         * locales/en_BW: Likewise.
17697         * locales/en_CA: Likewise.
17698         * locales/en_DK: Likewise.
17699         * locales/en_GB: Likewise.
17700         * locales/en_IE: Likewise.
17701         * locales/en_NZ: Likewise.
17702         * locales/en_ZA: Likewise.
17703         * locales/en_ZW: Likewise.
17704         * locales/es_AR: Likewise.
17705         * locales/es_BO: Likewise.
17706         * locales/es_CL: Likewise.
17707         * locales/es_CO: Likewise.
17708         * locales/es_DO: Likewise.
17709         * locales/es_EC: Likewise.
17710         * locales/es_ES: Likewise.
17711         * locales/es_HN: Likewise.
17712         * locales/es_MX: Likewise.
17713         * locales/es_PA: Likewise.
17714         * locales/es_PE: Likewise.
17715         * locales/es_PY: Likewise.
17716         * locales/es_SV: Likewise.
17717         * locales/es_US: Likewise.
17718         * locales/es_UY: Likewise.
17719         * locales/es_VE: Likewise.
17720         * locales/et_EE: Likewise.
17721         * locales/fa_IR: Likewise.
17722         * locales/fo_FO: Likewise.
17723         * locales/fr_CA: Likewise.
17724         * locales/fr_CH: Likewise.
17725         * locales/gv_GB: Likewise.
17726         * locales/he_IL: Likewise.
17727         * locales/hr_HR: Likewise.
17728         * locales/id_ID: Likewise.
17729         * locales/is_IS: Likewise.
17730         * locales/it_CH: Likewise.
17731         * locales/iw_IL: Likewise.
17732         * locales/kl_GL: Likewise.
17733         * locales/ko_KR: Likewise.
17734         * locales/kw_GB: Likewise.
17735         * locales/lg_UG: Likewise.
17736         * locales/lt_LT: Likewise.
17737         * locales/lv_LV: Likewise.
17738         * locales/mi_NZ: Likewise.
17739         * locales/nhn_MX: Likewise.
17740         * locales/nl_BE: Likewise.
17741         * locales/pl_PL: Likewise.
17742         * locales/sk_SK: Likewise.
17743         * locales/sl_SI: Likewise.
17744         * locales/sv_FI: Likewise.
17745         * locales/tl_PH: Likewise.
17746         * locales/tr_TR: Likewise.
17747         * locales/vi_VN: Likewise.
17749 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17751         [BZ #17475]
17752         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17753         of tu_IN and bh_IN.
17755 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17757         [BZ #18694]
17758         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17759         bits/wordsize.h.
17760         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17762 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17764         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17765         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17766         (spawn_thread): New function.
17767         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17768         (do_test): ... here.  Use IS_LOADED to test for its
17769         availability.
17771 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17773         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17775 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17777         [BZ #18696]
17778         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17779         si_addr_bnd.
17780         (si_lower): New.
17781         (si_upper): Likewise.
17783 2015-07-16  David S. Miller  <davem@davemloft.net>
17785         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17787 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17789         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17790         buffer.
17791         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17792         fail output information.
17794 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17797         and strstr-ppc64..
17798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17799         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17800         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17801         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17802         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17804 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17806         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17807         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17808         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17809         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17811 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17813         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17814         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17815         rtld_hidden_proto.
17816         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17818 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17820         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17821         the test can fail.
17823         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17825         [BZ #18676]
17826         * elf/tst-nodelete-opened.c: New test case.
17827         * elf/tst-nodelete-opened-lib.c: New test case module.
17828         * elf/Makefile (tests, modules-names): Use them.
17829         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17830         early.
17832 2015-07-15  David S. Miller  <davem@davemloft.net>
17834         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17835         futex-intenal.h
17836         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17837         * sysdeps/sparc/sparc64/Makefile: Likewise.
17838         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17839         Remove space from macro define.
17840         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17842 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17844         [BZ #17475]
17845         * locale/iso-639.def: Update Bhili and Tulu language codes as
17846         per iso639-3.
17848 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17850         * elf/tst-leaks1.c (main): Converted to ...
17851         (do_test): ... this.
17852         (TEST_FUNCTION): New macro.
17853         Include test-skeleton.c.
17854         * localedata/tst-langinfo.c (main): Converted to ...
17855         (do_test): ... this.
17856         (TEST_FUNCTION): New macro.
17857         Include test-skeleton.c.
17858         * math/test-fpucw.c (main): Converted to ...
17859         (do_test): ... this.
17860         (TEST_FUNCTION): New macro.
17861         Include test-skeleton.c.
17862         * math/test-tgmath.c (main): Converted to ...
17863         (do_test): ... this.
17864         (TEST_FUNCTION): New macro.
17865         Include test-skeleton.c.
17866         * math/test-tgmath2.c (main): Converted to ...
17867         (do_test): ... this.
17868         (TEST_FUNCTION): New macro.
17869         Include test-skeleton.c.
17870         * setjmp/tst-setjmp.c (main): Converted to ...
17871         (do_test): ... this.
17872         (TEST_FUNCTION): New macro.
17873         Include test-skeleton.c.
17874         * stdio-common/tst-sscanf.c (main): Converted to ...
17875         (do_test): ... this.
17876         (TEST_FUNCTION): New macro.
17877         Include test-skeleton.c.
17878         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17879         (do_test): ... this.
17880         (TEST_FUNCTION): New macro.
17881         Include test-skeleton.c.
17883         * elf/tst-audit9.c (main): Converted to ...
17884         (do_test): ... this.
17885         (TEST_FUNCTION): New macro.
17886         Include test-skeleton.c.
17888 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17890         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17892 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17894         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17895         New variable.
17897 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17899         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17901 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17903         * sysdeps/generic/dl-fileid.h: New file.
17904         * sysdeps/posix/dl-fileid.h: New file.
17905         * sysdeps/nacl/dl-fileid.h: New file.
17906         * include/link.h: Include <dl-fileid.h>.
17907         (struct link_map): Replace l_dev and l_ino with l_file_id.
17908         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17909         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17910         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17912 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17914         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17916 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17918         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17919         Add iff $CXX is set.
17920         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17921         Likewise.
17922         (tst-nodelete-zmodiff): Likewise.
17923         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17925 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17927         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17929 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17931         * sysdeps/aarch64/fpu/math_private.h
17932         (define math_opt_barrier): Add AArch64 version.
17933         (math_force_eval): Likewise.
17935 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17937         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17939 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17941         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17942         %ld with %jd and cast to intmax_t.
17943         (do_test_length_zero): Likewise.
17945 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17947         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17949 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17951         * sysdeps/tile/libm-test-ulps: Regenerated.
17953         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17954         Comment out the whole function, not just its body.
17956 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17958         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17959         locks.
17961         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17963 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17965         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17966         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17968 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17970         * sysdeps/nptl/futex-internal.h: New file.
17971         * sysdeps/nacl/futex-internal.h: New file.
17972         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17973         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17974         error checking.
17975         (setxid_unmark_thread): Likewise.
17976         (__nptl_setxid): Likewise.
17977         (__wait_lookup_done): Likewise.
17978         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17979         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17980         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17981         * nptl/pthread_once.c (clear_once_control): Likewise.
17982         (__pthread_once_slow): Likewise.
17983         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17984         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17985         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17986         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17987         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17988         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17989         Likewise.
17990         (__pthread_rwlock_rdlock): Likewise.
17991         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17992         Likewise.
17993         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17994         Likewise.
17995         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17996         Likewise.
17997         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17998         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17999         Likewise.
18000         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18001         __ASSUME_PRIVATE_FUTEX check.
18002         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18003         Check that shared futexes are supported.
18004         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18005         wrappers with error checking.
18006         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18007         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18008         * nptl/pthread_barrierattr_setpshared.c
18009         (pthread_barrierattr_setpshared): Check that shared futexes are
18010         supported.
18011         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18012         Likewise.
18013         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18014         Likewise.
18015         * nptl/sem_init.c (futex_private_if_supported): Remove.
18016         (__new_sem_init): Adapt and check that shared futexes are supported.
18017         * nptl/sem_open.c (sem_open): Likewise.
18018         * nptl/sem_post.c (futex_wake): Remove.
18019         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18020         (do_futex_wait): Use futex wrappers with error checking.
18021         * nptl/sem_wait.c: Include lowlevellock.h.
18022         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18023         Use futex_supports_pshared.
18024         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18025         Use futex wrappers with error checking.
18026         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18027         Likewise.
18028         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18029         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18030         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18031         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18032         (futex_wake): Likewise.
18033         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18034         (do_futex_wait): Use futex wrappers with error checking.
18035         (__new_sem_wait_slow): Update EINTR handling.
18036         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18038 2015-07-09  Martin Sebor  <msebor@redhat.com>
18040         [BZ #18435]
18041         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18042         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18043         * nptl/Makefile (test-xfail-tst-once5): Define.
18045 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18047         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18048         * elf/dl-minimal.c: For readability, reorder some definitions and
18049         introduce more page breaks.  Include <stdio.h>.
18050         (__libc_fatal): New function.
18052         * include/unistd.h: Add rtld_hidden_proto for _exit.
18053         * posix/_exit.c: Add rtld_hidden_def.
18054         * sysdeps/mach/hurd/_exit.c: Likewise.
18055         * sysdeps/nacl/_exit.c: Likewise.
18056         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18057         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18059 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18061         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18062         bndmov encoding with zero displacement.
18064 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18065             H.J. Lu  <hongjiu.lu@intel.com>
18067         [BZ #18134]
18068         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18069         * sysdeps/i386/configure: Regenerated.
18070         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18071         (_dl_runtime_profile): Save and restore Intel MPX return bound
18072         registers when calling _dl_call_pltexit.  Add
18073         PRESERVE_BND_REGS_PREFIX before return.
18074         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18075         (LRV_BND1_OFFSET): Likewise.
18076         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18077         lrv_bnd1.
18078         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18079         typo in bndmov encoding.
18080         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18081         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18082         branch instructions to preserve bounds.
18084 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18087         [GLIBC_2.22]: Add fmemopen.
18089 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18091         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18092         returns an error, also try to use host port from __mach_host_self for
18093         the __vm_wire call.
18094         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18096 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18098         [BZ #18400]
18099         [BZ #18648]
18100         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18101         Fix pr_uid and pr_gid members.
18102         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18103         definition to elf_greg_t.
18105 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18107         [BZ #18383]
18108         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18109         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18110         * sysdeps/arm/configure: Regenerated.
18111         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18112         (test-xfail-tst-tlsalign-static): Variable removed.
18114         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18115         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18116         rather than explicit 'ln -s'.
18118         * resolv/rpc/netdb.h: New file.
18119         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18121 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18123         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18124         length buffers.
18125         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18126         test-skeleton.c.
18128         [BZ #6544]
18129         [BZ #11216]
18130         [BZ #12836]
18131         [BZ #13151]
18132         [BZ #13152]
18133         [BZ #14292]
18134         * include/stdio.h (fmemopen): Remove hidden prototype.
18135         (__fmemopen): Add new hidden prototype.
18136         * libio/Makefile: Add oldfmemopen object.
18137         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18138         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18139         compliance.
18140         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18141         symbol compatibility.
18142         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18143         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18144         fmemopen.
18145         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18146         on append and read mode.
18147         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18148         fmemopen.
18149         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18150         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18151         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18152         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18153         Likewise.
18154         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18155         [GLIBC_2.22]: Likewise.
18156         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18157         Likewise.
18158         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18159         Likewise.
18160         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18161         [GLIBC_2.22]: Likewise.
18162         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18163         [GLIBC_2.22]: Likewise.
18164         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18165         [GLIBC_2.22]: Likewise.
18166         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18167         [GLIBC_2.22]: Likewise.
18168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18169         [GLIBC_2.22]: Likewise.
18170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18171         [GLIBC_2.22]: Likewise.
18172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18173         [GLIBC_2.22]: Likewise.
18174         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18175         Likewise.
18176         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18177         Likewise.
18178         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18179         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18180         [GLIBC_2.22]: Likewise.
18181         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18182         [GLIBC_2.22]: Likewise.
18183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18184         [GLIBC_2.22]: Likewise.
18185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18186         [GLIBC_2.22]: Likewise.
18187         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18188         Likewise.
18189         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18190         Likewise.
18191         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18192         Likewise.
18193         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18194         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18196 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18198         [BZ #18643]
18199         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18200         IPV6_PATHMTU, and IPV6_DONTFRAG.
18202 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18204         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18205         and _IO_UNBUFFERED.
18206         * libio/oldfileops.c: Likewise.
18207         * libio/wfileops.c: Likewise.
18209 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18211         * nscd/selinux.c: Delete selinux/flask.h include.
18213 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18215         [BZ #18641]
18216         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18217         (putpwent): Likewise.
18218         (getpwnam): Likewise.
18219         (getpwent_r): Likewise.
18220         (getpwuid_r): Likewise.
18221         (getpwnam_r): Likewise.
18222         (fgetpwent_r): Likewise.
18224 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18226         [BZ #18557]
18227         * inet/rcmd.c (__validuser2_sa): Check user first to
18228         short-circuit host check.
18230 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18231             Mikhail Ilin  <m.ilin@samsung.com>
18233         [BZ #17833]
18234         * elf/Makefile (tests): Add tst-nodelete.
18235         (modules-names): Add tst-nodelete-uniquemod.
18236         (tst-nodelete-uniquemod.so-no-z-defs): New.
18237         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18238         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18239         ($(objpfx)tst-nodelete): Likewise.
18240         ($(objpfx)tst-nodelete.out): Likewise.
18241         (LDFLAGS-tst-nodelete): Likewise.
18242         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18243         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18244         implement forced object deletion.
18245         (_dl_close): Pass false to _dl_close_worker.
18246         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18247         * elf/tst-nodelete.cc: New file.
18248         * elf/tst-nodeletelib.cc: Likewise.
18249         * elf/tst-znodeletelib.cc: Likewise.
18250         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18252 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18254         [BZ #18508]
18255         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18256         Depend on $(libdl).
18257         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18258         is not called infinitely times.
18259         (backtrace_helper): New function.
18260         (trace_arg): New struct.
18261         (st1): Enlarge stack size.
18262         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18263         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18264         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18265         Likewise.
18267 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18269         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18271 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18273         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18274         Include sys/types.h instead of bits/types.h.
18275         Remove inclusion of bits/wordsize.h.
18277 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18279         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18280         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18281         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18282         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18283         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18284         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18286 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18288         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18289         link-defines.sym.
18290         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18291         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18292         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18293         and LR_SIZE.
18294         * sysdeps/i386/link-defines.sym: New file.
18296 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18298         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18299         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18300         ($(objpfx)tst-audit3): New rule.
18301         ($(objpfx)tst-audit3.out): Likewise.
18302         * sysdeps/i386/tst-audit3.c: New file.
18303         * sysdeps/i386/tst-audit3.h: Likewise.
18304         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18305         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18307 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18309         [BZ #18633]
18310         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18311         pointer in C code.
18312         (__strcat_c): Likewise.
18313         (__strcat_g): Likewise.
18315 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18317         [BZ #18592]
18318         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18320 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18322         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18323         New function.  (__ieee754_sqrtf): New function.
18324         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18325         New function.
18326         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18327         New function.
18329 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18331         * sysdeps/ieee754/support.c: Remove unused file.
18333 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18335         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18336         registers instead of d ones so the layout is kernel abi compatible.
18337         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18338         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18339         Likewise.
18341 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18343         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18345 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18347         [BZ #18619]
18348         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18349         and return argument in case of subnormal argument.
18351 2015-07-01  Martin Sebor  <msebor@redhat.com>
18353         [BZ #18435]
18354         * nptl/Makefile: Add tst-once5.cc.
18355         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18356         Remove macro redefinitions.
18357         * nptl/tst-once5.cc: New test.
18359 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18361         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18363         * sysdeps/arm/libm-test-ulps: Regenerated.
18365         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18366         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18368 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18370         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18371         lll_lock_wait_private and lll_futex_wake probes.
18373         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18374         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18375         Likewise.
18376         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18377         atomic_spin_nop.
18378         * sysdeps/x86_64/bits/atomic.h: Likewise.
18379         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18380         to atomic_spin_nop and move ...
18381         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18382         ... here and ...
18383         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18384         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18385         atomic_spin_nop instead of BUSY_WAIT_NOP.
18386         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18387         Likewise.
18388         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18389         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18390         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18391         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18392         instead of atomic_delay.
18394 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18396         [BZ #18613]
18397         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18398         X_ADJ not X when adjusting exponent.
18399         (__ieee754_gamma_r): Do intermediate computations in
18400         round-to-nearest then adjust overflowing and underflowing results
18401         as needed.
18402         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18403         of X_ADJ not X when adjusting exponent.
18404         (__ieee754_gammaf_r): Do intermediate computations in
18405         round-to-nearest then adjust overflowing and underflowing results
18406         as needed.
18407         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18408         log of X_ADJ not X when adjusting exponent.
18409         (__ieee754_gammal_r): Do intermediate computations in
18410         round-to-nearest then adjust overflowing and underflowing results
18411         as needed.  Use 1.0L not 1.0f as numerator of division.
18412         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18413         log of X_ADJ not X when adjusting exponent.
18414         (__ieee754_gammal_r): Do intermediate computations in
18415         round-to-nearest then adjust overflowing and underflowing results
18416         as needed.  Use 1.0L not 1.0f as numerator of division.
18417         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18418         of X_ADJ not X when adjusting exponent.
18419         (__ieee754_gammal_r): Do intermediate computations in
18420         round-to-nearest then adjust overflowing and underflowing results
18421         as needed.  Use 1.0L not 1.0f as numerator of division.
18422         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18423         to auto-libm-test-in.
18424         (tgamma_test): Use ALL_RM_TEST.
18425         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18426         tests of tgamma with spurious-overflow.
18427         * math/auto-libm-test-out: Regenerated.
18428         * math/gen-libm-have-vector-test.sh: Do not check for START.
18429         * sysdeps/i386/fpu/libm-test-ulps: Update.
18430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18432         [BZ #18612]
18433         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18434         arguments, just return 0.5 times the argument, with underflow
18435         forced as needed.
18436         * math/auto-libm-test-in: Add more tests of j1.
18437         * math/auto-libm-test-out: Regenerated.
18439         [BZ #16559]
18440         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18441         (__ieee754_j1): Force underflow exception for small results.
18442         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18443         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18444         (__ieee754_j1f): Force underflow exception for small results.
18445         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18446         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18447         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18448         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18449         (__ieee754_j1l): Force underflow exception for small results.
18450         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18451         * math/auto-libm-test-in: Add more tests of j1 and jn.
18452         * math/auto-libm-test-out: Regenerated.
18454         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18455         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18456         (PF_MPLS): Likewise.
18457         (AF_IB): Likewise.
18458         (AF_MPLS): Likewise.
18459         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18460         value and macro.
18461         (MS_RMT_MASK): Include MS_LAZYTIME.
18463 2015-06-26  Mel Gorman  <mgorman@suse.de>
18465         [BZ #18502]
18466         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18467         already minimal.
18469 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18471         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18472         (DT_MIPS_NUM): Update.
18473         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18474         DT_MIPS_RLD_MAP_REL.
18476 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18478         [BZ #16559]
18479         [BZ #18602]
18480         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18481         round-to-nearest internally then recompute results that
18482         underflowed to zero in the original rounding mode.
18483         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18484         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18486         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18487         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18488         * sysdeps/i386/fpu/libm-test-ulps: Update.
18489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18491 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18493         * NEWS: Fixed description of link with vector math library.
18495 2015-06-25  Andreas Schwab  <schwab@suse.de>
18497         [BZ #18549]
18498         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18499         * libio/test-fmemopen.c (do_test): Add test for it.
18501 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18503         [BZ #17841]
18504         * Makeconfig (no-pie-ldflag): New.
18505         (+link): Set to $(+link-pie) if default to PIE.
18506         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18507         * config.make.in (build-pie-default): New.
18508         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18509         is default.  AC_SUBST.
18510         * configure: Regenerated.
18511         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18513 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18515         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18516         to 'unsigned int'.
18518         * resolv/gai_misc.h (struct waitlist): Change type of field
18519         counterp to 'volatile unsigned int *'.
18520         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18521         FUTEXADDR and OLDVAL.
18522         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18523         Give local variable TOTAL type 'volatile unsigned int'.
18524         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18525         * resolv/gai_suspend.c (gai_suspend):
18526         Give local variable CNTR type 'unsigned int'.
18528         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18529         counterp to 'volatile unsigned int *'.
18530         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18531         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18532         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18533         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18534         Give local variable TOTAL type 'volatile unsigned int'.
18535         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18537 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18539         [BZ #18383]
18540         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18541         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18542         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18543         comment for i386/x86-64.
18544         (test-xfail-tst-tlsalign-extern-static): Removed.
18546 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18548         * math/test-double.h: New file.
18549         * math/test-float.h: Likewise.
18550         * math/test-ldouble.h: Likewise.
18551         * math/test-math-inline.h: Likewise.
18552         * math/test-math-no-inline.h: Likewise.
18553         * math/test-math-scalar.h: Likewise.
18554         * math/test-math-vector.h: Likewise.
18555         * math/test-vec-loop.h: Remove file.  Contents moved into
18556         test-math-vector.h.
18557         * math/libm-test.inc (MATHCONST): Do not document macro.
18558         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18559         and test-math-scalar.h.
18560         (FUNC): Remove macro.
18561         (FUNC_TEST): Likewise.
18562         (FLOAT): Likewise.
18563         (MATHCONST): Likewise.
18564         (PRINTF_EXPR): Likewise.
18565         (PRINTF_XEXPR): Likewise.
18566         (PRINTF_NEXPR): Likewise.
18567         (TEST_DOUBLE): Likewise.
18568         (TEST_MATHVEC): Likewise.
18569         (__NO_MATH_INLINES): Likewise.
18570         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18571         and test-math-scalar.h.
18572         (FUNC): Remove macro.
18573         (FUNC_TEST): Likewise.
18574         (FLOAT): Likewise.
18575         (MATHCONST): Likewise.
18576         (PRINTF_EXPR): Likewise.
18577         (PRINTF_XEXPR): Likewise.
18578         (PRINTF_NEXPR): Likewise.
18579         (TEST_FLOAT): Likewise.
18580         (TEST_MATHVEC): Likewise.
18581         (__NO_MATH_INLINES): Likewise.
18582         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18583         and test-math-scalar.h.
18584         (FUNC): Remove macro.
18585         (FUNC_TEST): Likewise.
18586         (FLOAT): Likewise.
18587         (MATHCONST): Likewise.
18588         (PRINTF_EXPR): Likewise.
18589         (PRINTF_XEXPR): Likewise.
18590         (PRINTF_NEXPR): Likewise.
18591         (TEST_DOUBLE): Likewise.
18592         (TEST_MATHVEC): Likewise.
18593         (TEST_INLINE): Likewise.
18594         (__NO_MATH_INLINES): Likewise.
18595         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18596         test-math-scalar.h.
18597         (FUNC): Remove macro.
18598         (FUNC_TEST): Likewise.
18599         (FLOAT): Likewise.
18600         (MATHCONST): Likewise.
18601         (PRINTF_EXPR): Likewise.
18602         (PRINTF_XEXPR): Likewise.
18603         (PRINTF_NEXPR): Likewise.
18604         (TEST_FLOAT): Likewise.
18605         (TEST_MATHVEC): Likewise.
18606         (TEST_INLINE): Likewise.
18607         (__NO_MATH_INLINES): Likewise.
18608         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18609         and test-math-scalar.h.
18610         (FUNC): Remove macro.
18611         (FUNC_TEST): Likewise.
18612         (FLOAT): Likewise.
18613         (MATHCONST): Likewise.
18614         (PRINTF_EXPR): Likewise.
18615         (PRINTF_XEXPR): Likewise.
18616         (PRINTF_NEXPR): Likewise.
18617         (TEST_LDOUBLE): Likewise.
18618         (TEST_MATHVEC): Likewise.
18619         (TEST_INLINE): Likewise.
18620         (__NO_MATH_INLINES): Likewise.
18621         * math/test-ldouble.c: Include test-ldouble.h,
18622         test-math-no-inline.h and test-math-scalar.h.
18623         (FUNC): Remove macro.
18624         (FUNC_TEST): Likewise.
18625         (FLOAT): Likewise.
18626         (MATHCONST): Likewise.
18627         (PRINTF_EXPR): Likewise.
18628         (PRINTF_XEXPR): Likewise.
18629         (PRINTF_NEXPR): Likewise.
18630         (TEST_LDOUBLE): Likewise.
18631         (TEST_MATHVEC): Likewise.
18632         (__NO_MATH_INLINES): Likewise.
18633         * math/test-double-vlen2.h: Include test-double.h,
18634         test-math-no-inline.h and test-math-vector.h.
18635         (FLOAT): Remove macro.
18636         (FUNC): Likewise.
18637         (MATHCONST): Likewise.
18638         (PRINTF_EXPR): Likewise.
18639         (PRINTF_XEXPR): Likewise.
18640         (PRINTF_NEXPR): Likewise.
18641         (TEST_DOUBLE): Likewise.
18642         (TEST_MATHVEC): Likewise.
18643         (__NO_MATH_INLINES): Likewise.
18644         (CNCT): Likewise.
18645         (CONCAT): Likewise.
18646         (WRAPPER_NAME): Likewise.
18647         (WRAPPER_DECL): Likewise.
18648         (WRAPPER_DECL_ff): Likewise.
18649         (WRAPPER_DECL_fFF): Likewise.
18650         (VECTOR_WRAPPER): Likewise.
18651         (VECTOR_WRAPPER_ff): Likewise.
18652         (VECTOR_WRAPPER_fFF): Likewise.
18653         (VEC_LEN): New macro.
18654         * math/test-double-vlen4.h: Include test-double.h,
18655         test-math-no-inline.h and test-math-vector.h.
18656         (FLOAT): Remove macro.
18657         (FUNC): Likewise.
18658         (MATHCONST): Likewise.
18659         (PRINTF_EXPR): Likewise.
18660         (PRINTF_XEXPR): Likewise.
18661         (PRINTF_NEXPR): Likewise.
18662         (TEST_DOUBLE): Likewise.
18663         (TEST_MATHVEC): Likewise.
18664         (__NO_MATH_INLINES): Likewise.
18665         (CNCT): Likewise.
18666         (CONCAT): Likewise.
18667         (WRAPPER_NAME): Likewise.
18668         (WRAPPER_DECL): Likewise.
18669         (WRAPPER_DECL_ff): Likewise.
18670         (WRAPPER_DECL_fFF): Likewise.
18671         (VECTOR_WRAPPER): Likewise.
18672         (VECTOR_WRAPPER_ff): Likewise.
18673         (VECTOR_WRAPPER_fFF): Likewise.
18674         (VEC_LEN): New macro.
18675         * math/test-double-vlen8.h: Include test-double.h,
18676         test-math-no-inline.h and test-math-vector.h.
18677         (FLOAT): Remove macro.
18678         (FUNC): Likewise.
18679         (MATHCONST): Likewise.
18680         (PRINTF_EXPR): Likewise.
18681         (PRINTF_XEXPR): Likewise.
18682         (PRINTF_NEXPR): Likewise.
18683         (TEST_DOUBLE): Likewise.
18684         (TEST_MATHVEC): Likewise.
18685         (__NO_MATH_INLINES): Likewise.
18686         (CNCT): Likewise.
18687         (CONCAT): Likewise.
18688         (WRAPPER_NAME): Likewise.
18689         (WRAPPER_DECL): Likewise.
18690         (WRAPPER_DECL_ff): Likewise.
18691         (WRAPPER_DECL_fFF): Likewise.
18692         (VECTOR_WRAPPER): Likewise.
18693         (VECTOR_WRAPPER_ff): Likewise.
18694         (VECTOR_WRAPPER_fFF): Likewise.
18695         (VEC_LEN): New macro.
18696         * math/test-float-vlen4.h: Include test-float.h,
18697         test-math-no-inline.h and test-math-vector.h.
18698         (FLOAT): Remove macro.
18699         (FUNC): Likewise.
18700         (MATHCONST): Likewise.
18701         (PRINTF_EXPR): Likewise.
18702         (PRINTF_XEXPR): Likewise.
18703         (PRINTF_NEXPR): Likewise.
18704         (TEST_FLOAT): Likewise.
18705         (TEST_MATHVEC): Likewise.
18706         (__NO_MATH_INLINES): Likewise.
18707         (CNCT): Likewise.
18708         (CONCAT): Likewise.
18709         (WRAPPER_NAME): Likewise.
18710         (WRAPPER_DECL): Likewise.
18711         (WRAPPER_DECL_ff): Likewise.
18712         (WRAPPER_DECL_fFF): Likewise.
18713         (VECTOR_WRAPPER): Likewise.
18714         (VECTOR_WRAPPER_ff): Likewise.
18715         (VECTOR_WRAPPER_fFF): Likewise.
18716         (VEC_LEN): New macro.
18717         * math/test-float-vlen8.h: Include test-float.h,
18718         test-math-no-inline.h and test-math-vector.h.
18719         (FLOAT): Remove macro.
18720         (FUNC): Likewise.
18721         (MATHCONST): Likewise.
18722         (PRINTF_EXPR): Likewise.
18723         (PRINTF_XEXPR): Likewise.
18724         (PRINTF_NEXPR): Likewise.
18725         (TEST_FLOAT): Likewise.
18726         (TEST_MATHVEC): Likewise.
18727         (__NO_MATH_INLINES): Likewise.
18728         (CNCT): Likewise.
18729         (CONCAT): Likewise.
18730         (WRAPPER_NAME): Likewise.
18731         (WRAPPER_DECL): Likewise.
18732         (WRAPPER_DECL_ff): Likewise.
18733         (WRAPPER_DECL_fFF): Likewise.
18734         (VECTOR_WRAPPER): Likewise.
18735         (VECTOR_WRAPPER_ff): Likewise.
18736         (VECTOR_WRAPPER_fFF): Likewise.
18737         (VEC_LEN): New macro.
18738         * math/test-float-vlen16.h: Include test-float.h,
18739         test-math-no-inline.h and test-math-vector.h.
18740         (FLOAT): Remove macro.
18741         (FUNC): Likewise.
18742         (MATHCONST): Likewise.
18743         (PRINTF_EXPR): Likewise.
18744         (PRINTF_XEXPR): Likewise.
18745         (PRINTF_NEXPR): Likewise.
18746         (TEST_FLOAT): Likewise.
18747         (TEST_MATHVEC): Likewise.
18748         (__NO_MATH_INLINES): Likewise.
18749         (CNCT): Likewise.
18750         (CONCAT): Likewise.
18751         (WRAPPER_NAME): Likewise.
18752         (WRAPPER_DECL): Likewise.
18753         (WRAPPER_DECL_ff): Likewise.
18754         (WRAPPER_DECL_fFF): Likewise.
18755         (VECTOR_WRAPPER): Likewise.
18756         (VECTOR_WRAPPER_ff): Likewise.
18757         (VECTOR_WRAPPER_fFF): Likewise.
18758         (VEC_LEN): New macro.
18759         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18760         test-vec-loop.h.
18761         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18762         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18763         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18764         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18765         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18766         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18767         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18769 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18771         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18772         (__getlogin_r): ... this.
18774 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18776         [BZ #18594]
18777         * math/s_ccosh.c (__ccosh): Compare with least normal value
18778         instead of comparing class with FP_SUBNORMAL.
18779         * math/s_ccoshf.c (__ccoshf): Likewise.
18780         * math/s_ccoshl.c (__ccoshl): Likewise.
18781         * math/s_cexp.c (__cexp): Likewise.
18782         * math/s_cexpf.c (__cexpf): Likewise.
18783         * math/s_cexpl.c (__cexpl): Likewise.
18784         * math/s_csin.c (__csin): Likewise.
18785         * math/s_csinf.c (__csinf): Likewise.
18786         * math/s_csinh.c (__csinh): Likewise.
18787         * math/s_csinhf.c (__csinhf): Likewise.
18788         * math/s_csinhl.c (__csinhl): Likewise.
18789         * math/s_csinl.c (__csinl): Likewise.
18790         * math/s_ctan.c (__ctan): Likewise.
18791         * math/s_ctanf.c (__ctanf): Likewise.
18792         * math/s_ctanh.c (__ctanh): Likewise.
18793         * math/s_ctanhf.c (__ctanhf): Likewise.
18794         * math/s_ctanhl.c (__ctanhl): Likewise.
18795         * math/s_ctanl.c (__ctanl): Likewise.
18796         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18797         csin, csinh, ctan and ctanh.
18798         * math/auto-libm-test-out: Regenerated.
18799         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18800         * sysdeps/i386/fpu/libm-test-ulps: Update.
18801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18803 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18805         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18806         return value is wrong, print the expected value too.
18808 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18810         [BZ #18585]
18811         * elf/readlib.c (is_gdb_python_file): New.
18812         (process_file): Don't issue errors on filenames with -gdb.py
18813         suffix.
18815 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18817         * math/auto-libm-test-in: Add more tests of csin and csinh.
18818         * math/auto-libm-test-out: Regenerated.
18819         * math/libm-test.inc (csin_test_data): Remove tests moved to
18820         auto-libm-test-in.
18821         (csinh_test_data): Likewise.
18823         [BZ #18593]
18824         * math/s_csin.c (__csin): Negate before rather than after possibly
18825         overflowing multiplication.
18826         * math/s_csinf.c (__csinf): Likewise.
18827         * math/s_csinh.c (__csinh): Likewise.
18828         * math/s_csinhf.c (__csinhf): Likewise.
18829         * math/s_csinhl.c (__csinhl): Likewise.
18830         * math/s_csinl.c (__csinl): Likewise.
18831         * math/auto-libm-test-in: Add some tests of csin and csinh.
18832         * math/auto-libm-test-out: Regenerated.
18833         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18834         (csinh_test_data): Likewise.
18835         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18837         [BZ #18586]
18838         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18839         underflow exception for small results.
18841 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18843         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18844         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18845         variable and included header.
18846         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18847         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18848         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18849         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18850         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18851         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18852         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18853         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18854         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18855         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18856         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18857         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18858         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18859         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18860         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18861         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18863 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18865         [BZ #16526]
18866         [BZ #16538]
18867         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18868         (__sin): Force underflow exception for arguments with small
18869         absolute value.
18870         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18871         (__kernel_sinf): Force underflow exception for arguments with
18872         small absolute value.
18873         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18874         (__kernel_sincosl): Force underflow exception for arguments with
18875         small absolute value.
18876         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18877         (__kernel_sinl): Force underflow exception for arguments with
18878         small absolute value.
18879         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18880         (__kernel_sincosl): Force underflow exception for arguments with
18881         small absolute value.
18882         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18883         (__kernel_sinl): Force underflow exception for arguments with
18884         small absolute value.
18885         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18886         (__kernel_sinl): Force underflow exception for arguments with
18887         small absolute value.
18888         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18889         (__kernel_sinf): Force underflow exception for arguments with
18890         small absolute value.
18891         * math/auto-libm-test-in: Add more tests of sin and sincos.
18892         * math/auto-libm-test-out: Regenerated.
18894         [BZ #18245]
18895         [BZ #18583]
18896         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18897         (__kernel_standard_l): Use feholdexcept and fesetenv around
18898         conversion to double instead of special-casing overflow and
18899         underflow.
18900         * math/libm-test.inc (fmod_test_data): Add more tests.
18901         (remainder_test_data): Likewise.
18902         (sqrt_test_data): Likewise.
18904 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18906         [BZ #17403]
18907         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18908         atomic_read_barrier, atomic_write_barrier): Define.
18909         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18910         atomic_read_barrier, atomic_write_barrier): Define.
18912 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18914         * math/Makefile [$(PERL) != no]
18915         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18916         dependency on libm-test.stmp below the inclusion of Rules.
18918 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18920         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18921         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18922         and included header.
18923         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18924         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18925         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18926         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18927         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18928         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18929         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18930         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18931         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18932         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18933         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18934         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18935         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18936         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18937         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18938         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18939         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18940         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18941         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18943 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18945         [BZ #18371]
18946         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18947         intermediate but not final result might underflow.
18948         * math/s_csqrtf.c (__csqrtf): Likewise.
18949         * math/s_csqrtl.c (__csqrtl): Likewise.
18950         * math/auto-libm-test-in: Add more tests of csqrt.
18951         * math/auto-libm-test-out: Regenerated.
18952         * sysdeps/i386/fpu/libm-test-ulps: Update.
18954         [BZ #18219]
18955         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18956         threshold on absolute value of exponent for which scaling is used.
18957         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18958         * math/auto-libm-test-in: Add more tests of exp2.
18959         * math/auto-libm-test-out: Regenerated.
18961 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18963         [BZ #17977]
18964         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18965         when initializing interface list, based on the bug analysis
18966         and the patch proposed by Eric Newton.
18967         * resolv/tst-res_hconf_reorder.c: New test.
18968         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18969         tst-res_hconf_reorder.
18970         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18971         and $(shared-thread-library).
18972         (tst-res_hconf_reorder-ENV): New variable.
18974         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18975         in comment.
18977 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18979         [BZ #16353]
18980         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18981         (__expm1): Force underflow exception for arguments with small
18982         absolute value.
18983         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18984         (__expm1f): Force underflow exception for arguments with small
18985         absolute value.
18986         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18987         (__expm1): Force underflow exception for arguments with small
18988         absolute value.
18989         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18990         (__expm1f): Force underflow exception for arguments with small
18991         absolute value.
18992         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18993         Check for small arguments before calling __expm1.
18994         * math/auto-libm-test-in: Do not mark underflow exceptions as
18995         possibly missing for bug 16353.
18996         * math/auto-libm-test-out: Regenerated.
18998 2015-06-22  Andreas Schwab  <schwab@suse.de>
19000         [BZ #18513]
19001         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19002         PTR queries.
19004 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19006         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19008         * string/strcoll_l.c: Remove unused struct element idxnow.
19010 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19012         [BZ #18569]
19013         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19014         underflow and return argument in case of subnormal argument.
19015         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19016         Likewise.
19017         * math/auto-libm-test-in: Add more tests of expm1.
19018         * math/auto-libm-test-out: Regenerated.
19020         [BZ #16361]
19021         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19022         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19023         tiny results.
19024         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19025         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19026         tiny results.
19027         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19028         mark underflow exceptions as possibly missing for bug 16361.
19029         * math/auto-libm-test-out: Regenerated.
19031 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19033         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19034         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19035         Remove variable.
19036         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19037         (test-xfail-XOPEN2K8/utmpx.h/conform).
19039         * conform/conformtest.pl ($xerrors): New variable.
19040         (note_error): New function.
19041         (compiletest): New argument $xfail.  Use not_error.
19042         (runtest): Likewise.
19043         (top level): Handle xfail- lines.  Update calls to compiletest and
19044         runtest.  Handle xfail- and optional- in headers listed with
19045         allow-header.
19046         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19047         (O_EXEC): Likewise.
19048         (O_SEARCH): Likewise.
19049         * conform/data/stropts.h-data (ioctl): Likewise.
19050         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19051         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19052         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19053         (msghdr.msg_controllen): Likewise.
19054         (cmsghdr.cmsg_len): Likewise.
19055         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19056         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19057         variable.
19058         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19059         (test-xfail-XPG4/stropts.h/conform): Likewise.
19060         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19061         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19062         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19063         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19064         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19065         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19066         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19067         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19068         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19069         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19070         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19071         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19072         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19073         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19074         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19075         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19076         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19077         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19078         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19080 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19082         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19083         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19084         definitions for proper unfolding of __MATHDECL_VEC.
19086 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19088         * benchtests/bench-strcoll.c:
19089         Include string.h.
19090         (main): Remove unused variable res.
19092 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19094         * timezone/Makefile (%/UTC %/Universal):
19095         Generate test-result files for UTC and Universal.
19097 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19099         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19101 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19103         [BZ #16350]
19104         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19105         for arguments with small absolute value.
19106         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19107         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19108         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19109         (__asinh): Force underflow exception for arguments with small
19110         absolute value.
19111         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19112         (__asinhf): Force underflow exception for arguments with small
19113         absolute value.
19114         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19115         (__asinhl): Force underflow exception for arguments with small
19116         absolute value.
19117         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19118         (__asinhl): Force underflow exception for arguments with small
19119         absolute value.
19120         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19121         (__asinhl): Force underflow exception for arguments with small
19122         absolute value.
19123         * math/auto-libm-test-in: Do not mark underflow exceptions as
19124         possibly missing for bug 16350.
19125         * math/auto-libm-test-out: Regenerated.
19127         * include/bits/ipc.h: Remove file.
19128         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19129         variable.
19130         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19131         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19132         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19133         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19134         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19135         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19136         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19137         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19138         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19140         * math/auto-libm-test-in: Remove spurious underflow allowance for
19141         tests of cexp.
19142         * math/auto-libm-test-out: Regenerated.
19144         [BZ #18558]
19145         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19146         unconditional definition.
19147         (MCAST_BLOCK_SOURCE): Likewise.
19148         (MCAST_UNBLOCK_SOURCE): Likewise.
19149         (MCAST_LEAVE_GROUP): Likewise.
19150         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19151         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19152         (MCAST_MSFILTER): Likewise.
19153         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19154         Remove variable.
19155         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19156         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19157         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19158         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19159         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19161 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19163         * NEWS: Mention addition of x86_64 vector sincosf.
19164         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19165         * math/test-float-vlen4.h: Likewise.
19166         * math/test-float-vlen8.h: Likewise.
19167         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19168         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19169         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19170         * sysdeps/x86_64/fpu/Versions: New versions added.
19171         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19172         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19173         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19174         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19175         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19176         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19177         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19178         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19179         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19180         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19181         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19182         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19183         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19184         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19185         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19186         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19187         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19188         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19189         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19190         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19191         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19192         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19193         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19194         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19196         * NEWS: Mention addition of x86_64 vector sincos.
19197         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19198         * math/math.h (__MATHDECL_VEC): New macro.
19199         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19200         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19201         declaration under condition.
19202         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19203         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19204         TEST_VEC_LOOP change.
19205         * math/test-double-vlen4.h: Likewise.
19206         * math/test-double-vlen8.h: Likewise.
19207         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19208         * math/test-float-vlen4.h: Likewise.
19209         * math/test-float-vlen8.h: Likewise.
19210         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19211         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19212         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19213         * sysdeps/x86_64/fpu/Versions: New versions added.
19214         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19215         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19216         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19217         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19218         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19219         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19220         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19221         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19222         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19223         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19224         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19225         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19226         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19227         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19228         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19229         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19230         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19231         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19232         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19233         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19234         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19235         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19236         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19237         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19239         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19240         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19241         redirections for powf.
19242         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19243         * sysdeps/x86_64/fpu/Versions: New versions added.
19244         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19245         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19246         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19247         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19248         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19249         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19250         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19251         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19252         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19253         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19254         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19255         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19256         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19257         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19258         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19259         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19260         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19261         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19262         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19263         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19264         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19265         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19266         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19267         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19268         * math/test-float-vlen16.h: Fixed 2 argument macro.
19269         * math/test-float-vlen4.h: Likewise.
19270         * math/test-float-vlen8.h: Likewise.
19271         * NEWS: Mention addition of x86_64 vector powf.
19273 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19275         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19276         and redefine.
19277         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19278         and redefine.
19279         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19280         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19281         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19283         [BZ #18553]
19284         * resource/getpriority.c (getpriority): Rename to __getpriority
19285         and define as weak alias of __getpriority.
19286         * resource/setpriority.c (setpriority): Rename to __setpriority
19287         and define as weak alias of __setpriority.
19288         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19289         __getpriority and define as weak alias of __getpriority.
19290         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19291         __setpriority and define as weak alias of __setpriority.
19292         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19293         strong name.
19294         (setpriority): Use __setpriority as strong name.
19295         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19296         __getpriority and define as weak alias of __getpriority.
19297         * include/sys/resource.h (__getpriority): Declare.  Use
19298         libc_hidden_proto.
19299         (__setpriority): Likewise.
19300         (getpriority): Don't use libc_hidden_proto.
19301         (setpriority): Likewise.
19302         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19303         getpriority.  Call __setpriority instead of setpriority.
19304         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19305         Remove variable.
19307         [BZ #18547]
19308         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19309         as weak alias of __getttynam.  Use prototype function definition.
19310         Call __setttyent, __getttyent and __endttyent instead of
19311         setttyent, getttyent and endttyent.
19312         (getttyent): Rename to __getttyent and define as weak alias of
19313         __getttyent.  Call __setttyent instead of setttyent.  Call
19314         __fgets_unlocked instead of fgets_unlocked.
19315         (setttyent): Rename to __setttyent and define as weak alias of
19316         __setttyent.
19317         (endttyent): Rename to __endttyent and define as weak alias of
19318         __endttyent.
19319         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19320         (__setttyent): Likewise.
19321         (__endttyent): Likewise.
19322         (getttyent): Don't use libc_hidden_proto.
19323         (setttyent): Likewise.
19324         (endttyent): Likewise.
19325         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19326         __endttyent instead of setttyent, getttyent and endttyent.
19327         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19328         Remove variable.
19330         [BZ #18546]
19331         * socket/recv.c (__recv): Use libc_hidden_def.
19332         * socket/socket.c (__socket): Likewise.
19333         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19334         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19335         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19336         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19337         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19338         libc_hidden_def.
19339         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19340         libc_hidden_weak.
19341         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19342         Use libc_hidden_proto.
19343         (__recv): Likewise.
19344         * socket/Versions (libc): Export __recv and __socket at version
19345         GLIBC_PRIVATE.
19346         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19347         instead of recv.
19348         (init_mq_netlink): Call __socket instead of socket.
19349         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19350         Remove variable.
19352         [BZ #18545]
19353         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19354         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19355         hidden_weak.
19356         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19357         define as alias of __mq_timedsend.  Use hidden_weak.
19358         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19359         __mq_timedsend as strong name.
19360         (mq_timedreceive): Use __mq_timedreceive as strong name.
19361         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19362         (__mq_timedreceive): Likewise.
19363         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19364         __mq_timedreceive instead of mq_timedreceive.
19365         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19366         instead of mq_timedsend.
19367         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19368         Remove variable.
19370         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19371         hidden_def and hidden_weak instead of libc_hidden_def and
19372         libc_hidden_weak.
19373         (top level): Refer to hidden_def in comment.
19374         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19375         macro.  Use it instead of libc_hidden_def.
19376         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19377         specify __GI_* name explicitly.
19378         (mq_timedreceive): Likewise.
19379         (mq_setattr): Likewise.
19381         [BZ #18544]
19382         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19383         __pthread_barrier_init and define as weak alias of
19384         __pthread_barrier_init.
19385         * sysdeps/sparc/nptl/pthread_barrier_init.c
19386         (pthread_barrier_init): Likewise.
19387         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19388         __pthread_barrier_wait and define as weak alias of
19389         __pthread_barrier_wait.
19390         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19391         (pthread_barrier_wait): Likewise.
19392         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19393         (pthread_barrier_wait): Likewise.
19394         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19395         (pthread_barrier_wait): Likewise.
19396         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19397         (pthread_barrier_wait): Likewise.
19398         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19399         __pthread_barrier_wait at version GLIBC_PRIVATE.
19400         * include/pthread.h (__pthread_barrier_init): Declare.
19401         (__pthread_barrier_wait): Likewise.
19402         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19403         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19404         (helper_thread): Likewise.
19405         (init_mq_netlink): Call __pthread_barrier_init instead of
19406         pthread_barrier_init.
19408         [BZ #18542]
19409         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19410         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19411         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19412         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19413         vswscanf.
19414         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19415         Remove variable.
19417         [BZ #18540]
19418         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19419         strong alias of _IO_fflush.  Use libc_hidden_def.
19420         * libio/iofflush_u.c (fflush_unlocked): Rename to
19421         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19422         Use libc_hidden_weak.
19423         * include/stdio.h (__fflush_unlocked): Declare.  Use
19424         libc_hidden_proto.
19425         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19426         fflush_unlocked.
19427         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19428         Remove variable.
19430         [BZ #18539]
19431         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19432         define as weak alias of __addseverity.
19433         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19434         Remove variable.
19435         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19436         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19437         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19439         [BZ #18536]
19440         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19441         (__tfind): Likewise.
19442         (__tdelete): Likewise.
19443         (__twalk): Likewise.
19444         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19445         __twalk to GLIBC_PRIVATE.
19446         * include/search.h (__tsearch): Use libc_hidden_proto.
19447         (__tfind): Likewise.
19448         (__tdelete): Likewise.
19449         (__twalk): Likewise.
19450         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19451         Call __tdelete instead of tdelete.
19452         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19453         tfind.  Call __tsearch instead of tsearch.
19454         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19455         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19456         Remove variable.
19457         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19459         [BZ #18534]
19460         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19461         (dprintf): Define as a weak alias of __dprintf, not a strong
19462         alias.
19463         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19464         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19465         dprintf.
19466         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19467         Remove variable.
19468         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19469         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19471         [BZ #18533]
19472         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19473         not a strong alias.
19474         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19475         Remove variable.
19477         [BZ #18532]
19478         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19479         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19480         (in6addr_loopback): Rename to __in6addr_loopback and define as
19481         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19482         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19483         libc_hidden_proto.
19484         (__in6addr_any): Likewise.
19485         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19486         in6addr_any.
19487         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19488         variable.
19489         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19491 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19493         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19494         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19495         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19496         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19497         redirections for pow.
19498         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19499         * sysdeps/x86_64/fpu/Versions: New versions added.
19500         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19501         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19502         build of SSE, AVX2 and AVX512 IFUNC versions.
19503         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19504         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19505         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19506         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19507         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19508         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19509         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19510         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19511         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19512         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19513         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19514         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19515         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19516         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19517         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19518         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19519         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19520         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19521         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19522         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19523         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19524         * NEWS: Mention addition of x86_64 vector pow.
19526         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19527         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19528         redirections for expf.
19529         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19530         * sysdeps/x86_64/fpu/Versions: New versions added.
19531         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19532         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19533         build of SSE, AVX2 and AVX512 IFUNC versions.
19534         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19535         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19536         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19537         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19538         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19539         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19540         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19541         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19542         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19543         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19544         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19545         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19546         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19547         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19548         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19549         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19550         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19551         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19552         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19553         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19554         * NEWS: Mention addition of x86_64 vector expf.
19556         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19557         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19558         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19559         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19560         redirections for exp.
19561         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19562         * sysdeps/x86_64/fpu/Versions: New versions added.
19563         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19564         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19565         build of SSE, AVX2 and AVX512 IFUNC versions.
19566         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19567         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19568         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19569         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19570         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19571         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19572         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19573         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19574         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19575         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19576         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19577         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19578         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19579         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19580         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19581         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19582         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19583         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19584         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19585         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19586         * NEWS: Mention addition of x86_64 vector exp.
19588         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19589         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19590         redirections for logf.
19591         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19592         * sysdeps/x86_64/fpu/Versions: New versions added.
19593         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19594         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19595         build of SSE, AVX2 and AVX512 IFUNC versions.
19596         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19597         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19598         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19599         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19600         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19601         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19602         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19603         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19604         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19605         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19606         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19607         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19608         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19609         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19610         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19611         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19612         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19613         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19614         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19615         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19616         * NEWS: Mention addition of x86_64 vector logf.
19618         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19619         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19620         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19621         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19622         redirections for log.
19623         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19624         * sysdeps/x86_64/fpu/Versions: New versions added.
19625         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19626         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19627         build of SSE, AVX2 and AVX512 IFUNC versions.
19628         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19629         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19630         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19631         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19632         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19633         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19634         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19635         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19636         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19637         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19638         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19639         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19640         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19641         test.
19642         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19643         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19644         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19645         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19646         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19647         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19648         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19649         * NEWS: Mention addition of x86_64 vector log.
19651 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19653         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19654         cfi_adjust_cfa_offset argument.
19655         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19656         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19658         [BZ #18034]
19659         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19660         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19661         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19662         ordering using ldar.
19663         (_dl_tlsdesc_dynamic): Likewise.
19664         (_dl_tlsdesc_return_lazy): Likewise.
19665         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19666         relaxed atomics instead of volatile and synchronize with release store.
19667         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19668         volatile.
19669         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19671 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19673         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19674         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19675         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19676         * sysdeps/x86_64/fpu/Versions: New versions added.
19677         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19678         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19679         build of SSE, AVX2 and AVX512 IFUNC versions.
19680         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19681         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19682         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19683         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19684         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19685         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19686         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19687         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19688         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19689         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19690         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19691         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19692         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19693         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19694         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19695         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19696         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19697         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19698         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19699         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19700         * NEWS: Mention addition of x86_64 vector sinf.
19702 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19704         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19705         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19706         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19707         Remove variable.
19708         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19709         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19711 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19713         [BZ #18530]
19714         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19715         strong alias of _IO_fputs.  Use libc_hidden_def.
19716         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19717         and define as weak alias of __fputs_unlocked.  Use
19718         libc_hidden_weak.
19719         * include/stdio.h (__fputs_unlocked): Declare.  Use
19720         libc_hidden_proto.
19721         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19722         fputs_unlocked.
19724         [BZ #18529]
19725         * resolv/netdb.h [__USE_POSIX]: Change condition to
19726         [__USE_XOPEN2K].
19727         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19728         not expect.
19729         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19730         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19731         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19732         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19733         [XPG4 || UNIX98] (AI_ALL): Likewise.
19734         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19735         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19736         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19737         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19738         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19739         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19740         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19741         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19742         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19743         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19744         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19745         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19746         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19747         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19748         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19749         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19750         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19751         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19752         [XPG4 || UNIX98] (gai_strerror): Likewise.
19753         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19754         [XPG4 || UNIX98] (getnameinfo): Likewise.
19756         [BZ #18528]
19757         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19758         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19759         __USE_XOPEN2K8].
19760         (getgrent): Likewise.
19761         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19762         expect.
19763         [XPG3 || POSIX2008] (endgrent): Likewise.
19764         [XPG3] (setgrent): Likewise.
19765         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19766         variable.
19767         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19769         [BZ #18527]
19770         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19771         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19772         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19773         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19774         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19775         * include/unistd.h (__getlogin_r): Declare.  Use
19776         libc_hidden_proto.
19777         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19778         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19779         variable.
19780         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19781         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19782         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19784 2015-06-12  Martin Sebor  <msebor@redhat.com>
19786         [BZ #18512]
19787         * Makerules (check-install-supported): New target.
19788         (install): Add check-install-supported as a dependency.
19789         * manual/install.texi (Installing the C Library): Document
19790         that overriding prefix and exec_prefix is not supported.
19791         Mention DESTDIR.
19792         * INSTALL: Regenerate from the above.
19794 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19796         [BZ #18519]
19797         * posix/Versions (libc): Export __libc_pread at version
19798         GLIBC_PRIVATE.
19799         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19800         instead of pread.
19801         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19802         variable.
19804         [BZ #18522]
19805         * misc/efgcvt_r.c
19806         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19807         (cvt_symbol): Use weak_alias instead of strong_alias.
19808         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19809         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19810         Remove variable.
19811         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19812         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19814         [BZ #18520]
19815         * inet/herrno.c (h_errno): Rename to __h_errno.
19816         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19817         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19818         to __h_errno instead of h_errno.
19819         * nptl/herrno.c (h_errno): Rename to __h_errno.
19820         (__h_errno_location): Refer to __h_errno not h_errno.
19821         * resolv/Versions (h_errno): Rename to __h_errno.
19822         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19823         Remove variable.
19824         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19826 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19828         * configure.ac: More strict check for AVX512 assembler support.
19829         * configure: Regenerated.
19831         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19832         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19833         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19834         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19835         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19836         * sysdeps/x86_64/fpu/Versions: New versions added.
19837         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19838         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19839         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19840         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19841         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19842         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19843         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19844         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19845         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19846         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19847         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19848         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19849         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19850         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19851         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19852         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19853         test.
19854         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19855         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19856         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19857         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19858         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19859         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19860         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19861         * NEWS: Mention addition of x86_64 vector sin.
19863 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19865         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19866         comment.
19868 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19870         [BZ #18479]
19871         * nptl/pt-interp.c: New file.
19872         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19873         Add pt-interp.
19874         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19875         $(common-objpfx)runtime-linker.h.
19877 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19879         * Makeconfig (+interp): Remove unused variable.
19880         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19881         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19882         $(elf-objpfx)runtime-linker.h.
19883         ($(elf-objpfx)runtime-linker.h): Rename to
19884         $(common-objpfx)runtime-linker.h and move ...
19885         * Makerules [$(build-shared) = yes]: ... here.
19886         * elf/interp.c: Include <runtime-linker.h> instead of
19887         <elf/runtime-linker.h>.
19889 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19891         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19892         (__gettimeofday_syscall): Remove vsyscall fallback.
19893         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19894         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19895         Add syscall fallback function.
19896         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19897         if vDSO is not present.
19898         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19899         fallback function.
19900         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19901         present.
19902         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19903         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19905 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19907         [BZ #18497]
19908         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19909         of wcscmp.
19910         (wcscmp): Define as weak alias of WCSCMP.
19911         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19912         wcscoll.
19913         (USE_HIDDEN_DEF): Define.
19914         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19915         __wcscoll.  Don't use libc_hidden_weak.
19916         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19917         wcscmp.
19918         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19919         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19920         __GI_wcscmp.
19921         (weak_alias): Undefine and redefine.
19922         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19923         __wcscmp and define as weak alias of __wcscmp.
19924         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19925         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19926         (__wcscoll): Likewise.
19927         (wcscmp): Don't use libc_hidden_proto.
19928         (wcscoll): Likewise.
19929         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19930         wcscoll.
19931         * posix/regexec.c (check_node_accept_bytes): Likewise.
19932         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19933         variable.
19934         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19935         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19937         [BZ #18507]
19938         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19939         __fstatvfs and define as weak alias of __fstatvfs.  Use
19940         libc_hidden_weak.
19941         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19942         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19943         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19944         Define as alias of __fstatvfs, not fstatvfs.
19945         (fstatvfs64): Likewise.
19946         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19947         Define as alias of __statvfs, not statvfs.
19948         (statvfs64): Likewise.
19949         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19950         Remove variable.
19952 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19955         (HAVE_GETCPU_VSYSCALL): Define.
19956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19957         (HAVE_GETCPU_VSYSCALL): Likewise.
19958         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19959         * sysdeps/unix/sysv/linux/sched_getcpu.c
19960         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19961         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19962         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19963         prototype.
19964         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19965         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19966         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19967         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19968         Define.
19969         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19970         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19971         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19972         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19974 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19976         * sysdeps/x86_64/fpu/Makefile: New file.
19977         * sysdeps/x86_64/fpu/Versions: New file.
19978         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19979         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19980         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19981         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19982         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19983         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19984         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19985         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19986         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19987         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19988         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19989         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19990         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19991         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19992         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19993         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19994         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19995         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19996         * sysdeps/x86_64/configure: Regenerated.
19997         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19998         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19999         * manual/install.texi (Configuring and compiling): Document
20000         --disable-mathvec.
20001         * INSTALL: Regenerated.
20002         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20004         * math/Makefile: Added rules for vector tests.
20005         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20006         declaration under condition.
20007         * math/test-double-vlen2.h: New file.
20008         * math/test-double-vlen4.h: New file.
20009         * math/test-double-vlen8.h: New file.
20010         * math/test-vec-loop.h: Added initialization macro.
20011         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20012         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20013         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20014         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20015         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20016         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20017         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20018         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20019         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20020         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20021         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20023         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20024         * sysdeps/x86_64/fpu/Versions: New versions added.
20025         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20026         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20027         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20028         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20029         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20030         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20031         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20032         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20033         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20034         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20035         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20036         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20037         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20038         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20039         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20040         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20041         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20042         * NEWS: Mention addition of x86_64 vector cosf.
20044         * math/Makefile: Added CFLAGS for new tests.
20045         * math/test-float-vlen16.h: New file.
20046         * math/test-float-vlen4.h: New file.
20047         * math/test-float-vlen8.h: New file.
20048         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20049         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20050         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20051         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20052         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20053         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20054         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20055         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20056         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20057         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20058         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20060 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20062         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20063         * locale/programs/ld-ctype.c: Likewise.
20065 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20067         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20068         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20069         bit_ZMM16_31_state): New macro.
20070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20071         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20073 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20075         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20077 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20079         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20081 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20083         [BZ #18498]
20084         * libio/memstream.c (open_memstream): Rename to __open_memstream
20085         and define as weak alias of __open_memstream.
20086         * include/stdio.h (__open_memstream): Declare.  Use
20087         libc_hidden_proto.
20088         (open_memstream): Don't use libc_hidden_proto.
20089         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20090         open_memstream.
20091         * posix/getopt.c (_getopt_internal_r): Likewise.
20092         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20093         variable.
20094         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20095         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20096         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20098         [BZ #18496]
20099         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20100         instead of wcrtomb.
20102         [BZ #18483]
20103         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20104         [__USE_XOPEN2K8].  Remove redundant #endif.
20105         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20106         Remove redundant #if.
20107         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20108         Remove variable.
20109         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20110         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20112         [BZ #18495]
20113         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20114         (__iswlower): Likewise.
20115         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20116         (__iswlower): Likewise.
20117         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20118         instead of towlower.
20119         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20120         instead of iswlower.  Call __towupper instead of towupper.
20121         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20122         instead of iswalnum.
20124 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20126         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20127         errors to stderr.
20129 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20131         [BZ #15661]
20132         [BZ #17322]
20133         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20134         Check for overflow properly.  Check for O_APPEND.  Ignore large
20135         file system block sizes.  Add comments about problems.
20136         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20137         * manual/filesys.texi (Storage Allocation): New node.
20139 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20141         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20142         cancellable syscalls.
20143         (SYS_ify): Add guard to no redefine it.
20144         (INLINE_SYSCALL): Likewise.
20145         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20146         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20147         SYSCALL_CANCEL instead.
20148         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20149         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20150         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20151         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20152         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20153         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20154         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20155         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20156         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20157         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20158         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20159         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20160         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20161         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20162         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20163         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20164         Likewise.
20165         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20166         (__libc_pread64): Likewise.
20167         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20168         (__libc_preadv): Likewise.
20169         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20170         (__libc_readv64): Likewise.
20171         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20172         (__libc_pwrite): Likewise.
20173         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20174         (__libc_pwrite64): Likewise.
20175         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20176         (__libc_pwritev): Likewise.
20177         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20178         (__libc_pwritev64): Likewise.
20179         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20180         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20181         (sync_file_range): Likewise.
20182         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20183         Likewise.
20184         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20185         Likewise.
20186         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20187         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20188         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20189         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20190         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20191         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20192         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20193         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20195         Likewise.
20196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20197         (__libc_read64): Likewise.
20198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20199         Likewise.
20200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20201         Likewise.
20202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20203         Likewise.
20204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20205         Likewise.
20206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20207         (__libc_pread64): Likewise.
20208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20209         Likewise.
20210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20211         (__libc_pwrite64): Likewise.
20212         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20213         (sync_file_range): Likewise.
20214         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20215         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20216         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20217         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20218         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20219         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20220         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20221         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20222         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20223         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20224         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20225         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20226         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20227         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20228         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20229         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20230         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20231         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20232         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20233         Likewise.
20234         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20235         Likewise.
20236         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20237         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20238         Likewise.
20239         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20240         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20241         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20242         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20243         Likewise.
20244         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20245         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20246         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20247         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20248         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20250 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20252         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20253         Include dl-vdso.
20254         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20255         Use VDSO routines for gettimeofday, clock_gettime if
20256         available.
20257         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20258         Declare VDSO symbols.
20259         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20260         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20261         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20262         * sysdeps/unix/sysv/linux/arm/Versions: Add
20263         __vdso_clock_gettime.
20265 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20267         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20268         be an inline implementation regardless of library is built within.
20269         (open_not_cancel_2): Likewise.
20270         (__read_nocancel): Likewise.
20271         (__write_nocancel): Likewise.
20272         (openat_not_cancel): Likewise.
20273         (openat_not_cancel_3): Likewise.
20274         (openat64_not_cancel): Likewise.
20275         (openat64_not_cancel_3): Likewise.
20276         (__close_nocancel): Likewise.
20277         (pause_not_cancel): Likewise.
20278         (nanosleep_not_cancel): Likewise.
20279         (sigsuspend_not_cancel): Likewise.
20281 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20283         [BZ #14958]
20284         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20285         wake-up.
20286         (__pthread_rwlock_rdlock_slow): Likewise.
20287         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20288         Likewise.
20289         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20290         Likewise.
20291         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20292         * nptl/tst-rwlock16.c: New file.
20293         * nptl/Makefile (tests): Add new test.
20295 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20297         [BZ #18324]
20298         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20299         missing wake-up of readers.
20300         * nptl/tst-rwlock15.c: New file.
20301         * nptl/Makefile (tests): Add new test.
20303 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20305         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20306         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20307         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20308         and __nacl_supply_interface_rtld.
20309         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20310         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20311         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20312         Add __nacl_supply_interface_rtld.
20313         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20315 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20317         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20318         isfinite.
20319         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20320         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20322 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20324         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20325         __signbit* with standard C99 macros.
20326         * math/e_exp10l.c: Likewise.
20327         * math/e_exp2l.c: Likewise.
20328         * math/e_scalb.c: Likewise.
20329         * math/e_scalbf.c: Likewise.
20330         * math/e_scalbl.c: Likewise.
20331         * math/s_ldexp.c: Likewise.
20332         * math/s_ldexpf.c: Likewise.
20333         * math/s_ldexpl.c: Likewise.
20334         * math/w_atan2.c: Likewise.
20335         * math/w_atan2f.c: Likewise.
20336         * math/w_atan2l.c: Likewise.
20337         * math/w_cosh.c: Likewise.
20338         * math/w_coshf.c: Likewise.
20339         * math/w_coshl.c: Likewise.
20340         * math/w_exp10.c: Likewise.
20341         * math/w_exp10f.c: Likewise.
20342         * math/w_exp10l.c: Likewise.
20343         * math/w_exp2.c: Likewise.
20344         * math/w_exp2f.c: Likewise.
20345         * math/w_exp2l.c: Likewise.
20346         * math/w_fmod.c: Likewise.
20347         * math/w_fmodf.c: Likewise.
20348         * math/w_fmodl.c: Likewise.
20349         * math/w_hypot.c: Likewise.
20350         * math/w_hypotf.c: Likewise.
20351         * math/w_hypotl.c: Likewise.
20352         * math/w_jnl.c: Likewise.
20353         * math/w_lgamma.c: Likewise.
20354         * math/w_lgamma_r.c: Likewise.
20355         * math/w_lgammaf.c: Likewise.
20356         * math/w_lgammaf_r.c: Likewise.
20357         * math/w_lgammal.c: Likewise.
20358         * math/w_lgammal_r.c: Likewise.
20359         * math/w_pow.c: Likewise.
20360         * math/w_powf.c: Likewise.
20361         * math/w_powl.c: Likewise.
20362         * math/w_remainder.c: Likewise.
20363         * math/w_remainderf.c: Likewise.
20364         * math/w_remainderl.c: Likewise.
20365         * math/w_scalb.c: Likewise.
20366         * math/w_scalbf.c: Likewise.
20367         * math/w_scalbl.c: Likewise.
20368         * math/w_scalbln.c: Likewise.
20369         * math/w_scalblnf.c: Likewise.
20370         * math/w_scalblnl.c: Likewise.
20371         * math/w_sinh.c: Likewise.
20372         * math/w_sinhf.c: Likewise.
20373         * math/w_sinhl.c: Likewise.
20374         * math/w_tgamma.c: Likewise.
20375         * math/w_tgammaf.c: Likewise.
20376         * math/w_tgammal.c: Likewise.
20377         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20378         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20379         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20380         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20381         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20382         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20383         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20384         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20385         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20386         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20387         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20388         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20389         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20390         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20391         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20392         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20393         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20394         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20395         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20396         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20397         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20398         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20399         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20400         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20401         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20402         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20403         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20404         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20405         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20406         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20407         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20408         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20409         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20410         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20411         * stdio-common/printf_fp.c: Likewise.
20412         * stdio-common/printf_fphex.c: Likewise.
20413         * stdio-common/printf_size.c: Likewise.
20415 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20417         [BZ #18470]
20418         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20419         strnlen.
20420         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20421         Remove variable.
20422         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20423         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20424         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20425         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20426         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20427         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20428         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20429         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20430         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20431         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20433         [BZ #18468]
20434         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20435         weak alias of __wmemchr.  Use libc_hidden_weak.
20436         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20437         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20438         instead of wmemchr.
20440 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20442         [BZ #18383]
20443         * elf/tst-tlsalign-extern.c: New file.
20444         * elf/tst-tlsalign-extern-static.c: New file.
20445         * elf/tst-tlsalign-vars.c: New file.
20446         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20447         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20448         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20449         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20450         (test-xfail-tst-tlsalign-extern-static): New variable.
20452 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20454         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20455         Use variable name _sc_err instead of err.
20456         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20457         instead of ret.
20458         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20459         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20460         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20461         (INLINE_SYSCALL): Likewise.
20463         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20464         * include/string.h (__strnlen): Use libc_hidden_proto.
20465         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20466         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20467         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20468         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20469         (libc_hidden_def): Undefine and redefine.
20470         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20471         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20472         __GI_strnlen.
20473         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20474         libc_hidden_def.
20475         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20477         [BZ #18469]
20478         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20479         weak alias of __towlower.  Use libc_hidden_weak.
20480         (towupper): Rename to __towupper and define as weak alias of
20481         __towupper.  Use libc_hidden_weak.
20482         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20483         (__towupper): Likewise.
20484         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20485         __towlower instead of towlower.
20487 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20489         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20490         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20492 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20494         * sysdeps/aarch64/libm-test-ulps: Update.
20496 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20498         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20499         Define.
20500         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20501         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20502         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20503         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20504         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20505         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20506         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20508 2015-06-01  Martin Sebor  <msebor@redhat.com>
20510         [BZ #18116]
20511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20512         (__setcontext): Use extended four-operand version of mtsf whenever
20513         possible.
20514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20515         (__novec_swapcontext): Likewise.
20517 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20519         * benchtests/scripts/compare_bench.py: New file.
20520         * benchtests/scripts/import_bench.py (mean): New function.
20521         (split_list): Likewise.
20522         (do_for_all_timings): Likewise.
20523         (compress_timings): Likewise.
20525         * benchtests/scripts/import_bench.py: New file.
20526         * benchtests/scripts/validate_benchout.py: Import import_bench
20527         instead of jsonschema.
20528         (validate_bench): Remove function.
20529         (main): Use import_bench.
20531 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20533         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20534         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20536 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20540 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20542         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20543         set THREAD_SELF->tid to a magic value and futex-wake it.
20544         Pass its address to the thread_exit system call.
20545         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20546         bit is clear.
20547         * sysdeps/nacl/lowlevellock.h: New file.
20548         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20550         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20551         Add TIMEOUT to current time, don't subtract it.
20553 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20555         [BZ #2981]
20556         [BZ #18422]
20557         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20558         ($(objpfx)tst-audit2.out): Also depend on
20559         $(objpfx)tst-auditmod9b.so.
20560         * elf/tst-audit2.c: Include <dlfcn.h>.
20561         (calloc_called): New.
20562         (calloc): Allow to be called more than once.
20563         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20565 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20567         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20568         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20570 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20572         * stdlib/monetary.h: Fix comment.
20574 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20576         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20577         Avoid using variables in #defines that might cause shadowing.
20578         (INTERNAL_VSYSCALL_CALL): Likewise.
20580 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20582         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20584         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20585         * nptl/lll_timedlock_wait.c: ... to this new file.
20586         * nptl/Makefile (libpthread-routines): Add it.
20587         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20588         * nptl/lll_timedwait_tid.c: ... to this new file.
20589         * nptl/Makefile (libpthread-routines): Add it.
20590         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20591         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20592         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20593         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20594         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20595         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20596         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20597         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20598         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20599         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20601 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20603         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20604         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20605         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20606         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20607         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20608         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20609         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20611         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20612         * sysdeps/unix/sysv/linux/tile/sysdep.h
20613         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20614         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20615         using vDSO syscall macro.
20617 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20619         [BZ #17293]
20620         * uk_UA: Fix sorting order for Ukrainian locale
20622 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20624         * stdlib/monetary.h: Fix comment.
20626 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20628         [BZ #18234]
20629         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20630         st_mtim and st_ctim members.
20631         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20632         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20633         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20634         (struct stat64): Likewise.
20635         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20636         (struct stat64): Likewise.
20637         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20638         (struct stat64): Likewise.
20640 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20642         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20643         Define and include sysdep-vdso.h.
20644         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20645         Likewise.
20646         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20647         Likewise.
20648         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20649         Define with VDSO_SYMBOL and use PTR_MANGLE.
20650         (__vdso_clock_gettime): Likewise.
20651         (__vdso_clock_getres): Likewise.
20652         (_libc_vdso_platform_setup): Likewise.
20653         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20654         Likewise.
20655         (_libc_vdso_platform_setup): Likewise.
20656         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20657         Likewise.
20658         (__vdso_clock_gettime): Likewise.
20659         (__vdso_clock_getres): Likewise.
20660         (__vdso_get_tbfreq): Likewise.
20661         (__vdso_getcpu): Likewise.
20662         (__vdso_time): Likewise.
20663         (__vdso_sigtramp_rt64): Likewise.
20664         (__vdso_signtramp32): Likewise.
20665         (__vdso_sigtramp_rt32): Likewise.
20666         (_libc_vdso_platform_setup): Likewise.
20667         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20668         Likewise.
20669         (__vdso_clock_gettime): Likewise.
20670         (__vdso_clock_getres): Likewise.
20671         (_libc_vdso_platform_setup): Likewise.
20672         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20673         Likewise.
20674         (__vdso_clock_gettime): Likewise.
20675         (_libc_vdso_platform_setup): Likewise.
20676         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20677         Likewise.
20678         (__vdso_getcpu): Likewise.
20679         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20680         Use VDSO_SYMBOL macro to define.
20681         (__vdso_clock_gettime): Likewise.
20682         (__vdso_clock_getres): Likewise.
20683         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20684         Likewise.
20685         (__vdso_clock_gettime): Likewise.
20686         (__vdso_clock_getres): Likewise.
20687         (__vdso_get_tbfreq): Likewise.
20688         (__vdso_getcpu): Likewise.
20689         (__vdso_time): Likewise.
20690         (__vdso_sigtramp_rt64): Likewise.
20691         (__vdso_signtramp32): Likewise.
20692         (__vdso_sigtramp_rt32): Likewise.
20693         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20694         Likewise.
20695         (__vdso_clock_gettime): Likewise.
20696         (__vdso_clock_getres): Likewise.
20697         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20698         Likewise.
20699         (__vdso_clock_gettime): Likewise.
20700         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20701         Likewise.
20702         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20703         macro.
20704         (INTERNAL_VSYSCALL): Likewise.
20705         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20706         Remove macro.
20707         (INTERNAL_VSYSCALL): Likewise.
20708         (INTERNAL_VSYSCALL_NCS): Likewise.
20709         (INTERNAL_VSYSCALL_CALL): New macro.
20710         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20711         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20712         Likewise.
20713         (INTERNAL_VSYSCALL): Likewise.
20714         (INTERNAL_VSYSCALL_NCS): Likewise.
20715         (INTERNAL_VSYSCALL_CALL): New macro.
20716         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20718         (INLINE_VSYSCALL): Remove macro.
20719         (INTERNAL_VSYSCALL): Remove macro.
20720         (INTERNAL_VSYSCALL_NCS): Remove macro.
20721         (INTERNAL_VSYSCALL_CALL): New macro.
20722         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20723         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20724         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20725         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20726         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20728         (INLINE_VSYSCALL): Remove macro.
20729         (INTERNAL_VSYSCALL): Likewise.
20730         (INTERNAL_VSYSCALL_NCS): Likewise.
20731         (INTERNAL_VSYSCALL_CALL): New macro.
20732         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20733         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20734         PTR_DEMANGLE on vDSO pointer.
20735         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20736         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20737         macro.
20738         (INTERNAL_SYSCALL): Likewise.
20739         (INTERNAL_VSYSCALL_NCS): Remove macro.
20740         (INTERNAL_VSYSCALL_CALL): New macro.
20741         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20742         Remove macro.
20743         (INTERNAL_VSYSCALL): Likewise.
20744         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20745         sysdep-vdso.h instead of libc-vdso.h.
20746         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20747         definition.
20748         (INLINE_VSYSCALL): Likewise.
20749         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20750         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20751         definition.
20752         (INLINE_VSYSCALL): Likewise.
20753         (INTERNAL_VSYSCALL): Likewise.
20754         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20755         * sysdeps/unix/sysv/linux/timespec_get.c
20756         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20757         (timespec_get): Use ANSI prototype.
20758         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20759         and definition for Linux.
20761 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20763         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20764         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20766 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20768         [BZ #2981]
20769         [BZ #18410]
20770         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20771         for missing DT_PLTRELSZ.
20773 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20775         Remove obsolete aliases that broke 'locale -a'
20776         [BZ #18412]
20777         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20778         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20779         breaking some applications that use 'locale -a' output.
20780         Change the encoding of this file from Latin-1 to ASCII to avoid
20781         other potential problems with people grepping this file.
20783 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20785         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20786         -fasynchronous-unwind-tables.
20787         (CFLAGS-sendto.c): Likewise.
20788         (CFLAGS-sendmsg.c): Likewise.
20789         (CFLAGS-connect.c): Likewise.
20790         (CFLAGS-recvmsg.c): Likewise.
20791         (CFLAGS-recvfrom.c): Likewise.
20792         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20793         (SOCKETCALL): New macro: non-cancellable socketcall.
20794         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20795         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20796         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20797         * sysdeps/unix/sysv/linux/accept.c: New file.
20798         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20799         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20800         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20801         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20802         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20803         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20804         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20805         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20806         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20807         * sysdeps/unix/sysv/linux/send.c: Likewise.
20808         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20809         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20810         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20811         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20812         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20813         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20814         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20815         prototype.
20816         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20817         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20818         instead of __internal_xxx function.
20819         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20820         prototype.
20821         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20822         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20823         instead of __internal_xxx function.
20824         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20825         prototype.
20826         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20827         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20828         instead of __internal_xxx function.
20829         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20830         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20831         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20832         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20833         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20834         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20835         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20836         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20837         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20838         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20839         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20840         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20841         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20842         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20843         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20844         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20845         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20846         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20847         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20848         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20851         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20852         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20853         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20854         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20855         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20856         * sysdeps/unix/sysv/linux/send.S: Likewise.
20857         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20858         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20859         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20860         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20861         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20862         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20863         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20864         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20865         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20866         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20867         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20868         socketcall is implemented in GLIBC.
20870 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20872         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20873         (__fma): Ignore uninitialized warnings around packing.
20874         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20875         (__fmaf): Ignore uninitialized warnings around packing.
20876         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20877         (__fmal): Ignore uninitialized warnings around packing.
20879         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20880         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20881         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20882         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20884         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20885         switch statement into default case.
20886         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20888         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20889         a conditional in forcing "inexact".
20890         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20891         Likewise.
20893 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20895         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20896         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20897         for each INTERNAL_SYSCALL use.
20899 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20901         [BZ #438]
20902         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20903         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20904         variable.
20906         [BZ #18444]
20907         * string/basename.c (basename): Rename to __basename and define as
20908         weak alias of __basename.  Use libc_hidden_weak.
20909         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20910         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20911         __basename instead of basename.
20912         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20913         Remove variable.
20914         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20916 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20918         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20919         (_IO_JUMPS_FILE_plus): New.
20920         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20921         _IO_CAST_FIELD_ACCESS.
20922         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20923         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20924         * libio/freopen.c (freopen): Likewise.
20925         * libio/freopen64.c (freopen64): Likewise.
20926         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20927         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20928         * libio/iofwide.c (_IO_fwide): Likewise.
20929         * libio/memstream.c (open_memstream): Likewise.
20930         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20931         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20932         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20934 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20936         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20937         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20938         NADJ.
20939         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20940         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20941         NADJ.
20942         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20943         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20944         NADJ.
20946         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20947         (p == 4) case.
20949         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20950         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20951         Remove variable.
20952         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20953         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20954         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20956 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20958         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20959         Adjust jump table label generation macros.
20961 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20963         * stdio-common/vfprintf.c (vfprintf): Move local variables
20964         args_malloced, specs, specs_malloced, and the code after
20965         do_positional to the printf_positional function.
20966         (printf_positional): New function.
20968 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20970         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20971         function.
20972         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20973         STEP4_TABLE, process_arg): Move macro definitions
20974         out of the vfprintf function.  (Cosmetic change only.)
20976 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20978         * benchtests/Makefile (stdio-common-bench): Define.
20979         (benchset): Add stdio-common-bench.
20980         * sprintf-inputs: New file.
20981         * sprintf-source.c: New file.
20983 2015-05-21  Andreas Schwab  <schwab@suse.de>
20985         [BZ #13028]
20986         [BZ #17053]
20987         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20988         of struct __res_state.
20989         * resolv/res_send.c (__libc_res_nsend): Likewise.
20990         (get_nsaddr): New function.
20991         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20992         statp directly.
20994 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20996         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20997         -D_POSIX_C_SOURCE=199506L.
20999         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21001         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21002         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21003         Do not mention otherwise.
21004         [POSIX] (_XOPEN_VERSION): Do not expect.
21005         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21006         [POSIX] (_POSIX2_C_BIND): Likewise.
21007         [POSIX] (_POSIX2_VERSION): Likewise.
21008         [POSIX] (_XOPEN_XPG2): Likewise.
21009         [POSIX] (_XOPEN_XPG3): Likewise.
21010         [POSIX] (_XOPEN_XPG4): Likewise.
21011         [POSIX] (_XOPEN_UNIX): Likewise.
21012         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21013         [POSIX] (_POSIX_BARRIERS): Likewise.
21014         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21015         [POSIX] (_POSIX_CPUTIME): Likewise.
21016         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21017         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21018         [POSIX] (_POSIX_SHELL): Likewise.
21019         [POSIX] (_POSIX_SPAWN): Likewise.
21020         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21021         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21022         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21023         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21024         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21025         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21026         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21027         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21028         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21029         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21030         [POSIX] (_POSIX2_PBS): Likewise.
21031         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21032         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21033         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21034         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21035         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21036         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21037         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21038         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21039         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21040         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21041         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21042         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21043         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21044         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21045         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21046         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21047         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21048         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21049         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21050         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21051         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21052         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21053         [POSIX] (_SC_2_C_BIND): Likewise.
21054         [POSIX] (_SC_2_C_VERSION): Likewise.
21055         [POSIX] (_SC_2_PBS): Likewise.
21056         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21057         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21058         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21059         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21060         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21061         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21062         [POSIX] (_SC_BARRIERS): Likewise.
21063         [POSIX] (_SC_BASE): Likewise.
21064         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21065         [POSIX] (_SC_DEVICE_IO): Likewise.
21066         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21067         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21068         [POSIX] (_SC_FD_MGMT): Likewise.
21069         [POSIX] (_SC_FIFO): Likewise.
21070         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21071         [POSIX] (_SC_FILE_LOCKING): Likewise.
21072         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21073         [POSIX] (_SC_IOV_MAX): Likewise.
21074         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21075         [POSIX] (_SC_NETWORKING): Likewise.
21076         [POSIX] (_SC_PAGE_SIZE): Likewise.
21077         [POSIX] (_SC_PASS_MAX): Likewise.
21078         [POSIX] (_SC_PIPE): Likewise.
21079         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21080         [POSIX] (_SC_REGEXP): Likewise.
21081         [POSIX] (_SC_SHELL): Likewise.
21082         [POSIX] (_SC_SIGNALS): Likewise.
21083         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21084         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21085         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21086         [POSIX] (_SC_USER_GROUPS): Likewise.
21087         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21088         [POSIX] (_SC_STREAMS): Likewise.
21089         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21090         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21091         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21092         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21093         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21094         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21095         [POSIX] (_PC_FILESIZEBITS): Likewise.
21096         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21097         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21098         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21099         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21100         [POSIX] (uid_t): Likewise.
21101         [POSIX] (gid_t): Likewise.
21102         [POSIX] (off_t): Likewise.
21103         [POSIX] (pid_t): Likewise.
21104         [POSIX] (cuserid): Allow.
21105         (_SC_2_CHAR_TERM): Require constant.
21106         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21107         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21108         variable.
21110 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21112         * sysdeps/nacl/pthread-pids.h: New file.
21113         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21114         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21116         * nptl/pthread-pids.h: New file.
21117         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21118         * nptl/nptl-init.c: Include <pthread-pids.h>.
21119         (__pthread_initialize_minimal_internal):
21120         Call __pthread_initialize_pids instead of set_tid_address syscall.
21122         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21123         * sysdeps/posix/usleep.c: ... here.
21125 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21127         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21128         call_pselect6 object.
21129         [$(subdir) = io]: Remove call_sync_file_range object.
21130         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21131         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21132         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21133         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21135 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21137         * math/s_cproj.c: Add include "math_private.h".
21138         * math/s_cprojf.c: Likewise.
21139         * math/s_cprojl.c: Likewise.
21141 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21143         [BZ #18244]
21144         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21145         high mantissa bit when testing whether P is a NaN.
21146         * math/libm-test.inc (remainder_test_data): Add more tests.
21147         (remquo_test_data): Likewise.
21149         [BZ #18049]
21150         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21151         below -32, return the argument, with underflow if subnormal.
21152         * math/auto-libm-test-in: Add more tests of atanh.
21153         * math/auto-libm-test-out: Regenerated.
21155 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21157         [BZ #18434]
21158         * nptl/tst-sem15.c: New file.
21159         * nptl/Makefile (tests): Add it.
21160         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21161         s/<</>>/ to fix typo in EOVERFLOW check.
21162         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21164 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21166         * manual/strings.texi (envz_remove): Fix typo in safety
21167         annotations.
21169 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21170             Steve Ellcey  <sellcey@imgtec.com>
21172         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21173         in order to avoid strict alias warnings.
21174         (iruserok_af): Ditto for ra.
21176 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21178         [BZ #17581]
21179         * malloc/hooks.c
21180         (magicbyte): Convert to a function and avoid returning 0x01.
21181         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21182         (mem2chunk_check): Fix unsigned comparisons to zero.
21183         Hoist defs of sz and magic.
21185 2015-05-19  Richard Henderson  <rth@redhat.com>
21187         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21189         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21191 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21193         [BZ #16159]
21194         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21195         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21196         (reused_arena): Find a non-corrupt arena.
21197         (heap_trim): Pass arena to unlink.
21198         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21199         malloc_printerr.
21200         (top_check): Likewise.
21201         (free_check): Likewise.
21202         (realloc_check): Likewise.
21203         * malloc/malloc.c (malloc_printerr): Add arena argument.
21204         (unlink): Likewise.
21205         (munmap_chunk): Adjust.
21206         (ARENA_CORRUPTION_BIT): New macro.
21207         (arena_is_corrupt): Likewise.
21208         (set_arena_corrupt): Likewise.
21209         (sysmalloc): Use mmap if there are no usable arenas.
21210         (_int_malloc): Likewise.
21211         (__libc_malloc): Don't fail if arena_get returns NULL.
21212         (_mid_memalign): Likewise.
21213         (__libc_calloc): Likewise.
21214         (__libc_realloc): Adjust for additional argument to
21215         malloc_printerr.
21216         (_int_free): Likewise.
21217         (malloc_consolidate): Likewise.
21218         (_int_realloc): Likewise.
21219         (_int_memalign): Don't touch corrupt arenas.
21220         * malloc/tst-malloc-backtrace.c: New test case.
21222         * Makefile (summarize-tests): Fix return value on success.
21224         * manual/string.texi (Envz Functions): Add envz_remove.
21226 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21228         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21229         (invalid_name): New function, broken out of ...
21230         (__opendirat): ... here.  Call it.
21231         (need_isdir_precheck): New function, broken out of ...
21232         (__opendirat): ... here.  Call it.
21233         Use __fxstatat64, not __xstatat64.
21234         (opendir_oflags): New function, broken out of ...
21235         (__opendirat): ... here.  Call it.
21236         (opendir_tail): New function, broken out of ...
21237         (__opendirat): ... here.  Call it.
21238         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21239         opendir_tail, rather than punting to __opendirat.
21240         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21242 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21244         * .gitignore: Ignore generated *.pyc.
21246 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21248         * include/stdio.h: Define __need_wint_t.
21249         * test-skeleton.c: Avoid `for' loop initial declaration.
21250         * nptl/tst-initializers1.c: Use test-skeleton.c.
21252 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21254         [BZ #18418]
21255         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21257 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21259         [BZ #16352]
21260         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21261         (__ieee754_atanh): Force underflow exception for results with
21262         small absolute value.
21263         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21264         (__ieee754_atanhf): Force underflow exception for results with
21265         small absolute value.
21266         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21267         (__ieee754_atanh): Force underflow exception for results with
21268         small absolute value.
21269         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21270         (__ieee754_atanhf): Force underflow exception for results with
21271         small absolute value.
21272         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21273         (__ieee754_atanhl): Force underflow exception for results with
21274         small absolute value.
21275         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21276         (__ieee754_atanhl): Force underflow exception for results with
21277         small absolute value.
21278         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21279         (__ieee754_atanhl): Force underflow exception for results with
21280         small absolute value.
21281         * math/auto-libm-test-in: Do not allow missing underflow
21282         exceptions from atanh.
21283         * math/auto-libm-test-out: Regenerated.
21285         [BZ #18221]
21286         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21287         2**-28 as threshold for returning x or +/- 1/x.
21288         * math/auto-libm-test-in: Add more tests of tan.
21289         * math/auto-libm-test-out: Regenerated.
21291         [BZ #18220]
21292         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21293         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21294         * math/auto-libm-test-in: Add another test of lgamma.
21295         * math/auto-libm-test-out: Regenerated.
21297 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21299         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21300         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21301         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21302         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21303         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21304         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21305         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21306         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21307         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21308         (log1): Use fabs.  (my_log2): Use fabs.
21309         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21310         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21311         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21312         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21313         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21314         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21315         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21316         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21317         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21318         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21319         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21321 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21323         [BZ #18217]
21324         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21325         as threshold for returning 1 - x.
21326         * math/auto-libm-test-in: Add more tests of erfc.
21327         * math/auto-libm-test-out: Regenerated.
21329 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21331         [BZ #18196]
21332         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21333         threshold for large arguments.
21334         * math/auto-libm-test-in: Add another test of atan.
21335         * math/auto-libm-test-out: Regenerated.
21337         [BZ #16339]
21338         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21339         (__log1p): Force underflow exception for results with small
21340         absolute value.
21341         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21342         (__log1pf): Force underflow exception for results with small
21343         absolute value.
21344         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21345         (__log1p): Force underflow exception for results with small
21346         absolute value.
21347         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21348         (__log1pf): Force underflow exception for results with small
21349         absolute value.
21350         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21351         (__log1pl): Force underflow exception for results with small
21352         absolute value.
21353         * math/auto-libm-test-in: Do not allow missing underflow
21354         exceptions from log1p.
21355         * math/auto-libm-test-out: Regenerated.
21357 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21358             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21360         [BZ #16704]
21361         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21363 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21365         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21366         (libmvec): New variable.
21367         * configure.ac: Added option for mathvec build.
21368         * configure: Regenerated.
21369         * mathvec/Depend: New file.
21370         * mathvec/Makefile: New file.
21371         * shlib-versions: Added libmvec.
21372         * math/Makefile: Added rule for libm.so installation.
21374         * bits/math-vector.h: New file.
21375         * bits/libm-simd-decl-stubs.h: New header.
21376         * math/Makefile (headers): Added new header
21377         libm-simd-decl-stubs.h.
21378         * math/math.h (__MATHCALL_VEC): New macro.
21380         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21381         for conditions in testing functions.
21382         * math/Makefile: Added call of libm-have-vector-test.sh.
21383         * math/libm-test.inc (HAVE_VECTOR): New macros.
21385         * math/libm-test.inc: START refactored.
21386         * math/test-double.c (TEST_MATHVEC): Add define.
21387         * math/test-float.c: Likewise.
21388         * math/test-idouble.c: Likewise.
21389         * math/test-ifloat.c: Likewise.
21390         * math/test-ildoubl.c: Likewise.
21391         * math/test-ldouble.c: Likewise.
21392         * sysdeps/generic/math-tests-arch.h
21393         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21394         architecture check.
21396         * math/test-double.c (FUNC_TEST): New macro.
21397         * math/test-float.c: Likewise.
21398         * math/test-idouble.c: Likewise.
21399         * math/test-ifloat.c: Likewise.
21400         * math/test-ildoubl.c: Likewise.
21401         * math/test-ldouble.c: Likewise.
21402         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21404 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21406         * sysdeps/nacl/fdopendir.c: New file.
21408         * dirent/scandir-tail.c: New file.
21409         * dirent/scandir64-tail.c: New file.
21410         * dirent/Makefile (routines): Add them.
21411         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21412         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21413         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21414         [!SCANDIR] (SCANDIR_TAIL): New macro.
21415         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21416         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21417         (SCANDIRAT): Macro removed.
21418         (SCANDIR_TAIL): New macro.
21419         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21420         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21421         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21422         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21423         (READDIR): Macro removed.
21424         (SCANDIR_TAIL): New macro.
21425         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21426         (SCANDIR_TAIL): New macro.
21428         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21429         * dirent/scandir-cancel.c: ... to this new file.
21430         * dirent/Makefile (routines): Add it.
21431         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21432         * sysdeps/unix/sysv/linux/i386/scandir64.c
21433         (SKIP_SCANDIR_CANCEL): Macro removed.
21434         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21436         * dirent/tst-scandir.c: New file.
21437         * dirent/tst-scandir64.c: New file.
21438         * dirent/Makefile (tests): Add them.
21440 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21442         [BZ #18409]
21443         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21445 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21447         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21448         list.
21450 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21452         * benchtests/bench-strcoll.c: New benchmark.
21453         * benchtests/Makefile: Generate locales and run benchmark.
21454         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21455         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21456         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21457         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21458         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21459         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21460         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21461         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21462         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21463         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21464         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21465         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21466         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21467         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21468         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21469         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21470         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21471         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21472         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21473         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21474         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21475         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21476         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21477         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21479 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21481         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21482         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21484 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21486         * posix/uname-values.h: New file.
21487         * posix/uname.c: Include that instead of <config-name.h>.
21488         * sysdeps/nacl/uname-values.h: New file.
21489         * sysdeps/arm/nacl/uname-values.h: New file.
21491 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21493         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21494         splitting into fields.
21496 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21498         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21499         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21500         * locale/localeinfo.h: Add enum collation_encoding_type.
21501         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21502         * programs/ld-collate.c (collate_output): Add encoding type info.
21503         * string/strcoll_l.c (STRDIFF): New function.
21504         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21505         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21507 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21509         [BZ #18397]
21510         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21511         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21512         <fpu_control.h> instead of <math/fpu_control.c>.
21513         * sysdeps/mips/mips32/fpu/Makefile: New file.
21515 2015-05-11  Andreas Schwab  <schwab@suse.de>
21517         [BZ #18007]
21518         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21519         nss_endgrent.
21520         (_nss_compat_endgrent): Call nss_endgrent.
21521         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21522         nss_endpwent.
21523         (_nss_compat_endpwent): Call nss_endpwent.
21524         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21525         needent, call nss_setspent only if non-zero.
21526         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21527         (internal_endspent): Don't call nss_endspent.
21528         (_nss_compat_endspent): Call nss_endspent.
21529         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21530         Remove.  All uses removed.
21531         (internal_setent): Remove parameter stayopen, add parameter
21532         stream.  Use it instead of global variable.
21533         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21534         (internal_endent, internal_getent): Add parameter stream.  Use it
21535         instead of global variable.
21536         (CONCAT(_nss_files_end,ENTNAME))
21537         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21538         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21539         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21540         uses removed.
21541         (internal_setent, internal_endent): Add parameter stream.  Use it
21542         instead of global variable.
21543         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21544         stream.
21545         (get_next_alias): Add parameter stream.
21546         (_nss_files_getaliasent_r): Pass global stream.
21547         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21548         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21549         (_nss_files_gethostbyname4_r): Pass local stream to
21550         internal_setent, internal_getent and internal_endent.  Remove
21551         locking.
21553 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21555         * tst-strfmon1.c (tests): Update expected currency symbol.
21557 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21559         * sysdeps/nacl/gethostname.c: New file.
21561 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21563         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21564         and sinh.
21565         * math/auto-libm-test-out: Regenerated.
21566         * sysdeps/i386/fpu/libm-test-ulps: Update.
21567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21569 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21571         [BZ #18125]
21572         * stdlib/tst-setcontext3.c: New file.
21573         * stdlib/tst-setcontext3.sh: New file.
21574         * stdlib/Makefile (tests): Add tst-setcontext3.
21575         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21576         to verify test program created output file.
21577         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21578         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21579         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21580         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21582 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21584         [BZ #18383]
21585         * elf/tst-tlsalign.c: New file.
21586         * elf/tst-tlsalign-static.c: New file.
21587         * elf/tst-tlsalign-lib.c: New file.
21588         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21589         (tests-static): Add tst-tlsalign-static.
21590         (modules-names): Add tst-tlsalign-lib.
21591         (test-xfail-tst-tlsalign): New variable.
21592         (test-xfail-tst-tlsalign-static): New variable.
21594         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21595         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21597 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21599         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21600         csqrt, erfc, sin and sincos.
21601         * math/auto-libm-test-out: Regenerated.
21602         * sysdeps/i386/fpu/libm-test-ulps: Update.
21603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21605 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21607         * sysdeps/aarch64/libm-test-ulps: Update.
21609 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21611         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21612         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21613         * math/auto-libm-test-out: Regenerated.
21614         * sysdeps/i386/fpu/libm-test-ulps: Update.
21615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21617 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21619         [BZ #18265]
21620         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21621         (wcsncpy): Likewise.
21623 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21625         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21626         Assume __ASSUME_FALLOCATE is always true.
21627         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21628         (__posix_fallocate64_l64): Likweise.
21629         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21630         (posix_fallocate): Likewise.
21631         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21632         (__posix_fallocate64_l64): Likewise.
21633         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21634         [!__ASSUME_FALLOCATE]: Add comment.
21636 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21638         * sysdeps/unix/sysv/linux/i386/Makefile
21639         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21640         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21641         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21642         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21643         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21644         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21645         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21647 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21649         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21650         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21651         tgamma.
21652         * math/auto-libm-test-out: Regenerated.
21653         * sysdeps/i386/fpu/libm-test-ulps: Update.
21654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21656 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21658         * math/auto-libm-test-in: Add more tests of tgamma.
21659         * math/auto-libm-test-out: Regenerated.
21660         * sysdeps/i386/fpu/libm-test-ulps: Update.
21661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21663         * math/auto-libm-test-in: Add more tests of tanh.
21664         * math/auto-libm-test-out: Regenerated.
21665         * sysdeps/i386/fpu/libm-test-ulps: Update.
21666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21668         * math/auto-libm-test-in: Add more tests of tan.
21669         * math/auto-libm-test-out: Regenerated.
21670         * sysdeps/i386/fpu/libm-test-ulps: Update.
21671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21673         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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 another test of pow.
21679         * math/auto-libm-test-out: Regenerated.
21680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21682         * math/auto-libm-test-in: Add more tests of lgamma.
21683         * math/auto-libm-test-out: Regenerated.
21684         * sysdeps/i386/fpu/libm-test-ulps: Update.
21685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21687         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21688         log1p.
21689         * math/auto-libm-test-out: Regenerated.
21690         * sysdeps/i386/fpu/libm-test-ulps: Update.
21691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21693 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21695         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21696         Elf64_Chdr structs and ELFCOMPRESS constants.
21698 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21700         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21701         expm1.
21702         * math/auto-libm-test-out: Regenerated.
21703         * sysdeps/i386/fpu/libm-test-ulps: Update.
21704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21706         * math/auto-libm-test-in: Add more tests of erf and erfc.
21707         * math/auto-libm-test-out: Regenerated.
21708         * sysdeps/i386/fpu/libm-test-ulps: Update.
21709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21711 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21713         * config.h.in (HAVE_AARCH64_BE): Add.
21715 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21717         * math/auto-libm-test-in: Add more tests of csqrt.
21718         * math/auto-libm-test-out: Regenerated.
21719         * sysdeps/i386/fpu/libm-test-ulps: Update.
21720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21722         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21723         * math/auto-libm-test-out: Regenerated.
21724         * sysdeps/i386/fpu/libm-test-ulps: Update.
21725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21727         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21729 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21731         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21732         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21734         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21735         (euidaccess, eaccess): Define as weak aliases.
21737         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21738         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21739         but __suseconds_t is often 'long int' so some sources assume that
21740         type is being used (e.g. they use %ld to print tv_usec).
21742 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21744         [BZ #18007]
21745         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21746         (CVE-2014-8121)
21747         * nss/tst-nss-getpwent.c: New file.
21748         * nss/Makefile (tests): Add new test.
21750 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21752         [BZ #18346]
21753         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21754         exponents less than 48 as cases where high part of mantissa needs
21755         examining to determine whether argument is integral.
21756         * math/libm-test.inc (round_test_data): Add more tests.
21758 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21760         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21762 2015-04-27  David S. Miller  <davem@davemloft.net>
21764         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21765         __tls_get_addr.
21766         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21768 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21770         [BZ#18333]
21771         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21773 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21775         [BZ#18333]
21776         * time/tzset.c (parse_tzname): Return error on memory allocation
21777         failure.
21778         * test-skeleton.c (struct temp_name_list): Change type of name
21779         member to non-const.
21780         (add_temp_file): Create a copy of the file name.
21781         (delete_temp_files): Deallocate memory.
21782         (create_temp_file): Add comment.
21784 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21786         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21787         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21789 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21791         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21792         * sysdeps/arm/configure: Regenerated.
21794 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21796         [BZ #17715]
21797         * time/tzfile.c (__tzfile_read): Check for large values of
21798         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21799         * time/tzset.c (__tzstring_len): New function, based on the old
21800         __tzstring function.
21801         (__tzstring): Call __tzstring_len.
21802         (parse_tzname): New helper function extracted from
21803         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21804         the input string.
21805         (parse_offset): New helper function extracted from
21806         __tzset_parse_tz.  Replace switch with fallthrough with
21807         initialization before sscanf.
21808         (parse_rule): Likewise.
21809         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21810         new-style function definition.
21811         * timezone/Makefile (tests): Add tst-tzset.
21812         (tst-tzset.out): Dependencies on time zone files.
21813         (tst-tzset-ENV): Set TZDIR.
21814         (testdata/XT%): Copy crafted time zone files.
21815         * timezone/README: Mention crafted time zone files.
21816         * timezone/testdata/XT1, timezone/testdata/XT2,
21817         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21818         files.
21819         * timezone/tst-tzset.c: New test.
21821 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21823         * Makeconfig (+gccwarn): Remove -Winline.
21825 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21827         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21829 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21831         * NEWS: Mention sysconf() cache information support for s390.
21832         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21834 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21836         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21837         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21838         (__nearbyint): Likewise.
21839         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21840         (copysignl): Likewise.
21842 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21844         [BZ #18287]
21845         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21846         based on padding.  (CVE-2015-1781)
21848 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21850         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21851         libc-vdso.h.
21852         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21853         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21854         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21855         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21856         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21857         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21858         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21859         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21860         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21861         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21862         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21863         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21864         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21865         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21866         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21867         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21868         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21869         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21870         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21871         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21872         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21873         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21874         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21876 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21878         * stdlib/setenv.c (__add_to_environ):
21879         Dump core quickly if setenv (..., NULL, ...) is called.
21880         This time, do it the right way, and pacify GCC with a pragma.
21882 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21884         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21885         IMAP->l_prev cannot be null, and #if out the code for the contrary
21886         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21887         believe that NS (&_dl_ns[NSID]) could point outside the array.
21889         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21890         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21891         before using NSID as an index.
21893 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21895         [BZ #17825]
21896         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21897         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21898         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21900 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21902         Add preliminary port to Google Native Client on ARM.
21903         * abi-tags (.*-.*-nacl.*): New entry.
21904         * sysdeps/arm/nacl: New directory.
21905         * sysdeps/nacl: New directory.
21907 2015-04-16  David S. Miller  <davem@davemloft.net>
21909         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21910         lowlevellock-futex.h
21912 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21914         * sysdeps/tile/configure.ac: New file.
21915         * sysdeps/tile/configure: Regenerated.
21917 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21919         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21920         conditionals for weak_alias and libc_hidden_weak.
21921         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21922         libc_hidden_weak and weak_alias.
21923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21924         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21925         and weak_alias for static one.
21927 2015-04-15  David S. Miller  <davem@davemloft.net>
21929         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21931 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21933         [BZ #18206]
21934         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21935           Use signed comparision instead of substraction to avoid
21936           overflow bug.
21937         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21938           Take the sign of ret.
21939         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21940           Do not expect precise return values. Only the sign matters.
21941         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21942         * wcsmbs/test-wcsncmp.c: New File.
21943         * string/test-strncmp.c: Add wcsncmp support.
21945 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21947         [BZ #6792]
21948         * math/w_log1p.c: New file.
21949         * math/w_log1pf.c: Likewise.
21950         * math/w_log1pl.c: Likewise.
21951         * math/Makefile (libm-calls): Add w_log1p.
21952         * math/s_log1pl.c (log1pl): Remove weak_alias.
21953         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21954         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21955         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21956         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21957         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21958         [NO_LONG_DOUBLE] (log1pl): Likewise.
21959         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21960         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21961         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21962         (log1p): Remove long_double_symbol.
21963         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21964         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21965         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21966         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21967         remove weak_alias for corresponding log1p function.
21968         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21969         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21970         * sysdeps/ia64/fpu/w_log1p.c: New file.
21971         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21972         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21973         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21975 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21977         [BZ #18247]
21978         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21979         decimal exponent by 1.
21980         * stdlib/tst-strtod-round-data: Add more tests.
21981         * stdlib/tst-strtod-round.c (tests): Regenerated.
21983 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21985         * math/auto-libm-test-in: Add more tests of clog and clog10.
21986         * math/auto-libm-test-out: Regenerated.
21987         * sysdeps/i386/fpu/libm-test-ulps: Update.
21988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21990 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21992         * Makeconfig (module-cppflags): Exclude all .v.i files.
21993         (skip-module-cppflags): Variable removed.
21995         * configure.ac (libc_config_ok): Initialize before reading
21996         preconfigure scripts, not after.
21997         * configure: Regenerated.
21999         * test-skeleton.c (TIMEOUT): Move #define to top level.
22000         (main): Grok environment variable TEST_DIRECT.  If set, print
22001         test expectation details into that file and then behave as if
22002         given --direct.
22004 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22006         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22007         warning on 32-bit.
22009 2015-04-08  David S. Miller  <davem@davemloft.net>
22011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22013 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22015         * math/auto-libm-test-in: Add more tests of atanh.
22016         * math/auto-libm-test-out: Regenerated.
22017         * sysdeps/i386/fpu/libm-test-ulps: Update.
22018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22020         * math/auto-libm-test-in: Add more tests of atan.
22021         * math/auto-libm-test-out: Regenerated.
22022         * sysdeps/i386/fpu/libm-test-ulps: Update.
22023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22025 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22027         * elf/pldd.c (main): Rewrite to use struct
22028         scratch_buffer instead of extend_alloca.
22029         * elf/pldd-xx.c (find_maps): Likewise.
22030         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22031         <alloca.h>.
22032         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22033         scratch_buffer instead of extend_alloca.
22034         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22035         grp/compat-initgroups.c.
22036         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22037         Rewrite to use struct scratch_buffer instead of extend_alloca.
22038         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22039         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22041 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22043         * math/auto-libm-test-in: Add more tests of cbrt.
22044         * math/auto-libm-test-out: Regenerated.
22045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22047         * math/auto-libm-test-in: Add more tests of cabs.
22048         * math/auto-libm-test-out: Regenerated.
22049         * sysdeps/i386/fpu/libm-test-ulps: Update.
22050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22052         [BZ #18210]
22053         [BZ #18211]
22054         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22055         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22056         computations.
22057         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22058         clog10.
22059         * math/auto-libm-test-out: Regenerated.
22060         * sysdeps/i386/fpu/libm-test-ulps: Update.
22061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22063         [BZ #18197]
22064         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22065         (atan): Set FE_TONEAREST mode for internal computations.
22066         * math/auto-libm-test-in: Add more tests of atan.
22067         * math/auto-libm-test-out: Regenerated.
22069 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22071         [BZ #17930]
22072         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22074 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22076         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22078 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22080         * include/scratch_buffer.h: New file.
22081         * malloc/scratch_buffer_grow.c: Likewise.
22082         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22083         * malloc/scratch_buffer_set_array_size.c: Likewise.
22084         * malloc/tst-scratch_buffer.c: Likewise.
22085         * malloc/Makefile (routines): Add scratch_buffer_grow.
22086         (tests): Add test case.
22087         * malloc/Versions (GLIBC_PRIVATE): Export
22088         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22089         __libc_scratch_buffer_set_array_size.
22091 2015-04-06  Richard Henderson  <rth@redhat.com>
22093         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22094         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22096         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22097         unsigned int before printing.
22099 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22101         [BZ #17596]
22102         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22103         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22105 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22107         * include/libc-internal.h (libc_max_align_t): Define.
22109 2015-04-02  Andreas Schwab  <schwab@suse.de>
22111         [BZ #16850]
22112         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22114 2015-04-02  Mel Gorman  <mgorman@suse.de>
22116         [BZ #17195]
22117         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22118         as well as the main arena.
22120 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22122         [BZ #18185]
22123         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22124         sharing L2 cache to 2 for Silvermont/Knights Landing.
22126 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22128         [BZ #17711]
22129         * config.make.in (have-protected-data): New.
22130         * configure.ac: Check linker support for protected data symbol.
22131         * configure: Regenerated.
22132         * elf/Makefile (modules-names): Add tst-protected1moda and
22133         tst-protected1modb if $(have-protected-data) is yes.
22134         (tests): Add tst-protected1a and tst-protected1b if
22135         $(have-protected-data) is yes.
22136         ($(objpfx)tst-protected1a): New.
22137         ($(objpfx)tst-protected1b): Likewise.
22138         (tst-protected1modb.so-no-z-defs): Likewise.
22139         * elf/tst-protected1a.c: New file.
22140         * elf/tst-protected1b.c: Likewise.
22141         * elf/tst-protected1mod.h: Likewise.
22142         * elf/tst-protected1moda.c: Likewise.
22143         * elf/tst-protected1modb.c: Likewise.
22145 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22147         [BZ #17711]
22148         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22149         indicates it is called from do_lookup_x on relocation against
22150         protected data, skip the data definion in the executable from
22151         copy reloc.
22152         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22153         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22154         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22155         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22156         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22157         otherwise to 0.
22158         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22159         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22160         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22161         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22162         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22163         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22165 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22167         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22168         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22170 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22172         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22173         THREAD_SETMEM_NC.
22174         * sysdeps/x86_64/nptl/tls.h: Ditto.
22176 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22178         * dlfcn/tststatic.c (main): Converted to ...
22179         (do_test): ... this.
22180         (TEST_FUNCTION): New macro.
22181         Include test-skeleton.c.
22183 2015-03-26  Alan Modra  <amodra@gmail.com>
22185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22186         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22187         zero for undefined weak.
22188         (elf_machine_plt_conflict): Similarly.
22190 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22192         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22193         atanh.
22194         * math/auto-libm-test-out: Regenerated.
22195         * sysdeps/i386/fpu/libm-test-ulps: Update.
22196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22198         * math/auto-libm-test-in: Add another test of asin.
22199         * math/auto-libm-test-out: Regenerated.
22200         * sysdeps/i386/fpu/libm-test-ulps: Update.
22201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22203         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22204         Remove macro.
22205         (LLL_EBX_REG): Likewise.
22206         (LLL_ENTER_KERNEL): Likewise.
22208         * math/auto-libm-test-in: Add more tests of asin.
22209         * math/auto-libm-test-out: Regenerated.
22210         * sysdeps/i386/fpu/libm-test-ulps: Update.
22211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22213         [BZ #18138]
22214         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22215         libc_do_syscall_args): New structure.
22216         (INTERNAL_SYSCALL_MAIN_0): New macro.
22217         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22218         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22219         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22220         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22221         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22222         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22223         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22224         Replace conditional definitions by conditional definitions of ....
22225         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22226         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22227         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22228         (libpthread-sysdep_routines): Add libc-do-syscall.
22229         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22230         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22231         to __NR_futex not 240.
22233 2015-03-25  Alan Modra  <amodra@gmail.com>
22235         * NEWS: Advertise TLS optimization.
22236         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22237         (DT_PPC_NUM): Increment.
22238         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22239         (CHECK_STATIC_TLS): Use here.
22240         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22241         TLS descriptors.
22242         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22243         * sysdeps/powerpc/dl-tls.c: New file.
22244         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22245         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22246         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22247         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22252 2015-03-25  Alan Modra  <amodra@gmail.com>
22254         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22255         for overlapping .opd entries" to "support...".
22256         * sysdeps/powerpc/powerpc64/configure: Regenerate
22258 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22260         * math/auto-libm-test-in: Add more tests of acos.
22261         * math/auto-libm-test-out: Regenerated.
22262         * sysdeps/i386/fpu/libm-test-ulps: Update.
22263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22265         * math/auto-libm-test-in: Add more tests of expm1.
22266         * math/auto-libm-test-out: Regenerated.
22267         * sysdeps/i386/fpu/libm-test-ulps: Update.
22268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22270 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22272         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22273         * math/auto-libm-test-out: Regenerated.
22274         * sysdeps/i386/fpu/libm-test-ulps: Update.
22275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22277         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22280         * math/auto-libm-test-in: Add more tests of log2.
22281         * math/auto-libm-test-out: Regenerated.
22282         * sysdeps/i386/fpu/libm-test-ulps: Update.
22283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22285 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22287         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22288         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22289         _IO_IS_APPENDING bit in READ_WRITE instead.
22291 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22293         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22294         (__determine_cpumask_size): Replace extend_alloca with a
22295         variable-length array.  Do not treat res == 0 as an error.
22297 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22299         [BZ #18100]
22300         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22301         and integer overflow.
22302         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22303         (main): Add integer overflow tests.
22304         * manual/pattern.texi (Calling Wordexp): Document additional use
22305         for WRDE_SYNTAX.
22307 2015-03-23  Alan Modra  <amodra@gmail.com>
22309         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22310         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22311         and false branch of conditional.
22312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22313         Likewise.
22315 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22317         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22318         libc-modules.h
22319         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22320         unused declaration of _hurd_intr_rpc_msg_in_trap.
22321         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22322         defined instead of whether it is non-zero.
22323         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22324         input constraint instead of both input and output constraint.  Use ecx
22325         clobber instead of %ecx.
22326         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22327         mutex_unlock): Use a statement expression instead of an expression list.
22328         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22329         type to vm_size_t instead of vm_address_t.
22330         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22331         defined instead of whether it is non-zero.
22332         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22333         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22334         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22335         comparisons with mapaddr.
22336         * nscd/nscd-client.h: Include <time.h>.
22337         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22338         9th parameter to __vm_region instead of int.
22339         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22340         * scripts/check-local-headers.sh (exclude): Add device/,
22341         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22342         cthreads.h.
22344 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22346         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22347         to account for alignment padding.
22348         * sysdeps/arm/memmove.S: Likewise.
22350 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22352         * sysdeps/unix/sysv/linux/generic/README: New file.
22354 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22356         [BZ #18138]
22357         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22358         (futex_abstimed_wait)
22359         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22360         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22361         of lll_futex_timed_wait.
22363 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22365         [BZ #17542]
22366         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22368 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22370         [BZ #17090]
22371         [BZ #17620]
22372         [BZ #17621]
22373         [BZ #17628]
22374         * NEWS: Update.
22375         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22376         entries with Static TLS too.  Skip entries past the end of the
22377         allocated DTV, from Alan Modra.
22378         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22379         Static TLS DTV entry set up from...
22380         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22381         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22382         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22383         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22384         for Static TLS.
22385         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22386         that the slot we find is associated with the given map before
22387         using its generation count.
22388         * nptl_db/db_info.c: Include ldsodefs.h.
22389         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22390         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22391         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22392         (link_map::l_tls_offset): New struct field.
22393         (dtv_t::counter): Likewise.
22394         (rtld_global): New struct.
22395         (_rtld_global): New rtld variable.
22396         (dl_tls_dtv_slotinfo_list): New rtld global field.
22397         (dtv_slotinfo_list): New struct.
22398         (dtv_slotinfo): Likewise.
22399         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22400         (td_lookup): Rename to...
22401         (td_mod_lookup): ... this.  Use new mod parameter instead of
22402         LIBPTHREAD_SO.
22403         * nptl_db/td_thr_tlsbase.c: Include link.h.
22404         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22405         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22406         addresses even if the DTV is out of date or missing them.
22407         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22408         index zero-length arrays.
22409         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22410         (td_lookup): Make it a macro implemented in terms of...
22411         (td_mod_lookup): ... this declaration.
22412         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22413         (DB_MAIN_VARIABLE): Likewise.
22415 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22417         [BZ #18134]
22418         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22420 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22422         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22424 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22426         [BZ #18128]
22427         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22428         (atomic_add, atomic_increment_and_test)
22429         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22431 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22433         * stdlib/setenv.c (__add_to_environ):
22434         Dump core quickly if setenv (..., NULL, ...) is called.
22436 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22438         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22439         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22440         all the necessary asm magic in one place.
22441         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22442         using those.
22444 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22446         [BZ #14906]
22447         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22448         traced file mtime. Use consistent log message.
22449         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22450         (register_traced_file): Call install_watches. Always set mtime.
22451         (invalidate_cache): Iterate over all trace files. Call install_watches.
22452         (inotify_check_files): Don't inline. Handle watching parent
22453         directories and configuration file movement in and out.
22454         (handle_inotify_events): New function.
22455         (main_loop_poll): Call handle_inotify_events.
22456         (main_loop_epoll): Likewise.
22457         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22458         (struct traced_file): Use array of inotify fds. Add parent directory,
22459         and basename.
22460         (struct database_dyn): Remove unused file_mtime.
22461         (init_traced_file): New inline function.
22462         (define_traced_file): New macro.
22463         * nss/nss_db/db-init.c: Use define_traced_file.
22464         (_nss_db_init): Use init_traced_file.
22465         * nss/nss_files/files-init.c: Use define_traced_file.
22466         (_nss_files_init): Use init_traced_file.
22468 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22470         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22471         [_LIBC]: Do not include <stdlib.h>.
22472         [!_LIBC] (abort): Remove declaration.
22473         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22474         _FP_STATIC_ASSERT instead of conditionally calling abort.
22475         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22476         (_FP_EXTEND_CNAN): Likewise.
22477         (FP_TRUNC): Likewise.
22478         (__FP_CLZ): Likewise.
22479         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22481 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22483         * manual/string.texi (XPG basename): Fix prototype.
22485 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22487         [BZ #18080]
22488         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22489         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22490         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22491         (__setcontext): Likewise.
22492         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22493         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22494         Call rt_sigprocmask syscall one time to set new signal mask
22495         and retrieve the current signal mask instead of two calls.
22496         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22497         (__swapcontext): Likewise.
22498         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22499         * stdlib/tst-setcontext2.c: New file.
22501 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22503         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22505 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22507         [BZ #18093]
22508         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22509         the wrong size.
22511 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22513         [BZ #18043]
22514         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22516 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22518         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22519         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22520         Remove define.
22521         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22522         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22523         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22524         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22525         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22526         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22527         define.
22528         * nptl_db/td_symbol_list.c (td_lookup): Remove
22529         HAVE_ASM_GLOBAL_DOT_NAME code.
22530         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22531         HAVE_ASM_GLOBAL_DOT_NAME check.
22532         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22533         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22534         (DOT_LABEL): Remove define.
22535         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22536         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22537         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22538         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22539         (__TLS_GET_ADDR): Likewise.
22540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22541         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22543 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22545         [BZ #18111]
22546         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22547         (_FPU_SETCW): Initialize cw from fpsr before storing.
22548         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22549         (fesetexceptflag): Rewrite using fpu_control.h.
22550         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22552 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22554         [BZ #18110]
22555         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22556         asms.
22557         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22559 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22561         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22562         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22563         abort.
22564         (_FP_FMA): Likewise.
22565         (_FP_DIV): Likewise.
22567 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22569         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22570         with 0 in that case.
22571         * Makefile (summarize-tests): New canned sequence, factored out of
22572         commands for targets tests and xtests.  Display summary lines that
22573         don't start with PASS: or XFAIL: rather than ones that do start with
22574         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22575         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22576         do start with ERROR: or FAIL:.
22577         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22578         (except for [$(build-shared) = yes]).
22579         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22580         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22581         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22582         * nptl/Makefile: Revert 2015-03-04 changes.
22583         [$(CXX) empty] (tests-unsupported): New variable.
22584         * debug/Makefile: Likewise.
22586         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22587         gnulib file.  Replace __attribute with __attribute__ throughout.
22589 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22591         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22593 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22595         [BZ #18104]
22596         * math/auto-libm-test-in: Add another test of pow.
22597         * math/auto-libm-test-out: Regenerated.
22599 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22601         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22602         $(config-cflags-nofma).
22604 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22606         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22607         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22608         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22609         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22610         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22611         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22612         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22613         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22614         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22615         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22616         Add comment on closing #endif.
22618 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22620         * posix/wordexp.c (CHAR_IN_SET): New macro.
22621         (parse_param): Use it.
22623 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22625         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22627 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22629         [BZ #18043]
22630         * posix/wordexp.c (parse_param): Fix buffer overflow.
22631         * posix/wordexp-test.c (test_case): Add test case.
22633 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22635         [BZ #18042]
22636         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22637         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22639 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22641         [BZ #18043]
22642         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22643         (do_bz18043): Delete.
22644         (at_page_end): New.
22645         (testit): Refactor to have words at the edge of unreadable page.
22647 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22649         [BZ #16734]
22650         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22651         Cleanup read-only streams as well.
22652         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22654 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22656         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22657         <bits/libc-lockP.h>
22659 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22661         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22662         on [__KERNEL__].
22663         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22664         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22665         * soft-fp/op-common.h (_FP_DECL): Likewise.
22667 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22669         * elf/ifuncdep2.c (global): Replace
22670         __attribute__((visibility("protected"))) with
22671         asm (".protected global").
22672         * elf/ifuncmod1.c (global): Likewise.
22673         * elf/ifuncmod5.c (global): Likewise.
22675 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22677         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22678         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22680 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22682         * manual/install.texi (Configuring and compiling):
22683         Document test-wrapper-env-only.
22684         * INSTALL: Regenerated.
22686 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22688         [BZ #18043]
22689         * posix/wordexp.c (parse_param): Fix buffer overflow.
22690         * posix/wordexp-test.c (do_bz18043): Add test case.
22692 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22694         * time/tst-strptime2.c (do_test): Ensure failing tests are
22695         reported correctly.
22696         * time/tst-strptime3.c (do_test): Likewise.
22698 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22700         Fix aio_error thread-safety.
22701         * sysdeps/pthread/aio_error.c: New file
22702         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22703         synchronization.
22705 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22707         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22708         (group_number, vfprintf): Use it.
22709         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22710         (JUMP, REF): Use it.
22711         (WORK_BUFFER_SIZE): New enum constant.
22712         (process_arg, vfprintf): Use it.
22714 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22716         * manual/errno.texi (Error Messages): Complete example function
22717         by adding missing #define.
22718         (program_invocation_name): Add statement indicating GNU
22719         extension and reference which header file declares the variable.
22720         (program_invocation_short_name): Likewise.
22722 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22724         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22725         compatibility note.
22727 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22729         * Makeconfig (test-wrapper-env-only): New variable.
22730         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22731         then use that with $(test-wrapper-env-only) rather than using
22732         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22734 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22736         [BZ #18082]
22737         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22738         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22739         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22740         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22741         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22742         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22743         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22744         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22745         Likewise.
22746         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22747         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22748         Likewise.
22749         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22750         Likewise.
22751         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22752         Likewise.
22753         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22754         Likewise.
22755         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22756         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22757         Likewise.
22758         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22759         Likewise.
22760         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22761         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22763 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22765         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22766         (ETH_ALEN): New macro.
22767         (struct ether_addr): Use it for length of ether_addr_octet.
22769         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22770         (setdb): Don't call __nss_configure_lookup for "rpc".
22771         (do_test): Don't call test_rpc.
22772         (output_rpcent, test_rpc): Functions moved ...
22773         * sunrpc/test-rpcent.c: ... to this new file.
22774         * sunrpc/Makefile (tests): Add it.
22776         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22777         __xpg_sigpause.
22778         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22779         * nptl/tst-signal6.c: Likewise.
22780         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22781         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22783         * configure.ac (libc_cv_cxx_link_ok): New check.
22784         Reset CXX to empty if it fails to link.
22785         * configure: Regenerated.
22786         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22787         bug-atexit3-lib only if $(CXX) is nonempty.
22788         * nptl/Makefile (tests): Likewise for tst-cancel24.
22789         (tests, tests-static): Likewise for tst-cancel24-static.
22790         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22791         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22792         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22793         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22795 2015-03-04  Andreas Schwab  <schwab@suse.de>
22797         [BZ #17631]
22798         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22799         for non-GCC compilers.
22800         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22801         Likewise.
22803 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22805         [BZ #17776]
22806         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22807         integer before bitwise and assembly operations.
22808         (feclearexcept): Likewise.
22809         * math/test-fenvinline.c: New file.
22810         * math/Makefile: Add test-fenvinline test.
22812 2015-03-03  Alan Modra  <amodra@gmail.com>
22814         [BZ #16512]
22815         * scripts/localplt.awk: Strip off symbol version.
22816         * NEWS: Mention bug fix.
22818 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22820         * sysdeps/pthread/timer_routines.c
22821         (timer_free_list, thread_free_list, thread_active_list): Make static.
22823 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22825         [BZ #17779]
22826         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22827         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22828         Undefine.
22829         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22830         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22831         Likewise.
22832         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22833         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22834         Likewise.
22836 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22838         [BZ #18036]
22839         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22840         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22842 2015-03-02  Andreas Schwab  <schwab@suse.de>
22844         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22845         variable name.
22847 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22849         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22850         Return error status.
22852 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22854         [BZ #15969]
22855         * locale/findlocale.c (_nl_find_locale): Introduce const
22856         version of loc_name and drop unsafe type casts.
22858 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22860         * dlfcn/tststatic2.c (main): Converted to ...
22861         (do_test): ... this.
22862         (TEST_FUNCTION): New macro.
22863         Include test-skeleton.c.
22865 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22867         [BZ #17711]
22868         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22869         (tests-pie): Add vismain.
22870         (CFLAGS-vismain.c): New.
22871         * elf/vismain.c: Add comments for PIE requirement.
22873 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22875         [BZ #18046]
22876         [BZ #18047]
22877         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22878         0x1p-56L as threshold for just returning the argument.
22879         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22880         0x1p-32L as threshold for just returning the argument.
22881         * math/auto-libm-test-in: Add more tests of atanh.
22882         * math/auto-libm-test-out: Regenerated.
22883         * sysdeps/i386/fpu/libm-test-ulps: Update.
22884         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22886 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22888         * string/bcopy.c (bcopy): Call memmove for performance.
22890 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22892         * string/bzero.c (__bzero): Call memset for performance.
22894 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22896         [BZ #18068]
22897         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22898         to 00100000.
22900 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22902         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22904 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22906         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22907         (__kernel_standard): Use CSTR macro when setting exc.name.
22908         * sysdeps/ieee754/Makefile [$(subdir) = math]
22909         (CFLAGS-k_standard.c): Remove variable.
22911         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22912         setting p and q from "else if" to "else".
22913         (qzero): Likewise.
22914         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22915         (qone): Likewise.
22916         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22917         (qzerof): Likewise.
22918         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22919         (qonef): Likewise.
22920         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22921         (qzero): Likewise.
22922         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22923         (qone): Likewise.
22925         [BZ #18038]
22926         [BZ #18039]
22927         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22928         return pi/2 for arguments below 0x1p-113L.
22929         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22930         return pi/2 for arguments below 0x1p-106L.
22931         * math/auto-libm-test-in: Add more tests of acos.
22932         * math/auto-libm-test-out: Regenerated.
22934         [BZ #16351]
22935         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22936         (MO): New macro.
22937         (__ieee754_asin): Force underflow exception for results with small
22938         absolute value.
22939         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22940         (MO): New macro.
22941         (__ieee754_asinf): Force underflow exception for results with
22942         small absolute value.
22943         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22944         (__ieee754_asin): Force underflow exception for results with small
22945         absolute value.
22946         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22947         (__ieee754_asinf): Force underflow exception for results with
22948         small absolute value.
22949         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22950         (__ieee754_asinl): Force underflow exception for results with
22951         small absolute value.
22952         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22953         (__ieee754_asinl): Force underflow exception for results with
22954         small absolute value.
22955         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22956         (__ieee754_asinl): Force underflow exception for results with
22957         small absolute value.
22958         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22959         Include <math.h>.
22960         * math/auto-libm-test-in: Do not mark underflow exceptions as
22961         possibly missing for bug 16351.
22962         * math/auto-libm-test-out: Regenerated.
22964         [BZ #18030]
22965         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22966         of power of 2 down when low part has opposite sign.
22967         * math/libm-test.inc (logb_test_data): Add more tests.
22969 2015-02-26  Andreas Schwab  <schwab@suse.de>
22971         [BZ #18032]
22972         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22973         over collating symbol inside a bracket expression.  Minor cleanup.
22974         * posix/tst-fnmatch3.c (do_test): Add test case.
22976 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22978         [BZ #18029]
22979         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22980         Adjust exponent of power of 2 down when low part has opposite
22981         sign.
22982         * math/libm-test.inc (ilogb_test_data): Add more tests.
22984 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22986         [BZ #15969]
22987         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22988         the previous change.
22990         [BZ #15969]
22991         * locale/findlocale.c (_nl_find_locale): Retry archive search
22992         after alias expansion.
22994 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22996         * iconv/tst-iconv3.c (main): Converted to ...
22997         (do_test): ... this.
22998         (TEST_FUNCTION): New macro.
22999         Include test-skeleton.c.
23001         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23002         (convert): Make function static.
23003         (test_unalign): Likewise.  Add const to argument pointee types.
23004         (main): Replace with static function do_test.
23005         Print "Succeeded." only if RET is zero.
23006         (TEST_FUNCTION): New macro.
23007         Include test-skeleton.c.
23009         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23010         returns a null pointer.
23012 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23014         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23015         to __memcpy_ppc only for static builds.
23017 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23019         [BZ #18020]
23020         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23021         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23022         * math/auto-libm-test-in: Add more tests of asinh.
23023         * math/auto-libm-test-out: Regenerated.
23024         * sysdeps/i386/fpu/libm-test-ulps: Update.
23025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23027 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23029         [BZ #15850]
23030         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23031         and ip6_mtuinfo definitions here.
23032         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23033         in this define too.  Update comment.
23035 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23037         * elf/sprof.c (load_shobj): Tweak error message to match others.
23039 2015-02-24  Kevin Easton  <kevin@guarana.org>
23041         [BZ #16145] (partial fix)
23042         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23043         to reduce lock contention.
23045 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23047         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23048         (struct timex): Update time comment.
23049         (ADJ_SETOFFSET): Define.
23051 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23053         [BZ #18019]
23054         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23055         2**56 not 2**28 as threshold for log (2x) formula.
23056         * math/auto-libm-test-in: Add more tests of acosh.
23057         * math/auto-libm-test-out: Regenerated.
23058         * sysdeps/i386/fpu/libm-test-ulps: Update.
23059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23061 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23063         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23064         parenthesis around the buf assignment.
23065         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23067 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23069         [BZ #16783]
23070         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23071         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23072         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23073         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23074         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23075         * math/libm-test.inc (scalb_test_data): Add more tests.
23077 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23079         [BZ #17916]
23080         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23081         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23083 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23085         [BZ #17523]
23086         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23087         * io/bits/fcntl2.h (open): Use it.
23088         (openat): Likewise.
23089         * io/open.c (__libc_open): Likewise.
23090         * io/open64.c (__libc_open64): Likewise.
23091         * io/open64_2.c (__open64_2): Likewise.
23092         * io/open_2.c (__open_2): Likewise.
23093         * io/openat.c (__openat): Likewise.
23094         * io/openat64.c (__openat64): Likewise.
23095         * io/openat64_2.c (__openat64_2): Likewise.
23096         * io/openat_2.c (__openat_2): Likewise.
23097         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23098         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23099         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23100         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23101         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23102         (__open_nocancel): Likewise.
23103         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23104         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23105         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23107 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23109         [BZ #14841]
23110         * resolv/gethnamaddr.c (getanswer): Skip logging if
23111         RES_USE_DNSSEC is set.
23112         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23114 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23116         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23118 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23120         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23121         201304L, for Unicode 7.
23123 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23125         [BZ #17836]
23126         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23127         shared library.  Add gmon-start.os otherwise.
23128         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23129         $(objpfx)gmon-start.os if builing shared library.
23130         ($(objpfx)g$(static-start-installed-name)): Likewise.
23132 2015-02-23  Andreas Schwab  <schwab@suse.de>
23134         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23136 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23138         [BZ #17269]
23139         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23140         (enlarge_userbuf): Likewise.
23142 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23144         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23145         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23146         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23147         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23149 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23151         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23152         expression inside statement expression.
23154 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23156         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23157         <sysdeps/nptl/lowlevellock.h> and remove macros and
23158         functions that are now defined there.
23159         (SYS_futex): Remove.
23160         (lll_compare_and_swap): Remove.
23161         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23163 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23165         [BZ #17999]
23166         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23167         instead of scandirat.
23168         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23169         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23170         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23171         __scandirat.
23172         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23173         (__scandirat): Declare.  Use libc_hidden_proto.
23174         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23175         Remove variable.
23176         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23178 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23180         [BZ #15319]
23181         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23182         (MO): New macro.
23183         (__ieee754_atan2): For results with small absolute value, force
23184         underflow exception and remove excess range and precision from
23185         return value.
23186         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23187         (MO): New macro.
23188         (__ieee754_atan2f): For results with small absolute value, force
23189         underflow exception and remove excess range and precision from
23190         return value.
23191         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23192         (MO): New macro.
23193         (__atan): For results with small absolute value, force underflow
23194         exception and remove excess range and precision from return value.
23195         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23196         (MO): New macro.
23197         (__atanf): For results with small absolute value, force underflow
23198         exception and remove excess range and precision from return value.
23199         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23200         <math.h>.
23201         (__ieee754_atan2): Force underflow exception for results with
23202         small absolute value.
23203         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23204         <math_private.h>.
23205         (atan): Force underflow exception for results with small absolute
23206         value.
23207         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23208         (__atanf): Force underflow exception for results with small
23209         absolute value.
23210         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23211         <math.h>.
23212         (__atanl): Force underflow exception for results with small
23213         absolute value.
23214         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23215         (__atanl): Force underflow exception for results with small
23216         absolute value.
23217         * sysdeps/x86/fpu/bits/mathinline.h
23218         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23219         (__ieee754_atan2): Only define inline for long double.
23220         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23221         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23222         * math/auto-libm-test-in: Do not mark underflow exceptions as
23223         possibly missing for bug 15319.  Add more tests of atan2.
23224         * math/auto-libm-test-out: Regenerated.
23225         * math/libm-test.inc (casin_test_data): Do not mark underflow
23226         exceptions as possibly missing for bug 15319.
23227         (casinh_test_data): Likewise.
23228         * sysdeps/i386/fpu/libm-test-ulps: Update.
23230 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23232         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23233         * sysdeps/mips/bits/endian.h: Fix comments.
23235 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23237         [BZ #17996]
23238         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23239         (hdestroy_r): Likewise.
23240         (hsearch_r): Likewise.
23241         (__hcreate_r): Declare and use libc_hidden_proto.
23242         (__hdestroy_r): Likewise.
23243         (__hsearch_r): Likewise.
23244         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23245         (hcreate): Call __hcreate_r instead of hcreate_r.
23246         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23247         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23248         as weak alias of __hcreate_r.
23249         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23250         __hdestroy_r.
23251         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23252         __hsearch_r.
23253         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23254         Remove variable.
23255         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23256         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23257         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23258         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23260 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23262         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23263         arena_lock into a single arena_get.
23265 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23267         * dl-reloc.c: Inlucde libc-internal.h.
23268         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23269         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23270         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23271         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23272         (grow_heap): Likewise.
23273         * malloc/malloc.c: Include libc-internal.h.
23274         (do_check_malloc): Call powerof2.
23275         (sysmalloc): Use pagesize. Call ALIGN_UP.
23276         (systrim): Use pagesize.
23277         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23278         (__libc_valloc): Use pagesize.
23279         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23281 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23283         [BZ #17991]
23284         * include/sys/resource.h (__getrlimit64): Declare.  Use
23285         libc_hidden_proto.
23286         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23287         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23288         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23289         getrlimit64.
23290         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23291         __getrlimit64.
23292         [!getrlimit64] (getrlimit64): Define as weak alias of
23293         __getrlimit64.  Use libc_hidden_weak.
23294         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23295         using __getrlimit64 not __new_getrlimit64.
23296         (__GI_getrlimit64): Likewise.
23297         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23298         Likewise.
23299         (__GI_getrlimit64): Likewise.
23300         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23302         (getrlimit): Add __getrlimit64 alias.
23303         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23304         Likewise.
23305         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23306         Remove variable.
23307         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23308         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23310 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23312         * libio/fileops.c: Add missing sys/mman.h
23313         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23315 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23317         * manual/math.texi (Errors in Math Functions): Clarify goals
23318         regarding inexact and underflow exceptions.
23320 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23322         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23323         * sysdeps/mips/memset.S: Ditto.
23325 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23327         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23329 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23331         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23332         (__v1longjmp): Remove versioned symbol.
23333         (__v1siglongjmp): Remove alias and versioned symbol.
23334         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23335         (__v2siglongjmp): Likewise.
23337 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23339         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23341 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23343         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23345 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23347         [BZ #17987]
23348         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23349         zero result does not depend on the sign resulting from
23350         subtraction.
23351         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23352         Likewise.
23353         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23354         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23355         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23356         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23357         * math/libm-test.inc (remquo_test_data): Add more tests.
23359 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23361         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23362         Problem reported by J William Piggott.
23364 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23366         [BZ #17978]
23367         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23368         products 4 * y and 2 * y where those would overflow.
23369         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23370         Likewise.
23371         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23372         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23373         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23374         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23375         * math/libm-test.inc (remquo_test_data): Add more tests.
23377         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23379         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23380         [defined _COMPILING_NEWLIB].
23381         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23382         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23384         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23385         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23387 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23389         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23390         acquired.
23392 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23394         [BZ #17792]
23395         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23396         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23397         HOST_STACK_END_ADDR): Likewise.
23399 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23401         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23402         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23403         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23405 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23407         * sysdeps/generic/c++-types.data: New file.
23408         * sysdeps/generic/ld.abilist: New file.
23409         * sysdeps/generic/libBrokenLocale.abilist: New file.
23410         * sysdeps/generic/libanl.abilist: New file.
23411         * sysdeps/generic/libc.abilist: New file.
23412         * sysdeps/generic/libcrypt.abilist: New file.
23413         * sysdeps/generic/libdl.abilist: New file.
23414         * sysdeps/generic/libm.abilist: New file.
23415         * sysdeps/generic/libpthread.abilist: New file.
23416         * sysdeps/generic/libresolv.abilist: New file.
23417         * sysdeps/generic/librt.abilist: New file.
23419 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23421         [BZ #17569]
23422         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23423         Compute absolute value of x as modified by fmod, not original
23424         value of x.
23425         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23426         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23427         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23428         RUN_TEST_ffI_f1_mod8.
23429         (remquo_test_data): Add more tests.
23431 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23433         * sysdeps/init_array/pt-crti.S: New file.
23435 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23437         [BZ #17967]
23438         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23439         __builtin_fmaf instead of relying on contraction of a * b + c.
23441 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23443         [BZ #17969]
23444         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23445         node.
23447 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23449         [BZ #17964]
23450         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23451         __builtin_fma instead of relying on contraction of a * b + c.
23453 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23455         * Makeconfig (ASFLAGS): Add -Werror=undef.
23456         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23457         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23458         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23460         * Makeconfig (after-link): New variable.
23461         (+link-pie, +link-pie-tests): Use it.
23462         (+link-static, +link-static-tests): Likewise.
23463         (+link, +link-tests): Likewise.
23464         * Makerules (build-module, build-module-asneeded): Likewise.
23465         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23466         Likewise.
23467         * elf/Makefile ($(objpfx)ld.so): Likewise.
23469 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23471         [BZ #17965]
23472         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23473         both struct timeval and struct timespec.
23475 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23477         [BZ #16560]
23478         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23479         and redefine.
23480         (__ieee754_exp2l): Do not multiply small fractional parts by
23481         M_LN2l.
23482         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23483         small argument.
23484         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23485         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23486         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23487         * math/auto-libm-test-in: Add more tests of exp2.
23488         * math/auto-libm-test-out: Regenerated.
23490 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23492         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23493         unaligned path.
23495 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23497         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23498         little endian.
23500 2015-02-12  Andreas Schwab  <schwab@suse.de>
23502         [BZ #15790]
23503         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23504         Filter out elision flags from value returned in kind.
23505         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23506         * nptl/tst-pthread-mutexattr.c: New file.
23508 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23510         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23511         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23512         into gnu-gnu, and update comment to refer to abi-tags.
23514 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23516         [BZ #15467]
23517         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23518         (__sincos): Set errno to EDOM for infinite argument.
23519         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23520         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23521         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23522         (__sincosl): Set errno to EDOM for infinite argument.
23523         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23524         (__sincosl): Set errno to EDOM for infinite argument.
23525         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23526         (__sincosl): Set errno to EDOM for infinite argument.
23527         * math/libm-test.inc (sincos_test_data): Test errno setting.
23529 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23531         * string/strxfrm_l.c: Remove #define STRCMP.
23532         * string/strcoll_l.c: Remove #define STRLEN.
23533         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23534         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23536 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23538         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23539         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23540         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23541         * sysdeps/mips/mips64/Makefile: ... here.
23542         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23543         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23544         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23545         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23546         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23547         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23548         * sysdeps/mips/mips64/n64/Implies: Likewise.
23550 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23552         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23553         <sys/time.h>, <string.h>, and <errno.h>.
23554         (dest_offset, dest_address, value, zero): Remove unused variables.
23555         (ldouble): Remove typedef.
23556         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23557         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23558         1).  Fix code style.
23559         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23560         (check): Function removed.
23561         (CHECK): New macro.
23562         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23563         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23564         Don't call set_sigaction_FP and remove_sigaction_FP here.
23565         (ldouble_test): Just use 'long double' as macro argument, no need for
23566         the 'ldouble' typedef.
23567         (do_test): Set up SIGFPE handler at start, using plain signal rather
23568         than sigaction.  Fix code style.
23570 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23572         [BZ #17949]
23573         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23574         jump label.
23576 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23578         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23579         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23581         * sysdeps/powerpc/configure.ac: Remove file.
23582         * sysdeps/powerpc/configure: Likewise.
23584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23585         [sysdep_routines]: Remove wordcopy-power6 object.
23586         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23587         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23588         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23589         (__memmove_ppc32): Likewise.
23590         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23591         file.
23592         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23593         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23594         Remove preprocessor.
23596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23597         [sysdep_routines]: Remove wide chars objects.
23598         [wcsmbs]: New rule for wide char objects.
23600         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23601         Remove wordcopy-power6 obejct.
23602         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23603         Use local call for wordcopy and memcpy symbols.
23604         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23605         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23606         implementation for loader.
23607         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23609         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23610         Remove wordcopy-power7 object.
23611         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23612         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23613         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23614         (_wordcopy_fwd_dest_aligned): Likewise.
23615         (_wordcopy_bwd_aligned): Likewise.
23616         (_wordcopy_bwd_dest_aligned): Likewise.
23618         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23619         Rewrite to call __memmove_ppc instead of include default
23620         implementation.
23622         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23623         Remove wide chars objects.
23624         [wcsmbs]: New rule for wide char objects.
23626 2015-02-09  Andreas Schwab  <schwab@suse.de>
23628         [BZ #17912]
23629         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23630         in terms of __O_DIRECTORY.
23632 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23634         * time/getdate.c: Include <stdbool.h>.
23635         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23636         call PTR_MANGLE.
23637         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23638         PTR_DEMANGLE.
23640 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23642         Add ersatz _Static_assert on older C hosts
23643         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23644         pre-C11 C platform that is not known to support _Static_assert.
23646 2015-02-07  Richard Braun  <rbraun@sceen.net>
23648         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23649         sigstate.
23650         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23652 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23654         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23655         priority against unexistent AIO_PRIO_DELTA_MAX.
23656         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23657         instead of int.
23658         * misc/fchflags.c (fchflags): Likewise.
23659         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23660         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23661         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23662         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23663         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23664         Declare macros.
23665         [__USE_MISC] (chflags, fchflags): Declare functions.
23666         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23667         EINVAL when nfds is greater than FD_SETSIZE.
23668         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23669         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23670         45.
23671         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23672         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23673         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23674         MACH_RCV_TIMED_OUT.
23675         * hurd/hurd/signal.h (_hurd_self_sigstate,
23676         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23677         Explicit casts from void *.
23678         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23679         * abi-tags: Rename gnu-gnu os into gnu.
23681         [BZ #4719]
23682         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23683         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23684         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23685         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23686         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23687         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23689         [BZ #17944]
23690         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23691         duplicates ADDR->sun_path with sockaddr LEN limitation.
23692         * sysdeps/mach/hurd/connect.c: Include <string.h>
23693         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23694         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23695         * sysdeps/mach/hurd/sendto.c: Likewise.
23696         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23697         implementing it by hand.
23699 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23701         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23702         Use sfi_breg on ldr.
23703         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23704         Likewise.
23706         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23707         it's defined.
23708         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23709         Test SIGSETXID only if it's defined.
23711         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23713         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23714         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23716         * nptl/tst-align2.c: Moved ...
23717         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23718         * nptl/Makefile (tests): Remove tst-align2.
23719         * sysdeps/unix/sysv/linux/Makefile
23720         [$(subdir) = nptl] (tests): Add tst-align-clone.
23721         * nptl/tst-getpid1.c: Moved ...
23722         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23723         * nptl/tst-getpid2.c: Moved ...
23724         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23725         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23726         * sysdeps/unix/sysv/linux/Makefile
23727         [$(subdir) = nptl] (tests): ... here.
23728         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23729         * sysdeps/unix/sysv/linux/Makefile
23730         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23732         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23733         Drop trailing \n from perror argument.  Use return rather than exit.
23735         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23736         on [SA_SIGINFO].
23737         * nptl/tst-cancel21.c (do_test): Likewise.
23738         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23739         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23740         [!SA_SIGINFO]: Make it a stub test.
23742         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23743         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23745         * posix/tst-getlogin.c: Move to ...
23746         * login/tst-getlogin.c: ... here.
23747         * posix/Makefile (tests): Move tst-getlogin to ...
23748         * login/Makefile (tests): ... here.
23750         * libio/tst-atime.c (do_test): Move local variables SV and E
23751         inside [ST_NOATIME] conditional.
23753         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23755         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23757         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23758         (wait_code): New function replaces macro.
23759         Call nanosleep rather than syscall.
23761         * nptl/pt-system.c: Rewritten.  Put everything under
23762         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23763         Use IFUNC to redirect when possible.
23765         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23766         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23767         Use IFUNC to redirect when possible.
23769         * nptl/pt-fork.c: Rewritten.  Put everything under
23770         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23771         Use IFUNC to redirect when possible.
23772         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23774         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23775         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23776         unconditionally nowadays.  This included the only reference to
23777         __vdso_clock_gettime that appears outside libc proper.
23778         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23779         Remove version set (containing only __vdso_clock_gettime).
23780         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23781         Add attribute_hidden.
23782         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23783         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23784         libc_hidden_data_def.
23785         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23786         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23788         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23789         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23790         setrpcent, and getrpcport to ...
23791         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23792         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23793         getrpcbynumber_r, and getrpcent_r to ...
23794         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23795         * inet/getrpcbyname.c: Moved ...
23796         * sunrpc/getrpcbyname.c: ... here.
23797         * inet/getrpcbyname_r.c: Moved ...
23798         * sunrpc/getrpcbyname_r.c: ... here.
23799         * inet/getrpcbynumber.c: Moved ...
23800         * sunrpc/getrpcbynumber.c: ... here.
23801         * inet/getrpcbynumber_r.c: Moved ...
23802         * sunrpc/getrpcbynumber_r.c: ... here.
23803         * inet/getrpcent.c: Moved ...
23804         * sunrpc/getrpcent.c: ... here.
23805         * inet/getrpcent_r.c: Moved ...
23806         * sunrpc/getrpcent_r.c: ... here.
23807         * inet/Makefile (routines): Move those to ...
23808         * sunrpc/Makefile (routines): ... here.
23809         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23810         the $(subdirs) list.
23811         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23812         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23813         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23814         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23816         * elf/Makefile (routines): Include $(all-dl-routines), not just
23817         $(dl-routines).
23818         (rtld-routines): Likewise.  Use = rather than :=.
23819         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23820         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23821         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23822         * sysdeps/arm/Makefile: Likewise.
23823         * sysdeps/i386/Makefile: Likewise.
23824         * sysdeps/x86_64/Makefile: Likewise.
23825         * sysdeps/hppa/Makefile [$(subdir) = elf]
23826         (sysdep_routines, sysdep-rtld-routines): Don't add
23827         $(sysdep-dl-routines) to these.
23828         * sysdeps/ia64/Makefile: Likewise.
23829         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23830         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23831         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23832         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23833         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23834         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23835         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23836         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23837         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23838         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23839         these; sysdep-dl-routines alone is enough.
23841 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23843         [BZ #17932]
23844         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23845         where multiplication results in zero and third argument is finite
23846         and nonzero.
23847         * math/auto-libm-test-in: Add more tests of fma.
23848         * math/auto-libm-test-out: Regenerated.
23850         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23851         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23852         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23853         (_FP_CMP_EQ): Likewise.
23854         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23856         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23857         extra argument CHECK_NAN.  Redefine as wrapper around
23858         _FP_EXTEND_CNAN.
23860 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23862         * version.h (RELEASE): Set to "stable".
23863         (VERSION): Set to "2.21"
23864         * include/features.h (__GLIBC_MINOR__): Set to 21.
23866         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23868 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23869             Paul Eggert  <eggert@cs.ucla.edu>
23871         [BZ #16618]
23872         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23873         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23874         size in bytes. Store needed elements in wpmax. Use needed size
23875         in bytes for extend_alloca.
23877 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23879         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23880         binutls 2.25, and texinfo 5.2.
23881         * INSTALL: Regenerate.
23882         * sysdeps/nios2/configure: Regenerate.
23883         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23884         * manual/contrib.texi: Update.
23885         * po/be.po: Update.
23886         * po/bg.po: Update.
23887         * po/ca.po: Update.
23888         * po/cs.po: Update.
23889         * po/da.po: Update.
23890         * po/de.po: Update.
23891         * po/el.po: Update.
23892         * po/eo.po: Update.
23893         * po/es.po: Update.
23894         * po/fi.po: Update.
23895         * po/fr.po: Update.
23896         * po/gl.po: Update.
23897         * po/hr.po: Update.
23898         * po/hu.po: Update.
23899         * po/ia.po: Update.
23900         * po/id.po: Update.
23901         * po/it.po: Update.
23902         * po/ja.po: Update.
23903         * po/ko.po: Update.
23904         * po/lt.po: Update.
23905         * po/nb.po: Update.
23906         * po/nl.po: Update.
23907         * po/pl.po: Update.
23908         * po/pt_BR.po: Update.
23909         * po/ru.po: Update.
23910         * po/rw.po: Update.
23911         * po/sk.po: Update.
23912         * po/sl.po: Update.
23913         * po/sv.po: Update.
23914         * po/tr.po: Update.
23915         * po/uk.po: Update.
23916         * po/vi.po: Update.
23917         * po/zh_CN.po: Update.
23918         * po/zh_TW.po: Update.
23920         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23921         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23922         * sysdeps/hppa/dl-irel.h: Remove #warning.
23923         * sysdeps/hppa/entry.h: Provide prototype for
23924         __canonicalize_funcptr_for_compare and cast argument.
23925         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23926         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23927         * sysdeps/hppa/sotruss-lib.c: New file.
23928         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23929         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23930         (atomic_compare_and_exchange_bool_acq): Likewise.
23931         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23932         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23934         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23935         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23936         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23938 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23940         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23941         called function in non-PIC case.
23943 2015-01-31  David S. Miller  <davem@davemloft.net>
23945         * sysdeps/sparc/sparc32/bits/atomic.h
23946         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23947         unlock not after it.
23948         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23949         volatile register usage warnings from the compiler.
23951         * sysdeps/sparc/nptl/sem_init.c: Delete.
23952         * sysdeps/sparc/nptl/sem_post.c: Delete.
23953         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23954         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23955         * sysdeps/sparc/sparc32/sem_init.c: New file.
23956         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23957         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23958         padding explicitly initialized.
23959         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23960         padding for in-semaphore spinlock.
23961         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23962         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23963         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23964         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23965         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23966         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23967         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23968         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23969         version.
23970         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23971         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23973 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23975         [BZ #17801]
23976         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23977         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23978         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23979         New.
23980         (index_AVX_Fast_Unaligned_Load): Likewise.
23981         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23982         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23983         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23984         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23985         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23986         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23987         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23988         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23989         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23991 2015-01-29  Andreas Schwab  <schwab@suse.de>
23993         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23995 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23997         [BZ #17892]
23998         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24000 2015-01-28  Martin Sebor  <msebor@redhat.com>
24002         * math/README.libm-test: Clarify. Add "How to read the test output."
24004 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24006         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24007         Define to 0.
24009 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24011         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24012         (__HAVE_64B_ATOMICS): Define to 0.
24014 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24016         [BZ #17885]
24017         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24018         value to set as new flag.
24020         [BZ #16576]
24021         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24022         and use _ARCH_PPCSQ instead.
24023         (__ieee754_sqrt): Likewise.
24024         (__ieee754_sqrtf): Likewise.
24025         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24026         _ARCH_PPCSQ is defined.
24027         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24028         fsqrt instruction.
24029         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24030         _ARCH_PPCSQ is defined.
24031         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24032         fsqrts instruction.
24033         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24035 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24037         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24038         bug (GCC BZ #64739).
24040 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24042         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24043         Mark _retval as used.
24044         (lll_futex_wake_unlock): Likewise.
24045         (lll_futex_timed_wait_requeue_pi): Likewise.
24047         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24048         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24049         register variables.
24051         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24052         libm_hidden_def.
24054         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24055         (__bswap_64): Mark as __always_inline.
24057 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24059         [BZ #15378]
24060         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24061         when none of the search directories exist.
24063 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24065         [BZ #17869]
24066         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24067         power8 in .machine directive.
24069         [BZ #17868]
24070         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24071         set dependency from opd value.
24073 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24076         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24077         architecture.
24079 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24081         [BZ #17870]
24082         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24083         with uint64_t.
24084         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24085         (uint64_t) 1.
24086         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24087         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24088         Replace 1UL with (uint64_t) 1.
24089         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24090         int with uint64_t.
24092 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24094         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24095         (if_freenameindex): Likewise.
24097         * resource/getrlimit64.c: Add missing libc_hidden_def.
24099 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24101         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24102         __label__.
24103         (_FP_FMA): Likewise.
24104         (_FP_TO_INT_ROUND): Likewise.
24105         (_FP_FROM_INT): Likewise.
24107 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24109         [BZ #16418]
24110         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24111         Make code racy and cancel safe.
24113 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24115         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24116         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24117         attribution.
24119         * pwd/tst-getpw.c: Rewrite.
24121         [BZ #17702]
24122         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24123         (modules-names): Add moddummy1 and moddummy2.
24124         ($(objpfx)tst-rec-dlopen): Define.
24125         * dlfcn/moddummy1.c: New file.
24126         * dlfcn/moddummy2.c: New file.
24127         * dlfcn/tst-rec-dlopen.c: New file.
24128         * elf/dl-cache.c (_dl_load_cache_lookup):
24129         Return char*. Copy result with alloca/strcpy/strdup.
24130         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24131         returns char*. Free cached. If not saving realname
24132         free cached.
24133         * elf/dl-open.c (dl_open_worker): Do not assert that
24134         _r_debug->r_state is RT_CONSISTENT.
24135         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24136         returns char*.
24138 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24139             Carlos O'Donell  <carlos@redhat.com>
24141         [BZ #12674]
24142         * nptl/sem_waitcommon.c: New file.
24143         * nptl/sem_wait.c: Include sem_waitcommon.c.
24144         (__sem_wait_cleanup, do_futex_wait): Remove.
24145         (__new_sem_wait): Adapt.
24146         (__new_sem_trywait): New function.
24147         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24148         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24149         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24150         (sem_timedwait): Adapt.
24151         * nptl/sem_post.c (__new_sem_post): Adapt.
24152         (futex_wake): New function.
24153         (__old_sem_post): Add release MO fence.
24154         * nptl/sem_open.c (sem_open): Adapt.
24155         * nptl/sem_init.c (__new_sem_init): Adapt.
24156         (futex_private_if_supported): New function.
24157         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24158         (__old_sem_getvalue): Add using previous code.
24159         * sysdeps/nptl/internaltypes.h: Adapt.
24160         * nptl/tst-sem13.c (do_test): Adapt.
24161         * nptl/tst-sem11.c (main): Adapt.
24162         * nptl/sem_trywait.c: Remove.
24163         * nptl/DESIGN-sem.txt: Remove.
24164         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24165         (gen-as-const-headers): Remove structsem.sym.
24166         * nptl/structsem.sym: Remove.
24167         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24168         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24169         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24170         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24171         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24172         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24173         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24174         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24175         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24176         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24177         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24178         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24179         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24180         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24181         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24182         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24183         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24184         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24185         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24186         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24187         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24188         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24190 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24192         * INSTALL: Regenerated.
24194         * po/libc.pot: Regenerated.
24196 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24197             Sandra Loosemore  <sandra@codesourcery.com>
24198             Andrew Jenner  <andrew@codesourcery.com>
24199             Joseph Myers  <joseph@codesourcery.com>
24200             Nathan Sidwell  <nathan@codesourcery.com>
24202         * NEWS: Mention new Nios II port.
24203         * sysdeps/nios2/Implies: New file.
24204         * sysdeps/nios2/Makefile: New file.
24205         * sysdeps/nios2/Subdirs: New file.
24206         * sysdeps/nios2/Versions: New file.
24207         * sysdeps/nios2/__longjmp.S: New file.
24208         * sysdeps/nios2/abort-instr.h: New file.
24209         * sysdeps/nios2/backtrace.c: New file.
24210         * sysdeps/nios2/bits/endian.h: New file.
24211         * sysdeps/nios2/bits/fenv.h: New file.
24212         * sysdeps/nios2/bits/link.h: New file.
24213         * sysdeps/nios2/bits/setjmp.h: New file.
24214         * sysdeps/nios2/bsd-_setjmp.S: New file.
24215         * sysdeps/nios2/bsd-setjmp.S: New file.
24216         * sysdeps/nios2/configure: New generated file.
24217         * sysdeps/nios2/configure.ac: New file.
24218         * sysdeps/nios2/crti.S: New file.
24219         * sysdeps/nios2/crtn.S: New file.
24220         * sysdeps/nios2/dl-init.c: New file.
24221         * sysdeps/nios2/dl-machine.h: New file.
24222         * sysdeps/nios2/dl-sysdep.h: New file.
24223         * sysdeps/nios2/dl-tls.h: New file.
24224         * sysdeps/nios2/dl-trampoline.S: New file.
24225         * sysdeps/nios2/gccframe.h: New file.
24226         * sysdeps/nios2/gmp-mparam.h: New file.
24227         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24228         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24229         * sysdeps/nios2/ldsodefs.h: New file.
24230         * sysdeps/nios2/libc-tls.c: New file.
24231         * sysdeps/nios2/libm-test-ulps: New file.
24232         * sysdeps/nios2/machine-gmon.h: New file.
24233         * sysdeps/nios2/math-tests.h: New file.
24234         * sysdeps/nios2/math_private.h: New file.
24235         * sysdeps/nios2/memusage.h: New file.
24236         * sysdeps/nios2/nptl/Makefile: New file.
24237         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24238         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24239         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24240         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24241         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24242         * sysdeps/nios2/nptl/tls.h: New file.
24243         * sysdeps/nios2/preconfigure: New file.
24244         * sysdeps/nios2/s_fma.c: New file.
24245         * sysdeps/nios2/s_fmaf.c: New file.
24246         * sysdeps/nios2/setjmp.S: New file.
24247         * sysdeps/nios2/sfp-machine.h: New file.
24248         * sysdeps/nios2/sotruss-lib.c: New file.
24249         * sysdeps/nios2/stackguard-macros.h: New file.
24250         * sysdeps/nios2/stackinfo.h: New file.
24251         * sysdeps/nios2/start.S: New file.
24252         * sysdeps/nios2/sysdep.h: New file.
24253         * sysdeps/nios2/tls-macros.h: New file.
24254         * sysdeps/nios2/tst-audit.h: New file.
24255         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24256         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24257         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24258         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24259         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24260         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24261         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24262         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24263         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24264         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24265         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24266         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24267         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24268         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24269         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24270         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24271         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24272         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24273         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24274         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24275         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24276         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24277         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24278         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24279         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24280         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24281         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24282         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24283         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24284         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24285         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24286         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24287         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24288         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24289         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24290         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24291         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24292         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24293         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24294         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24295         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24296         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24297         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24298         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24300 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24302         [BZ #17844]
24303         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24304         (getutent): Use weak_alias in non SHARED case
24305         and default_symbol_version in SHARED case.
24306         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24307         (getutent_r, pututline): Likewise.
24308         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24309         (getutid): Likewise.
24310         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24311         (getutid_r): Likewise.
24312         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24313         (getutline): Likewise.
24314         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24315         (getutline_r): Likewise.
24316         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24317         (updwtmp): Likewise.
24319 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24321         [BZ #17848]
24322         * sysdeps/s390/s390-32/memcmp.S
24323         (memcmp_g5): Rename to __memcmp_g5.
24324         * sysdeps/s390/s390-32/memcpy.S
24325         (memcpy_g5): Rename to __memcpy_g5.
24326         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24327         (memcpy_mvcle) Rename to __memcpy_mvcle.
24328         * sysdeps/s390/s390-32/memset.S
24329         (memset_g5): Rename to __memset_g5.
24330         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24331         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24332         and use prefixed functions.
24333         * sysdeps/s390/s390-32/multiarch/memcmp.S
24334         (memcmp_z196): Rename to __memcmp_z196.
24335         (memcmp_z10): Rename to __memcmp_z10.
24336         (memcmp): Set alias to __memcmp_g5.
24337         (bcmp): Set alias to __memcmp_g5.
24338         * sysdeps/s390/s390-32/multiarch/memcpy.S
24339         (memcpy_z196): Rename to __memcpy_z196.
24340         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24341         (memcpy_z10): Rename to __memcpy_z10.
24342         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24343         (memcpy): Set alias to __memcpy_g5.
24344         * sysdeps/s390/s390-32/multiarch/memset.S
24345         (memset_z196): Rename to __memset_z196.
24346         Jump to __memset_mvcle instead of memset_mvcle.
24347         (memset_z10): Rename to __memset_z10.
24348         Jump to __memset_mvcle instead of memset_mvcle.
24349         (memset_mvcle) Rename to __memset_mvcle.
24350         (memset): Set alias to __memset_g5.
24351         * sysdeps/s390/s390-64/memcmp.S
24352         (memcmp_z900): Rename to __memcmp_z900.
24353         * sysdeps/s390/s390-64/memcpy.S
24354         (memcpy_z900): Rename to __memcpy_z900.
24355         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24356         (memcpy_mvcle) Rename to __memcpy_mvcle.
24357         * sysdeps/s390/s390-64/memset.S
24358         (memset_z900): Rename to __memset_z900.
24359         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24360         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24361         and use prefixed functions.
24362         * sysdeps/s390/s390-64/multiarch/memcmp.S
24363         (memcmp_z196): Rename to __memcmp_z196.
24364         (memcmp_z10): Rename to __memcmp_z10.
24365         (memcmp): Set alias to __memcmp_z900.
24366         (bcmp): Set alias to __memcmp_z900.
24367         * sysdeps/s390/s390-64/multiarch/memcpy.S
24368         (memcpy_z196): Rename to __memcpy_z196.
24369         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24370         (memcpy_z10): Rename to __memcpy_z10.
24371         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24372         (memcpy): Set alias to __memcpy_z900.
24373         * sysdeps/s390/s390-64/multiarch/memset.S
24374         (memset_z196): Rename to __memset_z196.
24375         Jump to __memset_mvcle instead of memset_mvcle.
24376         (memset_z10): Rename to __memset_z10.
24377         Jump to __memset_mvcle instead of memset_mvcle.
24378         (memset_mvcle) Rename to __memset_mvcle.
24379         (memset): Set alias to __memset_z900.
24381 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24383         [BZ #17748]
24384         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24385         __fesetenv instead of fesetenv.
24387 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24389         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24390         macro.
24392 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24394         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24395         regression on LE.
24397         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24398         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24399         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24400         strncmp-power8 object.
24401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24402         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24403         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24404         * NEWS: Update.
24406 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24407             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24409         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24410         trailing byte check.
24412 2015-01-13  David S. Miller  <davem@davemloft.net>
24414         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24416 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24418         * login/logout.c (logout): Use memset rather than bzero.
24419         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24420         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24421         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24422         (_gethtbyaddr): Likewise.
24423         * locale/programs/simple-hash.c (bcopy): Macro removed.
24425 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24427         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24428         Add strcmp-power8 object.
24429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24430         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24431         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24432         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24433         __strcmp_power8 implementation.
24434         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24435         * NEWS: Update.
24437         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24438         Add strncpy-power8 and stpncpy-power8 objects.
24439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24440         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24441         implementations.
24442         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24443         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24444         __stpncpy_power8 implementation.
24445         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24446         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24447         __strncpy_power8 implementation.
24448         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24449         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24450         * NEWS: Update.
24452         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24453         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24454         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24456         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24457         strncat-power8 object.
24458         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24459         __strcat_power8 implementation.
24460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24461         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24462         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24463         optimized strcat for power8.
24465         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24466         strcpy-power8 and stpcpy-power8 objects.
24467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24468         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24469         implementations.
24470         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24471         multiarch stpcpy implementation for POWER8.
24472         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24473         multiarch strcpy implementation for POWER8.
24474         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24475         __strcpy_power8 function.
24476         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24477         stpcpy for POWER8.
24478         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24479         strcpy for POWER8.
24480         * NEWS: Update.
24482 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24484         [BZ #16009]
24485         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24486         weights and rules. Use do_xfrm_cached if data fits in cache,
24487         do_xfrm otherwise.  Moved former main loop to...
24488         * (do_xfrm_cached): New function.
24489         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24490         find_idx, find_position and stack_push.
24491         * (find_idx): New function.
24492         * (find_position): Likewise.
24493         * localedata/sort-test.sh: Added test run for do_xfrm.
24494         * localedata/xfrm-test.c (main): Added command line option
24495         -nocache to run the test with strings that are too large for
24496         the STRXFRM cache.
24498 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24500         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24501         variable to lll_futex_wake call, not the value itself.
24503 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24505         [BZ #17803]
24506         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24507         twom64.  Adjust value to 0x1p-64L.
24508         (__scalblnl): Only return standard underflowing result for K <=
24509         -64 not K <= -63; adjust exponent for underflowing result by 64
24510         not 63.
24511         * math/libm-test.inc (scalbn_test_data): Add more tests.
24512         (scalbln_test_data): Likewise.
24514         [BZ #17834]
24515         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24516         0x1p63L.
24517         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24518         not HX.
24519         * math/libm-test.inc (scalbn_test_data): Add more tests.
24520         (scalbln_test_data): Likewise.
24522 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24523             Stefani Seibold  <stefani@seibold.net>
24525         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24526         (sysdep_routines): Add dl-vdso here, ...
24527         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24528         (sysdep_routines): ... not here.
24529         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24530         fallback when vDSO is not presented.
24531         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24532         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24533         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24534         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24535         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24536         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24537         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24538         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24539         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24540         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24541         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24542         fallback configurable symbol when vDSO is not available.
24543         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24544         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24545         be able to redefine fallback symbol when vDSO is not available.
24546         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24547         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24549 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24551         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24552         (TLS_INIT_TP): Add tm_capable initialization.
24553         (TLS_DEFINE_INIT_TP): Likewise.
24554         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24555         TCB.
24556         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24557         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24558         calculation.
24559         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24560         transactoion is lock elision is built and TCB tm_capable is set.
24561         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24563         (INTERNAL_SYSCALL_NCS): Likewise.
24564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24565         (INTERNAL_SYSCALL_NCS): Likewise.
24566         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24568         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24569         for powerpc.
24570         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24571         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24572         and remove it for 32 bits case.
24573         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24574         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24575         initialization.
24576         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24577         Disable lock elision with rdlocks if elision is not available.
24579         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24580         (sysdep_routines): Add lock elision objects.
24581         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24582         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24583         [pthread_mutex_t] (__elision): Add field.
24584         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24585         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24586         elision definitions for powerpc.
24587         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24588         implementation of lock elision for powerpc.
24589         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24590         implementation of timed lock elision for powerpc.
24591         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24592         implementation of trylock with lock elision for powerpc.
24593         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24594         implementaion of unlock for lock elision for powerpc.
24595         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24596         automatic enable lock elision for mutexes.
24597         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24598         transaction execution definitions for powerpc.
24599         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24600         definitions.
24601         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24602         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24603         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24604         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24605         * NEWS: Update.
24607 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24609         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24610         for #include of <shm-directory.h>.
24612 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24614         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24615         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24617 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24619         [BZ #17791]
24620         * NEWS: Mention bug fix.
24621         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24622         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24623         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24625 2015-01-09  Torvald Riegel <triegel@redhat.com>
24627         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24629 2015-01-09  Torvald Riegel <triegel@redhat.com>
24631         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24633 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24635         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24636         pointer and cast to uintptr_t.
24638 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24640         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24641         removed.
24642         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24644 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24646         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24647         of 0.
24649 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24651         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24652         <nptl/pthreadP.h> instead.
24653         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24655         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24656         already defined.
24657         [__SIGRTMIN] (init): Function removed.
24658         [__SIGRTMIN] (initialized): Variable removed.
24659         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24660         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24661         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24662         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24663         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24664         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24665         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24666         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24667         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24668         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24669         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24670         * sysdeps/nptl/allocrtsig.c: New file.
24671         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24672         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24673         * sysdeps/generic/testrtsig.h: File removed.
24675         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24676         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24678         * nptl/nptl-init.c (pthread_functions): Conditionalize
24679         .ptr__nptl_setxid initialization on [SIGSETXID].
24681         * sysdeps/nptl/sys/procfs.h: New file.
24682         * nptl_db/Makefile (headers): Add it.
24683         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24685         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24686         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24687         * nptl/pthread_attr_setaffinity.c: Include it.
24688         * nptl/pthread_setattr_default_np.c: Likewise.
24689         * nptl/check-cpuset.h: New file.
24691 2015-01-08  Richard Henderson  <rth@redhat.com>
24693         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24694         (CFLAGS-tst-execstack-prog.c): Likewise.
24695         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24697 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24698             Sandra Loosemore  <sandra@codesourcery.com>
24699             Andrew Jenner  <andrew@codesourcery.com>
24700             Joseph Myers  <joseph@codesourcery.com>
24701             Nathan Sidwell  <nathan@codesourcery.com>
24703         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24704         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24705         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24706         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24707         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24708         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24709         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24710         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24711         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24712         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24713         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24714         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24715         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24716         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24717         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24718         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24719         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24721 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24723         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24724         timespec struct member in syscall macro.
24725         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24726         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24727         first timeval struct member in syscall macro.
24728         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24730 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24732         [BZ #17748]
24733         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24734         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24735         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24736         __feupdateenv and define as weak alias of __feupdateenv.  Use
24737         libm_hidden_weak.
24738         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24739         libm_hidden_def.
24740         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24741         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24742         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24743         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24744         libm_hidden_def.
24745         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24746         __feupdateenv and define as weak alias of __feupdateenv.  Use
24747         libm_hidden_weak.
24748         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24749         libm_hidden_def.
24750         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24751         __feupdateenv and define as weak alias of __feupdateenv.  Use
24752         libm_hidden_weak.
24753         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24754         libm_hidden_def.
24755         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24756         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24757         (__feupdateenv): Likewise.
24758         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24759         __feupdateenv and define as weak alias of __feupdateenv.  Use
24760         libm_hidden_weak.
24761         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24762         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24763         libm_hidden_def.
24764         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24765         function.
24766         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24767         libm_hidden_def.
24768         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24769         __feupdateenv instead of feupdateenv.
24770         (default_libc_feupdateenv_test): Likewise.
24771         (libc_feresetround_ctx): Likewise.
24773 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24775         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24776         prototype.
24778 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24780         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24781         COLL_SYM in a couple of places to avoid uninitialized variable
24782         wanings on tilegx gcc 4.8.2.
24784 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24786         * sysdeps/aarch64/strcpy.S: New file.
24787         * sysdeps/aarch64/stpcpy.S: New file.
24788         * NEWS: Updated.
24790 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24792         * sysdeps/aarch64/strrchr.S: New file.
24793         * NEWS: Updated.
24795 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24797         [BZ #17658]
24798         * stdlib/setenv.c: Fix memory leak when setting large,
24799         duplicate string.
24801 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24803         [BZ #17273]
24804         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24805         and tabs from buffer before parsing fstab entry.
24806         * misc/tst-mntent.c (main): Add test for mount entry with
24807         trailing spaces and tabs.
24809 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24811         [BZ #17748]
24812         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24813         * math/fesetround.c (fesetround): Rename to __fesetround and
24814         define as weak alias of __fesetround.  Use libm_hidden_weak.
24815         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24816         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24817         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24818         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24819         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24820         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24821         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24822         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24823         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24824         __fesetround_inline.
24825         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24826         __fesetround_inline instead of __fesetround.
24827         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24828         __fesetround and define as weak alias of __fesetround.  Use
24829         libm_hidden_weak.  Call __fesetround_inline instead of
24830         __fesetround.
24831         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24832         __fesetround and define as weak alias of __fesetround.  Use
24833         libm_hidden_weak.
24834         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24835         Likewise.
24836         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24837         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24838         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24839         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24840         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24841         __fesetround and define as weak alias of __fesetround.  Use
24842         libm_hidden_weak.
24843         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24844         __fesetround instead of fesetround.
24845         (default_libc_feholdexcept_setround): Likewise.
24846         (libc_feholdsetround_ctx): Likewise.
24847         (libc_feholdsetround_noex_ctx): Likewise.
24849         [BZ #17748]
24850         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24851         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24852         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24853         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24854         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24855         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24856         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24857         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24858         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24859         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24860         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24861         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24862         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24863         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24864         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24865         libm_hidden_def.
24866         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24867         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24868         Likewise.
24869         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24870         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24871         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24872         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24873         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24874         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24875         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24876         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24877         __fesetenv instead of fesetenv.
24878         (libc_feresetround_noex_ctx): Likewise.
24879         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24880         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24881         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24882         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24883         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24884         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24885         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24886         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24887         (__feupdateenv): Likewise.
24888         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24889         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24890         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24891         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24893 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24895         [BZ #17806]
24896         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24897         addresses have been freed.
24899 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24901         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24902         and nservall.
24904 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24906         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24907         Clean up check_pf allocation pattern. addresses
24909 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24911         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24912         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24913         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24914         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24915         * nptl/pthread_join.c (pthread_join): Likewise.
24916         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24917         * sysdeps/posix/waitid.c (__waitid): Likewise.
24918         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24919         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24920         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24921         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24922         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24923         Likewise.
24924         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24925         (__libc_pread64): Likewise.
24926         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24927         (__libc_pwrite): Likewise.
24928         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24929         (__libc_pwrite64): Likewsie.
24930         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24931         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24932         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24933         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24934         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24935         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24936         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24938         Likewise.
24939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24940         (__libc_pread64): Likewise.
24941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24942         Likewise.
24943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24944         (__libc_pwrite64): Likewise.
24945         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24946         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24947         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24948         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24949         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24950         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24951         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24952         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24953         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24954         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24955         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24956         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24957         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24958         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24959         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24960         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24961         Likewise.
24963 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24965         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24966         (CFLAGS-test-double.c): Likewise.
24967         (CFLAGS-test-ldouble.c): Likewise.
24968         (CPPFLAGS-test-ifloat.c): Likewise.
24969         (CPPFLAGS-test-idouble.c): Likewise.
24970         (CPPFLAGS-test-ildoubl.c): Likewise.
24971         (CFLAGS-test-test-fenv.c): Remove variable.
24972         (CFLAGS-test-misc.c): Likewise.
24974 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24976         [BZ #17797]
24977         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24978         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24979         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24980         CLOCKS_PER_SEC == 1000000.
24981         * time/clocktest.c (main): Replace %ld with %jd and cast to
24982         intmax_t.
24984 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24986         * sysdeps/generic/unwind-resume.h: New file.
24987         * sysdeps/gnu/unwind-resume.c: Include it.
24988         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24989         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24990         argument list.
24991         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24992         global rather than static.
24993         (_Unwind_Resume): Update user.
24994         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24995         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24996         rather than static.  Add __attribute__ ((cold)).
24997         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24998         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24999         * sysdeps/arm/arm-unwind-resume.S: New file.
25000         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25001         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25002         * sysdeps/arm/Makefile [$(subdir) = csu]
25003         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25004         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25005         Add rt-arm-unwind-resume.
25006         [$(subdir) = nptl]
25007         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25008         Add pt-arm-unwind-resume.
25009         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25010         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25012 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25014         [BZ #17748]
25015         * include/fenv.h (__feholdexcept): Declare.  Use
25016         libm_hidden_proto.
25017         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25018         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25019         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25020         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25021         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25022         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25023         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25024         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25025         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25026         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25027         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25028         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25029         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25030         (feholdexcept): Likewise.
25031         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25032         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25033         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25034         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25035         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25036         __feholdexcept instead of feholdexcept.
25037         (default_libc_feholdexcept_setround): Likewise.
25039 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25041         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25042         to avoid using stl/str to align destination.
25044 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25046         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25048 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25050         [BZ #17796]
25051         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25052         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25053         Define as weak alias not strong alias.
25055 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25057         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25058         bltzal with addiupc.
25059         (RTLD_START): Ditto.
25061 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25063         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25064         for __vdso_* functions in declarations.
25065         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25066         definitions.
25067         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25068         INTERNAL_VSYSCALL): Use struct return types to check for error.
25070         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25071         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25072         function with cast from llround().
25073         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25074         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25075         Define.
25077 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25079         [BZ #17793]
25080         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25081         Define as weak alias not strong alias.
25083         [BZ #17635]
25084         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25085         ...
25086         * ctype/ctype-extn.c: ... here.
25087         (__isblank_l): Move to ...
25088         * ctype/ctype-c99_l.c: ... here.  New file.
25089         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25090         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25091         Remove variable.
25092         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25093         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25094         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25095         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25096         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25098         [BZ #17777]
25099         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25100         (posix_fadvise64): Define as weak alias not strong alias.
25101         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25102         (posix_fallocate64): Likewise.
25103         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25104         Remove variable.
25105         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25106         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25107         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25108         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25109         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25111 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25113         [BZ #16191]
25114         * NEWS: Mention bug fix.
25115         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25116         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25117         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25118         (HOST_STACK_END_ADDR): Likewise.
25120 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25122         [BZ #17748]
25123         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25124         * math/fegetround.c (fegetround): Rename to __fegetround and
25125         define as weak alias of __fegetround.  Use libm_hidden_weak.
25126         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25127         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25128         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25129         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25130         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25131         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25132         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25133         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25134         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25135         Undefine after rather than before function definition; use
25136         parentheses around function name in definition.
25137         (__fegetround): Also undefine macro after function definition.
25138         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25139         __fegetround and define as weak alias of __fegetround.  Use
25140         libm_hidden_weak.  Do not undefine as macro.
25141         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25142         Likewise.
25143         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25144         __fegetround and define as weak alias of __fegetround.  Use
25145         libm_hidden_weak.
25146         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25147         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25148         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25149         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25150         __fegetround and define as weak alias of __fegetround.  Use
25151         libm_hidden_weak.
25152         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25153         __fegetround instead of fegetround.
25155         [BZ #17782]
25156         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25157         Condition macro definition on [__USE_MISC].
25159         [BZ #17781]
25160         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25161         (struct sigaction): Change type of sa_flags field to int.
25163         [BZ #17780]
25164         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25165         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25166         __glibc_reserved0.
25168         * nptl/version.c (banner): Use single year in copyright notice.
25170         * NEWS: Update copyright dates.
25171         * catgets/gencat.c (print_version): Likewise.
25172         * csu/version.c (banner): Likewise.
25173         * debug/catchsegv.sh: Likewise.
25174         * debug/pcprofiledump.c (print_version): Likewise.
25175         * debug/xtrace.sh (do_version): Likewise.
25176         * elf/ldconfig.c (print_version): Likewise.
25177         * elf/ldd.bash.in: Likewise.
25178         * elf/pldd.c (print_version): Likewise.
25179         * elf/sotruss.sh: Likewise.
25180         * elf/sprof.c (print_version): Likewise.
25181         * iconv/iconv_prog.c (print_version): Likewise.
25182         * iconv/iconvconfig.c (print_version): Likewise.
25183         * locale/programs/locale.c (print_version): Likewise.
25184         * locale/programs/localedef.c (print_version): Likewise.
25185         * login/programs/pt_chown.c (print_version): Likewise.
25186         * malloc/memusage.sh (do_version): Likewise.
25187         * malloc/memusagestat.c (print_version): Likewise.
25188         * malloc/mtrace.pl: Likewise.
25189         * manual/libc.texinfo: Likewise.
25190         * nptl/version.c (banner): Likewise.
25191         * nscd/nscd.c (print_version): Likewise.
25192         * nss/getent.c (print_version): Likewise.
25193         * nss/makedb.c (print_version): Likewise.
25194         * posix/getconf.c (main): Likewise.
25195         * scripts/test-installation.pl: Likewise.
25196         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25198 2015-01-02  Will Newton  <will.newton@linaro.org>
25200         * sysdeps/arm/armv7/configure: Removed.
25201         * sysdeps/arm/armv7/configure.ac: Likewise.
25203 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25205         * All files with FSF copyright notices: Update copyright dates
25206         using scripts/update-copyrights.
25207         * intl/plural.c: Regenerated.
25208         * locale/programs/charmap-kw.h: Likewise.
25209         * locale/programs/locfile-kw.h: Likewise.
25211 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25213         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25215 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25217         [BZ #17748]
25218         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25219         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25220         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25221         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25222         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25223         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25224         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25225         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25226         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25227         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25228         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25229         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25230         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25231         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25232         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25233         libm_hidden_def.
25234         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25235         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25236         Likewise.
25237         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25238         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25239         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25240         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25241         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25242         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25243         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25244         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25245         __fegetenv instead of fegetenv.
25246         (libc_feholdsetround_noex_ctx): Likewise.
25248 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25250         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25251         (Elf_MIPS_ABIFlags_v0): New structure.
25252         (EF_MIPS_FP64): Define.
25253         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25254         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25255         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25256         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25257         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25258         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25259         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25260         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25261         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25262         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25263         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25264         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25265         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25266         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25267         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25268         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25269         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25270         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25271         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25272         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25273         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25274         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25275         field.
25276         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25277         EF_MIPS_FP64.
25278         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25279         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25280         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25281         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25282         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25283         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25284         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25285         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25286         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25287         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25288         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25289         record the current FP ABI extension.
25290         (mips-mode-switch): Define to show if kernel headers support mode
25291         switching.
25292         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25293         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25294         supported SYSV ABI version to 3.
25295         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25296         feature.
25298 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25299             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25301         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25302         path.
25303         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25305 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25307         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25308         __fegetround and redefine to call __fegetround.  Remove condition
25309         on [!__NO_MATH_INLINES].
25310         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25311         function.
25312         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25313         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25314         Remove macro.
25315         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25316         instead of <fenv_libc.h>.
25317         (__llrintl): Call fegetround instead of __fegetround.
25318         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25319         instead of <fenv_libc.h>.
25320         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25321         (__lrintl): Call fegetround instead of __fegetround.
25322         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25323         instead of <fenv_libc.h>.
25324         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25325         (__rintl): Call fegetround instead of __fegetround.
25327 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25329         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25330         arrays.
25332 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25334         [BZ #17775]
25335         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25336         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25337         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25339 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25341         * sysdeps/i386/tls-macros.h: Include <features.h>.
25342         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25343         (TLS_IE): Likewise.
25344         (TLS_LD): Likewise.
25345         (TLS_GD): Likewise.
25346         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25347         define for GCC >= 5.0.
25349 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25351         * math/test-fenv.c (test_single_exception, set_single_exc,
25352         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25353         feexcp_mask_test, feenable_test, fe_single_test): Add
25354         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25355         case where they are not used.
25356         * math/libm-test.inc: Likewise.
25357         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25358         unused in the absence of FP rounding/exception support.
25359         * stdio-common/tst-printf-round.c: Likewise.
25360         * stdlib/tst-strtod-round.c: Likewise.
25361         * stdlib/tst-strtod-underflow.c: Likewise.
25363 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25365         [BZ #17723]
25366         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25367         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25368         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25369         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25370         libm_hidden_weak.
25371         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25372         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25373         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25374         libm_hidden_def.
25375         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25376         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25377         libm_hidden_weak.
25378         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25379         Likewise.
25380         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25381         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25382         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25383         libm_hidden_weak.
25384         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25385         libm_hidden_def.
25386         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25387         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25388         (__feraiseexcept): Likewise.
25389         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25390         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25391         libm_hidden_weak.
25392         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25393         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25394         libm_hidden_def.
25395         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25396         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25397         Use libm_hidden_def.
25398         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25399         libm_hidden_def.
25400         (feraiseexcept): Define as weak not strong alias.  Use
25401         libm_hidden_weak.
25402         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25403         New inline function.  Factored out of ...
25404         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25405         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25406         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25407         feraiseexcept.
25408         * math/w_acos.c (__acos): Likewise.
25409         * math/w_asin.c (__asin): Likewise.
25410         * math/w_ilogb.c (__ilogb): Likewise.
25411         * math/w_j0.c (y0): Likewise.
25412         * math/w_j1.c (y1): Likewise.
25413         * math/w_jn.c (yn): Likewise.
25414         * math/w_log.c (__log): Likewise.
25415         * math/w_log10.c (__log10): Likewise.
25416         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25417         * sysdeps/aarch64/fpu/math_private.h
25418         (libc_feupdateenv_test_aarch64): Likewise.
25419         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25420         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25421         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25422         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25423         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25424         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25425         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25426         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25427         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25428         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25430 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25432         [BZ #17732]
25433         * io/test-utime.c (main): Replace %ld with %jd and cast to
25434         intmax_t.
25435         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25436         * nptl/tst-mutex5.c: Include <stdint.h>.
25437         (do_test): Replace %ld with %jd and cast to intmax_t.
25438         * posix/tst-regex.c (run_test): Likewise.
25439         (run_test_backwards): Likewise.
25440         * rt/tst-clock.c: Include <stdint.h>.
25441         (clock_test): Replace %ld with %jd and cast to intmax_t.
25442         * rt/tst-cpuclock1.c: Include <stdint.h>.
25443         (do_test): Replace %lu with %ju and cast to uintmax_t.
25444         * rt/tst-cpuclock2.c: Include <stdint.h>.
25445         (do_test): Replace %lu with %ju and cast to uintmax_t.
25446         * rt/tst-mqueue1.c: Include <stdint.h>.
25447         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25448         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25449         intmax_t.
25450         * rt/tst-mqueue4.c (do_test): Likewise.
25451         * rt/tst-timer4.c: Include <stdint.h>.
25452         (check_ts): Replace %ld with %jd and cast to intmax_t.
25453         (do_test): Likewise.
25454         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25455         and cast to intmax_t.
25456         * sysdeps/pthread/tst-timer.c (main): Likewise.
25457         * time/clocktest.c (main): Likewise.
25458         * time/tst-posixtz.c (do_test): Likewise.
25459         * timezone/tst-timezone.c (main): Likewise.
25461 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25462             H.J. Lu  <hongjiu.lu@intel.com>
25464         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25465         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25466         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25467         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25468         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25469         version if bit_Fast_Unaligned_Load is set.
25470         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25471         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25472         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25473         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25474         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25475         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25476         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25477         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25478         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25479         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25480         to 4.
25481         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25482         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25483         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25484         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25486 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25488         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25489         instead of #if to avoid a Wundef warning.
25490         * stdlib/tst-limits.c (do_test): Likewise.
25492         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25493         parallel other exception macros.
25494         (fegetenv): Convert from macro to extern inline so that it applies
25495         retroactively to inline functions already seen by the compiler.
25496         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25498         * posix/Makefile (before-compile): Use $(objpfx) for
25499         posix-conf-vars-def.h.
25501 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25503         * posix/getconf.c (main): Use size_t for type of I.
25504         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25505         NSPEC.
25507         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25508         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25509         * posix/posix-envs.def: Likewise.
25510         * sysdeps/posix/sysconf.c: Likewise.
25511         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25512         (specs): Remove array.
25513         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25514         array.
25516         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25517         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25518         (__sysconf): Use CONF_IS_* macros.
25520         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25521         ($(objpfx)posix-conf-vars-def.h): New target.
25522         * posix/posix-conf-vars.list: New file.
25523         * posix/posix-conf-vars.h: New file.
25524         * posix/confstr.c: Include posix-conf-vars.h.
25525         (confstr): Use CONF_IS_* macros.
25526         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25527         CONF_IS_* macros.
25528         * scripts/gen-posix-conf-vars.awk: New file.
25530 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25532         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25533         fegetround): Add no-op macros to avoid linknamespace issues.
25535         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25536         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25538         * sysdeps/unix/sysv/linux/tile/sysdep.h
25539         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25540         assembly-specific section to avoid a redefinition warning.
25542         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25543         long before casting to pointer to avoid a cast warning.
25545 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25547         * sysdeps/tile/tilegx/Implies: New file.
25549 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25551         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25553 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25555         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25557 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25559         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25560         not define.
25561         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25562         <kernel-features.h>.
25563         (__utimes) [__NR_utimes]: Make code unconditional.
25564         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25565         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25566         (__ASSUME_UTIMES): Do not undefine.
25567         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25568         (__ASSUME_UTIMES): Likewise.
25569         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25570         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25571         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25572         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25574 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25576         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25578 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25580         [BZ #17747]
25581         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25582         alias to weak alias for j0l, y0l.
25583         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25584         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25586         [BZ #17746]
25587         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25588         conversion.
25590 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25592         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25593         to zero if not already defined.
25595 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25597         [BZ #17724]
25598         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25599         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25600         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25601         (char *) casts added.
25602         * sysdeps/ieee754/k_standardf.c: New file.
25603         * sysdeps/ieee754/k_standardl.c: Likewise.
25604         * math/Makefile (libm-support): Remove k_standard.
25605         (libm-calls): Add k_standard.
25607 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25609         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25610         Optimize to avoid an unnecessary FPCR read.
25612 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25614         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25615         Optimize to reduce FPCR/FPSR accesses.
25617 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25619         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25620         Call libc_fetestexcept_aarch64.
25622 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25624         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25625         Call libc_fesetround_aarch64.
25627 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25629         [BZ #17733]
25630         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25631         (__bind): Do not define as weak alias.
25632         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25633         define.
25634         (__getsockname): Do not define as weak alias.
25636 2014-12-22  Will Newton  <will.newton@linaro.org>
25638         * manual/install.texi: Document that we require bison 2.7
25639         or above.
25640         * INSTALL: Regenerate.
25641         * configure.ac: Use AC_CHECK_PROG_VER instead of
25642         AC_PATH_PROG when checking for bison and check for
25643         version 2.7 or above.
25644         * configure: Regenerate.
25646 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25648         [BZ #17745]
25649         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25650         * sysdeps/tile/ffsll.c (ffsll): To here.
25652         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25654 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25656         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25657         if not defined.
25658         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25659         definition.
25660         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25661         hidden ___tls_get_addr.
25662         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25663         hidden __tls_get_addr.
25664         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25665         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25666         Likewise.
25668 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25670         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25671         _dl_init call.
25673 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25675         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25676         from "call _dl_init@PLT".
25677         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25679 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25681         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25682         guarantees.
25684 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25686         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25688 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25690         [BZ #17744]
25691         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25692         strnlen.
25694 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25696         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25697         of multu on MIPSr6.
25698         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25699         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25700         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25701         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25702         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25704 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25706         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25707         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25708         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25709         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25710         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25711         mips32r6/mips64r6.
25712         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25714 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25716         * string/strncat.c (STRNCAT): Simplify implementation.
25718 2014-12-19  David S. Miller  <davem@davemloft.net>
25720         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25721         access the quad as both a long double and as a series of 4 words.
25723         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25724         link_map->l_info array access.
25726 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25728         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25730         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25731         * math/atest-exp2.c (TIMEOUT): Likewise.
25732         * math/atest-sincos.c (TIMEOUT): Likewise.
25734 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25736         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25737         -Wno-error with -fno-builtin-lround.
25739 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25741         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25742         Contains futex constants and functions moved over from ...
25743         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25744         <lowlevellock-futex.h>.
25745         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25746         (lll_timedwait_tid): Add comments and parentheses around macro
25747         arguments.
25749 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25751         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25752         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25753         (__lll_private_flag): Remove.
25754         (lll_futex_wait): Likewise.
25755         (lll_futex_timed_wait): Likewise.
25756         (lll_futex_wake): Likewise.
25757         (lll_futex_requeue): Likewise.
25758         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25759         (__lll_timedwait_tid): Spell out argument names.
25760         (lll_timedwait_tid): Add comments and parentheses around macro
25761         arguments.
25762         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25763         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25765 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25767         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25768         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25769         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25770         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25771         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25772         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25773         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25774         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25775         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25776         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25777         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25778         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25779         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25780         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25781         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25782         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25783         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25784         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25785         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25787 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25789         * sysdeps/x86_64/x32/Makefile: New file.
25791 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25793         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25794         1L with (mp_limb_t) 1.
25796 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25798         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25799         * nptl/libc_pthread_init.c: ... here.
25800         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25801         * nptl/register-atfork.c: ... here.
25803         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25804         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25805         Use assert_perror to check its return value.
25806         (__gai_create_helper_thread): Likewise.
25808         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25810         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25812 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25814         [BZ #17725]
25815         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25816         __profil_counter.
25817         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25818         Likewise.
25819         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25820         Likewise.
25821         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25822         Likewise.
25823         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25824         (profil_counter): Likewise.
25825         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25826         (profil_counter): Likewise.
25827         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25828         Likewise.
25829         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25830         Likewise.
25831         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25832         (profil_counter): Likewise.
25833         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25834         Likewise.
25835         [!__profil_counter] (profil_counter): Define as weak alias of
25836         __profil_counter.
25837         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25838         (profil_counter): Rename to __profil_counter.
25839         [!__profil_counter] (profil_counter): Define as weak alias of
25840         __profil_counter.
25841         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25842         (profil_counter): Rename to __profil_counter.
25843         [!__profil_counter] (profil_counter): Define as weak alias of
25844         __profil_counter.
25845         * sysdeps/posix/profil.c: Update comment referring to
25846         profil_counter.
25847         (__profil): Use __profil_counter instead of profil_counter.
25848         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25849         __profil_counter.  Use __profil_counter_ushort and
25850         __profil_counter_uint in definitions.
25851         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25852         instead of profil_counter_uint and profil_counter_ushort.
25854         [BZ #17722]
25855         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25856         define as weak alias of __inet_makeaddr.
25857         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25858         as weak alias of __inet_addr.
25859         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25860         as weak alias of __inet_pton.  Use libc_hidden_weak.
25861         * include/arpa/inet.h (__inet_pton): Declare.  Use
25862         libc_hidden_proto.
25863         (inet_makeaddr): Don't use libc_hidden_proto.
25864         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25865         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25866         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25867         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25868         Remove variable.
25869         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25870         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25872 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25874         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25876 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25878         * stdio-common/bug-vfprintf-nargs.c (do_test):
25879         Cast value to intptr_t to avoid format warning
25880         for usage with PRIdPTR printing macro.
25882 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25884         * libio/tst-widetext.c (do_test):
25885         Use format type %td instead of %Zd for ptrdiff_t
25886         in order to avoid format warning.
25888 2014-12-17  Andreas Schwab  <schwab@suse.de>
25890         * nscd/mem.c (gc): Add size_t cast to match printf format.
25892 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25894         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25895         (init): Apply PTR_MANGLE to pointers before storing them.
25896         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25897         before using them.
25899 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25901         [BZ #17719]
25902         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25903         define as weak alias of __memrchr.
25904         (__memrchr): Do not define as strong alias of memrchr.
25905         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25906         Remove variable.
25907         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25908         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25909         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25911         [BZ #17717]
25912         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25913         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25914         (if_indextoname): Rename to __if_indextoname and define as weak
25915         alias of __if_indextoname.  Use libc_hidden_weak.
25916         (if_freenameindex): Rename to __if_freenameindex and define as
25917         weak alias of __if_freenameindex.
25918         (if_nameindex): Rename to __if_nameindex and define as weak alias
25919         of __if_nameindex.
25920         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25921         __if_nametoindex and define as weak alias of __if_nametoindex.
25922         Use libc_hidden_weak.
25923         (if_freenameindex): Rename to __if_freenameindex and define as
25924         weak alias of __if_freenameindex.
25925         (if_nameindex): Rename to __if_nameindex and define as weak alias
25926         of __if_nameindex.
25927         (if_indextoname): Rename to __if_indextoname and define as weak
25928         alias of __if_indextoname.  Use libc_hidden_weak.
25929         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25930         __if_nametoindex and define as weak alias of __if_nametoindex.
25931         Use libc_hidden_weak.
25932         (if_freenameindex): Rename to __if_freenameindex and define as
25933         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25934         (if_nameindex_netlink): Use __if_freenameindex instead of
25935         if_freenameindex.
25936         (if_nameindex): Rename to __if_nameindex and define as weak alias
25937         of __if_nameindex.  Use libc_hidden_weak.
25938         (if_indextoname): Rename to __if_indextoname and define as weak
25939         alias of __if_indextoname.  Use libc_hidden_weak.
25940         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25941         libc_hidden_proto.
25942         [!_ISOMAC] (__if_freenameindex): Likewise.
25943         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25944         if_nametoindex.
25945         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25946         variable.
25947         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25948         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25949         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25950         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25951         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25952         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25953         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25955         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25956         Remove variable.
25957         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25958         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25960 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25962         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25963         subscript above bounds'
25965         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25966         bounds.
25968 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25970         * libio/tst-fopenloc.c: Use test-skeleton.c.
25972         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25973         (entry): Rename to ITEM.
25974         (do_test, comp): Adjust.
25976         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25978 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25980         * string/tester.c: Include <libc-internal.h>.
25981         (test_memset): Ignore -Wmemset-transposed-args.
25983 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25985         * misc/tst-mntent2.c (do_test): Fix warning.
25987 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25989         * elf/tst-unique4lib.cc(a): Mark as used.
25991 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25993         [BZ #17630]
25994         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25995         names.
25997 2014-12-16  Allan McRae  <allan@archlinux.org>
25999         * stdio-common/Makefile (tests): Re-add bug26.
26001 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26003         [BZ #17657]
26004         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26005         static array.
26007 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26009         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26010         (__lll_lock_wait): Likewise.
26011         (__lll_timedlock_wait): Likewise.
26012         (__lll_timedwait_tid): Likewise.
26013         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26014         (__lll_robust_timedlock_wait): Likewise.
26015         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26016         (lll_cond_trylock): Likewise.
26017         (__lll_lock): Likewise.
26018         (__lll_robust_lock): Likewise.
26019         (__lll_cond_lock): Likewise.
26020         (lll_robust_cond_lock): Likewise.
26021         (__lll_timedlock): Likewise.
26022         (__lll_robust_timedlock): Likewise.
26023         (__lll_unlock): Likewise.
26024         (__lll_robust_unlock): Likewise.
26025         (lll_wait_tid): Likewise.
26026         (lll_timedwait_tid): Likewise.
26028 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26030         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26032 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26034         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26036 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26038         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26039         * stdio-common/tst-sprintf.c: Likewise.
26041 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26043         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26045 2014-12-15  Jeff Law  <law@redhat.com>
26047         [BZ #16617]
26048         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26049         on the heap.  (CVE-2012-3406)
26050         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26051         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26052         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26054 2014-12-15  Will Newton  <will.newton@linaro.org>
26056         * manual/install.texi: Bump required version of texinfo
26057         to 4.7 from 4.5.
26058         * INSTALL: Regenerated.
26059         * configure.ac: Check for makeinfo version 4.7 and above.
26060         * configure: Regenerated.
26062 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26064         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26065         PREFIX, string constant to insert between directory and name.
26066         * sysdeps/posix/shm_open.c: Update caller.
26067         * sysdeps/posix/shm_unlink.c: Likewise.
26068         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26069         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26070         (SEM_SHM_PREFIX): New macro.
26071         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26072         [$(have-thread-library) = no].
26073         * nptl/Makefile (libpthread-routines): Add shm-directory.
26074         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26075         * sysdeps/nptl/shm-directory.h: New file.
26076         * sysdeps/posix/shm-directory.c
26077         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26078         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26079         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26080         INTERNAL_SYSCALL.
26081         (__where_is_shmfs): Function removed.
26082         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26083         Variables removed.
26084         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26085         Use SHM_GET_NAME.
26086         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26088         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26089         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26090         unconditional for use inside libpthread.
26091         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26093 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26095         * nptl/pthread_getaffinity.c: New file.
26096         * nptl/pthread_setaffinity.c: New file.
26097         * nptl/pthread_getname.c: New file.
26098         * nptl/pthread_setname.c: New file.
26100         * nptl/pthread_create.c (START_THREAD_DEFN)
26101         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26103 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26104             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26106         * resolv/res_send.c (send_vc): Disable warning resplen may
26107         be used uninitialized.
26109 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26111         * nptl/tst-mutex6.c
26112         (ATTR_NULL): New define checks ATTR against NULL.
26113         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26114         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26116 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26118         [BZ #17581]
26119         * malloc/hooks.c
26120         (mem2mem_check): Revert my previous change.
26121         (malloc_check_get_size): Revert my previous change.
26122         (mem2chunk_check): Revert my previous change.
26124 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26126         * sysdeps/posix/shm-directory.c: New file.
26127         * sysdeps/posix/shm-directory.h: New file.
26128         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26129         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26130         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26131         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26132         Transmute EPERM to EACCES.
26133         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26134         from ...
26135         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26136         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26138 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26140         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26141         pointer and cast to uintptr_t.
26142         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26143         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26144         Add cast to avoid warning.
26145         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26147 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26149         * nptl/semaphore.h: Move to ...
26150         * sysdeps/pthread/semaphore.h: ... here.
26151         * Makefile (installed-headers): Change nptl/semaphore.h to
26152         sysdeps/pthread/semaphore.h.
26154 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26156         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26157         generated error format strings.
26159         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26160         -Wformat-extra-args warnings for scanf formats.
26161         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26162         test of zero-length format (duh).
26163         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26164         corner-case scanf format test.
26165         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26166         generated fprintf format string.
26167         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26168         corner-case sprintf format tests.
26169         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26170         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26171         -Wformat-extra-args warnings throughout.
26172         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26173         (CFLAGS-scanf4.c): Likewise.
26174         (CFLAGS-scanf7.c): Likewise.
26175         (CFLAGS-tst-sprintf.c): Likewise.
26176         (CFLAGS-tst-printf.c): Likewise.
26177         (CFLAGS-tst-printfsz.c): Likewise.
26179 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26181         * include/cpio.h: New file.
26182         * include/fmtmsg.h: Likewise.
26184         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26185         corresponding format argument to size_t.
26186         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26187         arguments.
26188         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26189         corresponding format argument to size_t.
26190         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26191         arguments.
26192         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26193         corresponding format argument to size_t.
26194         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26195         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26196         (CFLAGS-tst-mbswcs2.c): Likewise.
26197         (CFLAGS-tst-mbswcs3.c): Likewise.
26198         (CFLAGS-tst-mbswcs4.c): Likewise.
26199         (CFLAGS-tst-mbswcs5.c): Likewise.
26200         (CFLAGS-tst-trans.c): Likewise.
26202 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26204         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26205         rather than assuming they won't contain any '%'s.
26207 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26209         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26210         inhibit_loop_to_libcall to avoid recursive calls.
26211         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26212         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26214 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26216         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26217         prototype.
26219 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26221         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26222         integer value instead of boolean.
26224 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26226         * malloc/malloc.c: Fix powerof2 check.
26228 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26230         * locale/programs/locfile.h (maybe_swap_uint32):
26231         Remove inline and add unused attribute.
26233 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26235         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26236         Truncating assembler expression to a .long expression.
26238 2014-12-11  Andreas Schwab  <schwab@suse.de>
26240         * elf/rtld.c (struct map_args): Constify str member.
26241         (do_preload): Constify fname argument.
26243 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26245         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26246         constants definition.
26248 2014-12-11  Andreas Schwab  <schwab@suse.de>
26250         [BZ #16657]
26251         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26252         FORCE_ELISION instead of DO_ELISION.
26253         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26254         Remove.
26255         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26256         Likewise.
26258         * iconvdata/gconv-modules: Remove duplicate entry.
26260 2014-12-11  Will Newton  <will.newton@linaro.org>
26262         Merge gettext 0.19.3 into intl/.
26264         This involves a number of cosmetic changes to comments
26265         and ANSI function definitions and prototypes throughout
26266         all the files. The gettext copyright header is used but
26267         with the date ranges taken from the glibc copy.
26269         * NEWS: Add gettext merge to 2.21.
26270         * intl/bindtextdom.c: Switch to gettext copyright.
26271         Use ANSI definitions and prototypes.
26272         Use gl_* locking primitives rather than __libc_* ones.
26273         Use __builtin_expect rather than __glibc_likely/unlikely.
26274         * intl/dcgettext.c: Switch to gettext copyright.
26275         Use ANSI definitions and prototypes.
26276         * intl/dcigettext.c: Switch to gettext copyright.
26277         Use ANSI definitions and prototypes.
26278         (INTDIV0_RAISES_SIGFPE): New define.
26279         Use gl_* locking primitives rather than __libc_* ones.
26280         Include eval-plural.h instead of plural-eval.c.
26281         Use __builtin_expect rather than __glibc_likely/unlikely.
26282         * intl/dcngettext.c: Switch to gettext copyright.
26283         Use ANSI definitions and prototypes.
26284         * intl/dgettext.c: Likewise.
26285         * intl/dngettext.c: Likewise.
26286         * intl/plural-eval.c: Renamed to...
26287         * intl/eval-plural.h: ...this.
26288         * intl/explodename.c: Switch to gettext copyright.
26289         Use ANSI definitions and prototypes.
26290         (_nl_explode_name): Use strchr instead of __rawmemchr.
26291         * intl/finddomain.c: Switch to gettext copyright.
26292         Use ANSI definitions and prototypes.
26293         Use gl_* locking primitives rather than __libc_* ones.
26294         (_nl_find_domain): Use malloc rather than alloca for
26295         allocation of temporary locale name.
26296         * intl/gettext.c: Switch to gettext copyright.
26297         Use ANSI definitions and prototypes.
26298         * intl/gettextP.h: Switch to gettext copyright.
26299         Use ANSI definitions and prototypes.
26300         Use gl_* locking primitives rather than __libc_* ones.
26301         * intl/gmo.h: Switch to gettext copyright.
26302         (struct sysdep_string): Move struct segment_pair outside of
26303         struct definition.
26304         * intl/hash-string.c: Use ANSI definitions and prototypes.
26305         * intl/hash-string.h: Switch to gettext copyright.
26306         Use ANSI definitions and prototypes.
26307         * intl/l10nflist.c: Switch to gettext copyright.
26308         Use ANSI definitions and prototypes.
26309         (_nl_normalize_codeset): Avoid integer overflow.
26310         * intl/loadinfo.h: Switch to gettext copyright.
26311         Use ANSI definitions and prototypes.
26312         (LIBINTL_DLL_EXPORTED): New define.
26313         (PATH_SEPARATOR): New define.
26314         * intl/loadmsgcat.c: Switch to gettext copyright.
26315         * intl/localealias.c: Switch to gettext copyright.
26316         Use ANSI definitions and prototypes.
26317         (_nl_expand_alias): Use PATH_SEPARATOR.
26318         * intl/ngettext.c: Switch to gettext copyright.
26319         Use ANSI definitions and prototypes.
26320         * intl/plural-exp.c: Likewise.
26321         * intl/plural-exp.h: Switch to gettext copyright.
26322         Use ANSI definitions and prototypes.
26323         (struct expression): Move definition of enum operator outside
26324         of struct definition.
26325         * intl/plural.c: Regenerate.
26326         * intl/plural.y: Switch to gettext copyright.
26327         Use ANSI definitions and prototypes.
26328         Port to bison 3.0.
26329         * intl/textdomain.c: Switch to gettext copyright.
26330         Use ANSI definitions and prototypes.
26331         Use gl_* locking primitives rather than __libc_* ones.
26333 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26335         * debug/warning-nop.c: Add used atrribute.
26337 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26339         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26341         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26342         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26343         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26345 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26346             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26348         [BZ #17634]
26349         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26350         Undefine after defining function.  Define as weak alias of
26351         __wcschr.  Use libc_hidden_weak.
26352         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26353         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26354         (libc_hidden_def): Also define __GI___wcschr alias.
26355         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26356         __wcschr and define as weak alias of __wcschr.
26357         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26358         __wcschr.
26359         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26360         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26361         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26362         libc_hidden_weak.  Do not use libc_hidden_def.
26363         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26364         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26365         __GI___wcschr alias.
26366         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26367         [IS_IN (libc)] (wcschr): Define as macro expanding to
26368         __redirect_wcschr.
26369         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26370         [IS_IN (libc)] (__wcschr_power6): Likewise.
26371         [IS_IN (libc)] (__wcschr_power7): Likewise.
26372         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26373         instead of wcschr.
26374         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26375         __libc_wcschr.
26376         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26377         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26378         __wcschr and define as weak alias of __wcschr.  Use
26379         libc_hidden_builtin_def.
26380         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26381         as weak alias of __wcschr.  Use libc_hidden_weak.
26382         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26383         wcschr.
26384         * time/era.c (_nl_init_era_entries): Likewise.
26385         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26386         variable.
26387         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26388         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26390 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26392         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26393         format for long int variable.
26395 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26397         [BZ #10672]
26398         * manual/search.texi: (Array Sort Function): Remove claim how to make
26399         qsort stable.
26401 2014-12-10  Andreas Schwab  <schwab@suse.de>
26403         [BZ #12847]
26404         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26405         user-controlled locks.
26407 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26409         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26410         register.
26412 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26414         * configure.ac (--disable-werror): New configure option.
26415         (enable_werror): New AC_SUBST.
26416         * configure: Regenerated.
26417         * config.make.in (enable-werror): New variable.
26418         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26419         -Wno-error=undef.
26420         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26421         * manual/install.texi (Configuring and compiling): Document
26422         --disable-werror.
26423         * INSTALL: Regenerated.
26424         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26425         (CFLAGS-tst-chk2.c): Likewise.
26426         (CFLAGS-tst-chk3.c): Likewise.
26427         (CFLAGS-tst-chk4.cc): Likewise.
26428         (CFLAGS-tst-chk5.cc): Likewise.
26429         (CFLAGS-tst-chk6.cc): Likewise.
26430         (CFLAGS-tst-lfschk1.c): Likewise.
26431         (CFLAGS-tst-lfschk2.c): Likewise.
26432         (CFLAGS-tst-lfschk3.c): Likewise.
26433         (CFLAGS-tst-lfschk4.cc): Likewise.
26434         (CFLAGS-tst-lfschk5.cc): Likewise.
26435         (CFLAGS-tst-lfschk6.cc): Likewise.
26437         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26438         (main): Disable -Wdeprecated-declarations around calls to
26439         register_printf_function.
26441         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26442         (do_test): Disable -Wdiv-by-zero around some calls to
26443         fwrite_unlocked and fread_unlocked.
26445         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26446         (DIAG_POP_NEEDS_COMMENT): Likewise.
26447         (_DIAG_STR1): Likewise.
26448         (_DIAG_STR): Likewise.
26449         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26450         * stdio-common/bug21.c: Include <libc-internal.h>.
26451         (do_test): Disable -Wformat around call to sscanf.
26452         * stdio-common/scanf14.c: Include <libc-internal.h>.
26453         (main): Disable -Wformat around some calls to scanf functions.
26455 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26457         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26459 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26461         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26462         stack variable alignment.
26464 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26466         [BZ #17682]
26467         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26468         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26469         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26470         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26471         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26472         __getrlimit instead of getrlimit.
26473         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26474         __gettimeofday instead of gettimeofday.
26475         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26476         Likewise.
26477         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26478         Likewise.
26479         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26480         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26481         Remove variable.
26482         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26483         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26485 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26487         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26488         for wide-character tests.
26490 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26492         * io/openat64.c: #include <libc-internal.h>
26493         (__openat64): Prototypify.  Use ignore_value on MODE.
26494         * io/openat.c: Likewise.
26495         * misc/reboot.c: #include <libc-internal.h>
26496         (reboot): Prototypify.  Use ignore_value on HOWTO.
26497         * misc/ptrace.c: #include <libc-internal.h>
26498         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26500 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26502         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26503         XPG4, UNIX98 and XOPEN2K.
26504         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26505         Remove variable.
26506         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26508 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26510         * libio/fileops.c: Use ISO C style for function definitions.
26511         * libio/iofopen.c: Likewise.
26512         * libio/wfileops.c: Likewise.
26514         [BZ #17653]
26515         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26516         offset on EOF.
26517         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26518         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26519         (fgets_func): Function pointer to fgets and fgetws.
26520         (do_ftell_test): Add test to verify ftell value after read
26521         EOF.
26522         (do_test): Set fgets_func.
26524         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26525         O_TRUNC flag for w and w+ modes.
26526         (do_rewind_test): Likewise.
26527         (do_ftell_test): Likewise.
26528         (do_write_test): Likewise.
26530         [BZ #17647]
26531         * libio/fileops.c (do_ftell): Seek only when there are
26532         unflushed writes.
26533         * libio/wfileops.c (do_ftell_wide): Likewise.
26534         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26535         test case.
26536         (do_one_test): Call it.
26538 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26540         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26541         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26542         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26543         Remove variable.
26544         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26545         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26546         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26548 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26550         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26551         Remove variable.
26552         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26554         [BZ #17668]
26555         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26556         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26557         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26558         __freeifaddrs.  Use libc_hidden_weak.
26559         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26560         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26561         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26562         __freeifaddrs.  Use libc_hidden_weak.
26563         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26564         __getifaddrs and define as weak alias of __getifaddrs.  Use
26565         libc_hidden_weak.
26566         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26567         __freeifaddrs.  Use libc_hidden_weak.
26568         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26569         Remove variable.
26570         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26571         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26573 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26575         [BZ #17601]
26576         * sysdeps/mips/start.S (__start): Use indirect jump to call
26577         __libc_start_main.
26579 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26581         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26583         * nptl/tst-mutex1.c: Include <stdbool.h>.
26584         [!ATTR] (ATTR_NULL): New macro.
26585         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26586         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26587         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26589         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26590         to char *.
26592         [BZ #17665]
26593         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26594         Change conditional to [__USE_MISC].
26596         [BZ #17664]
26597         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26598         fgets_unlocked.
26599         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26600         __fgets_unlocked.
26601         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26602         fgets_unlocked.
26603         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26604         Remove variable.
26605         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26606         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26607         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26608         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26609         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26610         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26611         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26612         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26613         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26615         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26617 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26619         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26620         Remove strpbrk objects.
26621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26622         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26623         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26624         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26625         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26626         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26628         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26629         Remove strcspn objects.
26630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26631         (__libc_ifunc_impl_list): Remove strcspn implementation.
26632         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26633         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26634         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26635         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26637         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26638         Remove strspn objetcs.
26639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26640         (__libc_ifunc_impl_list): Remove strspn implementation.
26641         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26642         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26643         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26644         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26646 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26648         [BZ #17581]
26649         * malloc/hooks.c
26650         (mem2mem_check): Add a terminator to the chain of checking blocks.
26651         (malloc_check_get_size): Use it here.
26652         (mem2chunk_check): Ditto.
26654 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26656         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26657         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26659 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26661         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26663         * nptl/nptl-init.c: Include libc-internal.h.
26664         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26666         * elf/ldconfig.c (search_dir): Expand comment.
26668 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26670         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26671         variable.
26672         (linknamespace-symlist-stdlibs-tests): Likewise.
26673         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26674         instead of $(objpfx)symlist-stdlibs.
26675         (linknamespace-libs-isoc): New variable.
26676         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26677         (linknamespace-libs-ISO): New variable.
26678         (linknamespace-libs-ISO99): Likewise.
26679         (linknamespace-libs-ISO11): Likewise.
26680         (linknamespace-libs-XPG3): Likewise.
26681         (linknamespace-libs-XPG4): Likewise.
26682         (linknamespace-libs-POSIX): Likewise.
26683         (linknamespace-libs-UNIX98): Likewise.
26684         (linknamespace-libs-XOPEN2K): Likewise.
26685         (linknamespace-libs-POSIX2008): Likewise.
26686         (linknamespace-libs-XOPEN2K8): Likewise.
26687         ($(objpfx)symlist-stdlibs): Replace by
26688         $(linknamespace-symlist-stdlibs-tests).  Use
26689         $(linknamespace-libs-$*) as set of libraries.
26690         ($(linknamespace-header-tests)): Update dependencies.  Use
26691         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26692         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26693         * conform/linknamespace.pl: Remove comment about considering
26694         definitions of symbols from irrelevant libraries.
26696 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26698         [BZ #13862]
26699         * elf/dl-tls.c: Include <atomic.h>.
26700         (oom): Remove #ifdef SHARED/#endif.
26701         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26702         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26703         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26704         big enough.
26705         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26706         * nptl/Makefile (tests): Add tst-stack4.
26707         (modules-names): Add tst-stack4mod.
26708         ($(objpfx)tst-stack4): New.
26709         (tst-stack4mod.sos): Likewise.
26710         ($(objpfx)tst-stack4.out): Likewise.
26711         ($(tst-stack4mod.sos)): Likewise.
26712         (clean): Likewise.
26713         * nptl/tst-stack4.c: New file.
26714         * nptl/tst-stack4mod.c: Likewise.
26716 2014-11-27  J. Brown  <jb999@gmx.de>
26718         * sysdeps/x86/bits/string.h: Add recent CPUs.
26720 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26722         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26723         sigblock.
26725         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26726         feof.
26728         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26729         variable.
26731 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26733         * nscd/connections.c: Include libc-internal.h because of macro
26734         usage ignore_value.
26736 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26738         * string/bits/string3.h (__warn_memset_zero_len): Don't
26739         declare for gcc newer than 5.0.
26740         (memset): Don't test for zero-length __LEN for gcc newer than
26741         5.0.
26743 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26745         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26746         size_t for %zu format.
26748         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26749         difference, not %ju.
26751 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26753         * include/libc-internal.h (ignore_value): New macro.
26754         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26755         with ignore_value.
26757         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26758         definition.
26760         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26761         pthread_cleanup_push to void *.
26763         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26764         Undefine.
26766         [BZ #16619]
26767         [BZ #16740]
26768         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26769         instead of 1L << 52.
26771         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26772         * libio/bug-rewind2.c (do_test): Likewise.
26774         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26775         * debug/test-strcpy_chk-ifunc.c: Likewise.
26776         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26777         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26778         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26779         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26780         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26781         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26782         * Rules [$(multi-arch) = no] (tests): Do not filter out
26783         $(tests-ifunc).
26784         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26785         * debug/Makefile (tests-ifunc): Remove variable.
26786         (tests): Do not add $(tests-ifunc).
26787         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26788         (tests): Do not add $(tests-ifunc).
26789         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26790         [TEST_IFUNC]: Remove conditionals.
26791         * string/test-string.h (TEST_IFUNC): Remove macro.
26792         [TEST_IFUNC]: Remove conditionals.
26794         * string/test-strchr.c [!WIDE] (L): New macro.
26795         [WIDE] (L): Likewise.
26796         (check1): Use CHAR instead of char.  Use L on string and character
26797         constants.
26799 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26801         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26802         tests.
26803         * sysdeps/powerpc/bits/atomic.h
26804         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26805         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26806         (atomic_exchange_and_add_acq): Likewise.
26807         (atomic_exchange_and_add_rel): Likewise.
26808         * sysdeps/powerpc/powerpc32/bits/atomic.h
26809         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26810         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26811         * sysdeps/powerpc/powerpc64/bits/atomic.h
26812         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26813         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26815 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26817         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26818         Change synchronization of __sched_fifo_min_prio and
26819         __sched_fifo_max_prio.
26820         * nptl/pthread_mutexattr_getprioceiling.c
26821         (pthread_mutexattr_getprioceiling): Likewise.
26822         * nptl/pthread_mutexattr_setprioceiling.c
26823         (pthread_mutexattr_setprioceiling): Likewise.
26824         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26825         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26826         Likewise.
26828 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26830         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26831         void.
26833 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26835         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26836         third argument const.
26838 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26840         fnmatch: work around GCC compiler warning bug with uninit var
26841         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26842         This works around a bug with x86-64 GCC 4.9.2 and earlier
26843         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26844         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26845         used uninitialized in this function [-Wmaybe-uninitialized]".
26847 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26849         * posix/bug-regex31.c (main): Return RES not 0.
26851 2014-11-25  Anton Blanchard <anton@samba.org>
26853         * sysdeps/powerpc/bits/atomic.h
26854         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26856 2014-11-24  Sterling Augustine  <saugustine@google.com>
26858         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26860 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26862         [BZ #17608]
26863         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26865 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26867         [BZ #17633]
26868         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26869         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26870         variable.
26871         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26872         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26874 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26876         * string/strncpy.c (strncpy): Improve performance by using memset.
26878 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26880         * string/strcpy.c (strcpy):
26881         Improve performance by using strlen and memcpy.
26883 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26885         * string/strcoll_l.c (get_next_seq): __always_inline.
26886         * string/strcoll_l.c (do_compare): __always_inline.
26888 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26890         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26891         defined.
26892         * include/mqueue.h: Likewise.
26893         * include/stdlib.h: Likewise.
26895         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26896         (get_null_defines): Adjust.
26897         * sunrpc/Makefile: Adjust comment.
26898         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26899         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26900         (CFLAGS-interp.c): Likewise.
26901         (CFLAGS-ldconfig.c): Likewise.
26902         (CPPFLAGS-.os): Likewise.
26903         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26904         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26905         * extra-modules.mk (extra-modules.mk): Likewise.
26906         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26907         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26908         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26909         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26910         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26911         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26912         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26913         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26914         * iconvdata/Makefile (CPPFLAGS): Likewise.
26915         (cpp-srcs-left): Add libof for all iconvdata routines.
26916         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26917         * include/assert.h: Likewise.
26918         * include/ctype.h: Likewise.
26919         * include/errno.h: Likewise.
26920         * include/libc-symbols.h: Likewise.
26921         * include/math.h: Likewise.
26922         * include/netdb.h: Likewise.
26923         * include/resolv.h: Likewise.
26924         * include/stdio.h: Likewise.
26925         * include/stdlib.h: Likewise.
26926         * include/string.h: Likewise.
26927         * include/sys/stat.h: Likewise.
26928         * include/wctype.h: Likewise.
26929         * intl/l10nflist.c: Likewise.
26930         * libidn/idn-stub.c: Likewise.
26931         * libio/libioP.h: Likewise.
26932         * nptl/libc_multiple_threads.c: Likewise.
26933         * nptl/pthreadP.h: Likewise.
26934         * posix/regex_internal.h: Likewise.
26935         * resolv/res_hconf.c: Likewise.
26936         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26937         * sysdeps/arm/memmove.S: Likewise.
26938         * sysdeps/arm/sysdep.h: Likewise.
26939         * sysdeps/generic/_itoa.h: Likewise.
26940         * sysdeps/generic/symbol-hacks.h: Likewise.
26941         * sysdeps/gnu/errlist.awk: Likewise.
26942         * sysdeps/gnu/errlist.c: Likewise.
26943         * sysdeps/i386/i586/memcpy.S: Likewise.
26944         * sysdeps/i386/i586/memset.S: Likewise.
26945         * sysdeps/i386/i686/memcpy.S: Likewise.
26946         * sysdeps/i386/i686/memmove.S: Likewise.
26947         * sysdeps/i386/i686/mempcpy.S: Likewise.
26948         * sysdeps/i386/i686/memset.S: Likewise.
26949         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26950         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26951         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26952         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26953         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26954         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26955         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26956         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26957         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26958         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26959         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26960         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26961         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26962         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26963         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26964         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26965         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26966         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26967         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26968         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26969         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26970         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26971         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26972         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26973         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26974         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26975         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26976         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26977         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26978         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26979         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26980         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26981         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26982         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26983         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26984         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26985         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26986         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26987         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26988         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26989         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26990         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26991         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26992         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26993         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26994         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26995         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26996         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26997         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26998         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26999         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27000         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27001         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27002         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27003         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27004         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27005         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27006         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27007         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27008         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27009         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27010         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27011         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27012         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27013         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27014         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27015         * sysdeps/posix/closedir.c: Likewise.
27016         * sysdeps/posix/opendir.c: Likewise.
27017         * sysdeps/posix/readdir.c: Likewise.
27018         * sysdeps/posix/rewinddir.c: Likewise.
27019         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27020         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27021         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27022         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27023         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27024         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27025         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27027         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27028         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27029         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27030         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27031         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27032         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27033         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27034         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27035         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27036         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27037         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27038         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27039         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27040         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27041         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27042         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27043         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27044         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27045         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27046         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27047         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27049         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27051         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27053         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27054         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27055         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27056         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27057         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27058         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27059         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27060         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27061         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27062         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27063         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27064         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27065         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27066         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27067         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27068         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27069         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27070         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27071         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27072         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27073         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27074         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27075         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27076         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27077         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27078         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27079         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27080         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27081         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27082         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27083         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27084         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27085         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27086         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27087         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27088         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27089         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27090         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27091         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27092         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27093         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27094         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27095         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27096         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27097         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27098         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27099         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27100         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27101         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27102         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27103         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27104         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27105         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27106         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27107         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27108         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27109         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27110         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27111         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27112         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27113         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27114         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27115         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27116         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27117         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27118         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27119         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27120         * sysdeps/unix/alpha/sysdep.S: Likewise.
27121         * sysdeps/unix/alpha/sysdep.h: Likewise.
27122         * sysdeps/unix/make-syscalls.sh: Likewise.
27123         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27124         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27125         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27126         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27127         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27128         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27129         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27130         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27131         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27132         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27133         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27134         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27135         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27136         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27137         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27138         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27139         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27140         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27141         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27142         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27143         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27144         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27145         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27146         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27147         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27148         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27149         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27152         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27153         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27154         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27155         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27157         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27159         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27160         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27161         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27162         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27163         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27164         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27165         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27166         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27167         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27168         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27169         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27170         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27172         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27173         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27174         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27175         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27176         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27177         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27178         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27179         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27180         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27181         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27182         * sysdeps/x86_64/memcpy.S: Likewise.
27183         * sysdeps/x86_64/memmove.c: Likewise.
27184         * sysdeps/x86_64/memset.S: Likewise.
27185         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27186         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27187         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27188         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27189         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27190         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27191         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27192         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27193         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27194         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27195         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27196         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27197         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27198         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27199         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27200         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27201         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27202         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27203         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27204         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27205         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27206         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27207         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27208         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27209         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27210         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27211         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27212         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27213         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27214         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27215         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27216         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27217         * sysdeps/x86_64/strcmp.S: Likewise.
27219         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27221         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27222         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27223         * elf/rtld-Rules: Likewise.
27224         * elf/setup-vdso.h: Likewise.
27225         * include/assert.h: Likewise.
27226         * include/bits/stdlib-float.h: Likewise.
27227         * include/errno.h: Likewise.
27228         * include/sys/stat.h: Likewise.
27229         * include/unistd.h: Likewise.
27230         * sysdeps/aarch64/setjmp.S: Likewise.
27231         * sysdeps/alpha/setjmp.S: Likewise.
27232         * sysdeps/arm/__longjmp.S: Likewise.
27233         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27234         * sysdeps/arm/setjmp.S: Likewise.
27235         * sysdeps/arm/sysdep.h: Likewise.
27236         * sysdeps/generic/_itoa.h: Likewise.
27237         * sysdeps/generic/dl-sysdep.h: Likewise.
27238         * sysdeps/generic/ldsodefs.h: Likewise.
27239         * sysdeps/i386/dl-tls.h: Likewise.
27240         * sysdeps/i386/setjmp.S: Likewise.
27241         * sysdeps/m68k/setjmp.c: Likewise.
27242         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27243         * sysdeps/mach/hurd/opendir.c: Likewise.
27244         * sysdeps/posix/getcwd.c: Likewise.
27245         * sysdeps/posix/opendir.c: Likewise.
27246         * sysdeps/posix/profil.c: Likewise.
27247         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27248         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27249         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27250         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27251         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27252         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27253         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27254         * sysdeps/s390/dl-tls.h: Likewise.
27255         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27256         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27257         * sysdeps/sh/sh3/setjmp.S: Likewise.
27258         * sysdeps/sh/sh4/setjmp.S: Likewise.
27259         * sysdeps/unix/alpha/sysdep.h: Likewise.
27260         * sysdeps/unix/arm/sysdep.S: Likewise.
27261         * sysdeps/unix/i386/sysdep.S: Likewise.
27262         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27263         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27264         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27265         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27266         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27267         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27268         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27269         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27270         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27271         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27272         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27273         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27274         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27277         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27278         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27280         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27281         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27282         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27283         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27284         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27285         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27286         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27287         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27288         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27289         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27290         * sysdeps/x86_64/setjmp.S: Likewise.
27292         * include/math.h: Use IS_IN instead of IS_IN_libm.
27293         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27294         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27295         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27296         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27297         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27298         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27299         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27300         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27301         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27302         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27303         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27304         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27305         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27306         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27307         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27308         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27309         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27310         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27311         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27312         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27313         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27314         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27315         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27316         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27317         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27318         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27319         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27320         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27321         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27322         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27323         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27324         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27325         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27327         Likewise.
27328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27329         Likewise.
27330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27331         Likewise.
27332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27333         Likewise.
27334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27335         Likewise.
27336         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27337         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27338         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27339         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27340         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27341         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27347         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27348         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27349         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27350         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27351         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27352         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27353         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27354         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27355         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27356         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27357         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27358         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27359         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27360         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27362         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27364         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27365         * nptl/pthreadP.h: Likewise.
27366         * nptl_db/structs.def: Likewise.
27367         * sysdeps/arm/sysdep.h: Likewise.
27368         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27369         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27370         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27371         * sysdeps/unix/alpha/sysdep.h: Likewise.
27372         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27373         * sysdeps/unix/sysv/linux/aarch64/sysdep.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/i386/sysdep.h: Likewise.
27379         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27380         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27381         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27382         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27383         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27384         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27385         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27388         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27389         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27390         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27391         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27392         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27393         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27394         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27395         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27396         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27397         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27399         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27400         * nptl/pthreadP.h: Likewise.
27401         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27402         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27403         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27404         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27405         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27406         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27407         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27408         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27409         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27410         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27411         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27412         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27414         Likewise.
27415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27416         Likewise.
27417         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27418         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27419         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27420         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27421         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27422         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27423         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27424         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27426         * dlfcn/dladdr.c: Use IS_IN.
27427         * dlfcn/dladdr1.c: Likewise.
27428         * dlfcn/dlclose.c: Likewise.
27429         * dlfcn/dlerror.c: Likewise.
27430         * dlfcn/dlinfo.c: Likewise.
27431         * dlfcn/dlmopen.c: Likewise.
27432         * dlfcn/dlopen.c: Likewise.
27433         * dlfcn/dlsym.c: Likewise.
27434         * dlfcn/dlvsym.c: Likewise.
27436         * include/ifaddrs.h: Use IS_IN.
27437         * inet/check_pf.c: Likewise.
27438         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27439         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27441         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27442         IS_IN_ldconfig.
27443         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27444         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27446         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27447         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27448         IS_IN (libc).
27450         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27452         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27453         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27454         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27455         * include/libc-symbols.h (IS_IN_LIB): New macro.
27456         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27457         * include/netdb.h: Likewise.
27458         * include/stap-probe.h: Remove all uses of IN_LIB.
27460         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27461         instead of IN_MODULE.
27462         * include/libc-symbols.h (IN_MODULE): Define using
27463         MODULE_NAME.
27464         (PASTE_NAME, PASTE_NAME1): New macros.
27465         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27466         of IN_LIB.
27467         (STAP_PROBE_ASM): Likewise.
27469 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27471         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27472         __mach_init in dlopened libc.
27474 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27476         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27477         * sysdeps/arm/preconfigure: Regenerate.
27479 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27481         * nptl/pthread_create.c (__pthread_create_2_1): Set
27482         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27483         when copying values from IATTR into PD.
27485 2014-11-21  Will Newton  <will.newton@linaro.org>
27486             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27488         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27489         Refactor inline-asm.  Also add comment.
27491         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27492         ElfW macro instead of hardcoded Elf64 types.
27493         (la_aarch64_gnu_pltenter): Likewise.
27494         * sysdeps/aarch64/dl-machine.h
27495         (elf_machine_runtime_setup): Use ElfW(Addr).
27497         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27498         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27499         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27500         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27501         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27502         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27503         (R_AARCH64_TLS_DTPMOD): This.
27504         (R_AARCH64_TLS_DTPREL64): Rename to ...
27505         (R_AARCH64_TLS_DTPREL): This.
27506         (R_AARCH64_TLS_TPREL64): Rename to ...
27507         (R_AARCH64_TLS_TPREL): This.
27508         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27509         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27510         R_AARCH64_TLS_TPREL64.
27511         (elf_machine_rela): Likewise.
27513 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27515         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27516         by setting it to 0.  64b atomics are not supported currently.
27518 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27520         [BZ #16469]
27521         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27522         search domain names.
27524 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27526         [BZ #16469]
27527         * NEWS: Update.
27528         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27529         trailing dot.
27530         * posix/tst-getaddrinfo5.c: New.
27531         * posix/Makefile (tests): Add it.
27533 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27535         [BZ #14498]
27536         * NEWS: Fixed.
27537         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27538         after parsing line but before break_if_match.
27539         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27540         if there is a protocol mismatch.
27542 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27544         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27545         because the potential race is on the user-supplied stream.
27547 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27549         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27550         string literal if not passed a buffer.
27551         * manual/job.texi (ctermid): Update reasoning, note deviation
27552         from posix, suggest mtasurace when not passed a buffer, for
27553         future non-preliminary safety notes.
27555 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27557         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27558         of not passing it a buffer.
27559         Reported by Peng Haitao.
27561 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27563         * manual/Makefile ($(objpfx)stamp-summary): Require
27564         check-safety.sh to pass.
27565         * manual/check-safety.sh: Wish for verification that every
27566         @deftypefn and @deftypefun is followed by a @safety remark.
27568 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27570         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27572         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27573         PTHREAD_CANCEL_ASYNCHRONOUS.
27574         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27575         send SIGCANCEL.
27577         * nptl/default-sched.h: New file.
27578         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27579         * nptl/pthread_create.c: Include it.
27580         (__pthread_create_2_1): Use collect_default_sched instead of making
27581         Linux syscalls here directly.
27583 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27585         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27586         __pthread_once): Use C11 atomics.
27588 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27590         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27592 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27594         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27595         atomic_thread_fence_acquire, atomic_thread_fence_release,
27596         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27597         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27598         atomic_compare_exchange_weak_relaxed,
27599         atomic_compare_exchange_weak_acquire,
27600         atomic_compare_exchange_weak_release,
27601         atomic_exchange_acquire, atomic_exchange_release,
27602         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27603         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27604         atomic_fetch_and_acquire,
27605         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27607 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27609         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27610         USE_ATOMIC_COMPILER_BUILTINS): Define.
27611         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27612         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27613         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27614         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27615         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27617         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27618         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27619         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27620         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27621         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27622         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27623         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27624         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27625         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27626         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27627         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27628         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27629         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27630         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27631         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27632         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27633         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27634         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27635         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27636         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27637         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27638         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27639         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27640         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27641         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27642         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27643         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27644         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27645         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27646         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27647         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27648         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27649         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27650         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27652 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27654         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27655         the sched_priority value here.  It was already checked when the user
27656         called pthread_attr_setschedparam.
27658         * nptl/tst-bad-schedattr.c: New file.
27659         * nptl/Makefile (tests): Add it.
27661 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27662             Florian Weimer  <fweimer@redhat.com>
27663             Joseph Myers  <joseph@codesourcery.com>
27664             Adam Conrad  <adconrad@0c3.net>
27665             Andreas Schwab  <schwab@suse.de>
27666             Brooks  <bmoses@google.com>
27668         [BZ #17625]
27669         * wordexp-test.c (__dso_handle): Add prototype.
27670         (__register_atfork): Likewise.
27671         (__app_register_atfork): New function.
27672         (registered_forks): New global.
27673         (register_fork): New function.
27674         (test_case): Add 3 new tests for WRDE_CMDSUB.
27675         (main): Call __app_register_atfork.
27676         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27677         fork count is non-zero fail the test.
27678         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27679         is set.
27680         (parse_dollars): Remove check for WRDE_NOCMD.
27681         (parse_dquote): Likewise.
27683 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27685         * Makeconfig (built-modules): List non-library modules to be
27686         built.
27687         (module-cppflags): Include libc-modules.h for
27688         everything except shlib-versions.v.i.
27689         (CPPFLAGS): Use it.
27690         (before-compile): Add libc-modules.h.
27691         ($(common-objpfx)libc-modules.h,
27692         $(common-objpfx)libc-modules.stmp): New targets.
27693         (common-generated): Add libc-modules.h and libc-modules.stmp.
27694         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27695         * include/libc-symbols.h: Don't include libc-modules.h.
27696         * include/libc-modules.h: Remove file.
27697         * scripts/gen-libc-modules.awk: New script to generate
27698         libc-modules.h.
27699         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27700         Depend on libc-modules.stmp.
27702         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27704         * Makeconfig (in-module): Get value of libof set for the
27705         translation unit.
27706         (CPPFLAGS): Use $(in-module).
27707         * Makerules: Don't suffix routine names for nonlib.
27708         * include/libc-modules.h: New file.
27709         * include/libc-symbols.h: Include libc-modules.h
27710         (IS_IN): New macro to replace IS_IN_* macros.
27711         * elf/Makefile: Set libof-* for each routine.
27712         * elf/rtld-Rules: Likewise.
27713         * extra-modules.mk: Likewise.
27714         * iconv/Makefile: Likewise.
27715         * iconvdata/Makefile: Likewise.
27716         * locale/Makefile: Likewise.
27717         * malloc/Makefile: Likewise.
27718         * nss/Makefile: Likewise.
27719         * sysdeps/gnu/Makefile: Likewise.
27720         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27721         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27722         * sysdeps/s390/s390-64/Makefile: Likewise.
27723         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27724         CPPFLAGS for nscd instead of nonlib.
27726 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27728         * nptl/createthread.c: New file.
27730         * nptl/createthread.c: Moved ...
27731         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27733         * nptl/createthread.c: Add proper top-line comment.
27734         (do_clone): Folded into ...
27735         (create_thread): ... here.  Take new arguments STOPPED_START and
27736         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27737         increment __nptl_threads, do event-reporting logic, do
27738         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27739         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27740         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27741         just send SIGCANCEL.
27742         * nptl/pthread_create.c: Forward-declare create_thread before
27743         including createthread.c.
27744         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27745         declaration, and new macro START_THREAD_SELF to replace argument.
27746         Remove return statement.
27747         (report_thread_creation): New function.
27748         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27749         synchronization logic, and __nptl_nthreads increment here, around
27750         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27751         PD->parent_cancelhandling here, before create_thread.  When
27752         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27753         __deallocate_stack, and ENOMEM translation here.
27755 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27757         [BZ #17616]
27758         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27759         (mptwo): Rename to __mptwo.
27760         (__inv): Use __mptwo instead of mptwo.
27761         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27762         (mptwo): Rename to __mptwo.
27763         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27764         of mpone and __mptwo instead of mptwo.
27765         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27766         instead of mpone.
27767         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27768         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27769         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27770         of mpone and __mptwo instead of mptwo.
27771         (__mpranred): Use __mpone instead of mpone.
27772         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27773         variable.
27774         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27775         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27776         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27777         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27778         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27779         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27780         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27781         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27782         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27783         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27784         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27785         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27786         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27787         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27788         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27789         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27790         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27791         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27792         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27794 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27796         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27797         replace BSD Handler xref with BSD Signal Handling.
27799 2014-11-17  Richard Henderson  <rth@redhat.com>
27801         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27802         (_FP_PACK_RAW_2): Remove.
27803         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27804         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27805         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27806         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27807         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27808         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27809         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27810         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27811         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27812         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27813         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27814         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27815         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27816         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27817         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27818         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27820 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27822         * signal/signal.h [__USE_MISC]
27823         (struct sigvec): Remove type.
27824         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27825         (sigvec): Remove declaration.
27826         * sysdeps/posix/sigvec.c: Moved ...
27827         * signal/sigvec.c: ... here, replacing old file.
27828         (struct sigvec): New type, copied from old signal.h definition.
27829         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27830         (__sigvec): Convert definition to prototype.
27831         (sigvec): Replace weak_alias with compat_symbol.
27832         * signal/Versions (libc: GLIBC_2.21): New version set.
27833         * include/signal.h: Remove __sigvec declaration.
27834         * sysdeps/unix/bsd/sigvec.c: Remove file.
27835         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27836         * manual/signal.texi (BSD Handler): Remove subsection.
27837         Move siginterrupt up to ...
27838         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27839         (Blocking in BSD): Fold subsection into its parent.
27840         * NEWS: Mention sigvec removal.
27842 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27844         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27845         (DLA_FMS): Make definition conditional only on [__FMA4__].
27846         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27847         definition.
27849         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27850         Make definition conditional only on [PROF].
27851         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27852         definition.
27853         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27854         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27856         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27857         !__GNUC__].
27858         * include/signal.h (__sigpause): Move declaration above call to
27859         libc_hidden_proto.
27860         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27861         variable.
27862         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27863         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27865 2014-11-14  David S. Miller  <davem@davemloft.net>
27867         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27868         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27870 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27872         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27873         * configure: Regenerated.
27874         * manual/install.texi (Tools for Compilation): Document a
27875         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27876         compiler verified to work.
27877         * INSTALL: Regenerated.
27879         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27880         redeclare with asm name.
27881         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27882         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27883         including <string.h>.
27884         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27885         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27886         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27887         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27888         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27889         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27890         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27892 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27894         * stdlib/strtol.c (__strtol): Use prototype definition.
27896         [BZ #17594]
27897         * stdlib/strtol.c (SYM__): New macro.
27898         (SYM__1): Likewise.
27899         (__strtol): Likewise.
27900         (strtol): Rename to __strtol and define as weak alias of
27901         __strtol.  Use libc_hidden_weak.
27903 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27905         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27906         Use numbered labels in inline assembly.
27908 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27910         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27911         Add setjmp LIBC_PROBE.
27912         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27913         Likewise.
27914         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27915         Add longjmp, longjmp_target LIBC_PROBE.
27916         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27917         Likewise.
27919 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27921         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27922         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27923         to get rid of unused variable warning.
27925 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27927         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27928         Check for unwind_backtrace ==  NULL only in SHARED case.
27929         (__backchain_backtrace): Compile only in SHARED case.
27930         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27931         Likewise.
27932         (__backchain_backtrace): Declare as static.
27934 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27936         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27937         (__libc_multiple_threads_ptr): Variable moved ...
27938         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27940 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27942         * conform/GlibcConform.pm: New file.
27943         * conform/conformtest.pl: Use GlibcConform module.
27944         * conform/linknamespace.pl: New file.
27945         * conform/list-header-symbols.pl: Likewise.
27946         * conform/Makefile (linknamespace-symlists-base): New variable.
27947         (linknamespace-symlists-tests): Likewise.
27948         (linknamespace-header-base): Likewise.
27949         (linknamespace-header-tests): Likewise.
27950         (tests-special): Add new tests.
27951         ($(linknamespace-symlists-tests)): New rule.
27952         (linknamespace-libs): New variable.
27953         ($(objpfx)symlist-stdlibs): New rule.
27954         ($(linknamespace-header-tests)): Likewise.
27955         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27956         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27957         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27958         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27959         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27960         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27961         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27962         (test-xfail-ISO/math.h/linknamespace): Likewise.
27963         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27964         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27965         (test-xfail-ISO/time.h/linknamespace): Likewise.
27966         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27967         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27968         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27969         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27970         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27971         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27972         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27973         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27974         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27975         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27976         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27977         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27978         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27979         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27980         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27981         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27982         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27983         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27984         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27985         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27986         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27987         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27988         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27989         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27990         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27991         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27992         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27993         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27994         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27995         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27996         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27997         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27998         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27999         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28000         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28001         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28002         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28003         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28004         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28005         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28006         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28007         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28008         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28009         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28010         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28011         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28012         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28013         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28014         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28015         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28016         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28017         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28018         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28019         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28020         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28021         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28022         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28023         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28024         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28025         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28026         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28027         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28028         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28029         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28030         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28031         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28032         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28033         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28034         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28035         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28036         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28037         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28038         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28039         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28040         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28041         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28042         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28043         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28044         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28045         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28046         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28047         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28048         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28049         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28050         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28051         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28052         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28053         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28054         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28055         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28056         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28057         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28058         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28059         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28060         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28061         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28062         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28063         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28064         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28065         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28066         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28067         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28068         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28069         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28070         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28071         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28072         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28073         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28074         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28075         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28076         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28077         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28078         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28079         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28080         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28081         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28082         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28083         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28084         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28085         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28086         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28087         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28088         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28089         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28090         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28091         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28092         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28093         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28094         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28095         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28096         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28097         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28098         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28099         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28100         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28101         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28102         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28103         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28104         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28105         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28106         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28107         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28108         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28109         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28110         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28111         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28112         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28113         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28114         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28115         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28117         [BZ #17589]
28118         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28119         of fgets_unlocked.
28121         [BZ #17585]
28122         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28123         (memmem): Rename to __memmem and define as weak alias of
28124         __memmem.  Use libc_hidden_weak.
28125         (__memmem): Use libc_hidden_def.
28126         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28127         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28128         memmem.
28130         [BZ #17582]
28131         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28132         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28133         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28134         and define as weak alias of __fgets_unlocked.  Use
28135         libc_hidden_weak.
28136         (__fgets_unlocked): Use libc_hidden_def.
28137         * include/stdio.h (__fgets_unlocked): Declare.  Use
28138         libc_hidden_proto.
28139         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28140         __fgets_unlocked instead of fgets_unlocked.
28141         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28142         (GET_NPROCS_CONF_PARSER): Likewise.
28143         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28144         (GET_NPROCS_CONF_PARSER): Likewise.
28146         [BZ #17574]
28147         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28148         weak alias of __wmemset.  Use libc_hidden_weak.
28149         (__wmemset): Use libc_hidden_def.
28150         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28151         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28152         of wmemset.
28154         [BZ #17573]
28155         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28156         with asm name __mempcpy.
28157         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28159         [BZ #17572]
28160         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28161         and define as weak alias of __rawmemchr.
28162         (__rawmemchr): Do not define as strong alias of rawmemchr.
28164         [BZ #17571]
28165         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28166         alias of __qsort_r.
28167         (qsort): Call __qsort_r instead of qsort_r.
28168         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28169         (__qsort_r): Declare.  Call libc_hidden_proto.
28170         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28171         instead of qsort_r.
28172         * nscd/gai.c (__qsort_r): Define to qsort_r.
28173         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28174         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28175         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28177         [BZ #17570]
28178         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28179         define as weak alias of __malloc_info.
28181         [BZ #17584]
28182         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28183         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28184         (__rewinddir): Use libc_hidden_def.
28185         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28186         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28187         (__rewinddir): Use libc_hidden_def.
28188         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28189         weak alias of __rewinddir.  Don't use libc_hidden_def.
28190         (__rewinddir): Use libc_hidden_def.
28191         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28192         (__rewinddir): Use libc_hidden_proto.
28193         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28194         rewinddir.
28195         (__getcwd): Use __rewinddir instead of rewinddir.
28197         [BZ #17583]
28198         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28199         alias of __fileno.  Use libc_hidden_weak.
28200         (__fileno): Use libc_hidden_def.
28201         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28202         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28203         alias of __ftello.
28204         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28205         __ftello.
28206         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28207         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28208         libc_hidden_def.
28209         (fread_unlocked): Don't use libc_hidden_ver.
28210         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28211         and define as weak alias of __fread_unlocked.  Don't use
28212         libc_hidden_def.
28213         (__fread_unlocked): Use libc_hidden_def.
28214         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28215         (ftello): Don't use libc_hidden_proto.
28216         (__ftello): Declare.  Use libc_hidden_proto.
28217         (fread_unlocked): Don't use libc_hidden_proto.
28218         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28219         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28220         and __ftello instead of fileno, fread_unlocked and ftello.
28222 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28224         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28225         GOT12.
28226         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28227         Likewise.
28228         (_dl_start_user): Likewise.
28229         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28231 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28232             Siddhesh Poyarekar  <siddhesh@redhat.com>
28234         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28235         Move argv and envp down instead of moving argc up.
28236         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28238 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28240         [BZ #17506]
28241         * test-skeleton.c (main): Return successful if one of
28242         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28243         * string/tst-strcoll-overflow.c: Define expected status.
28245 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28247         [BZ #17475]
28248         * locale/iso-639.def: Define Bhili and Tulu language codes.
28250 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28252         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28254 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28256         [BZ #17555]
28257         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28259 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28261         * configure.ac: Updated check of minimal required version to
28262         2.22.
28263         * manual/install.texi (Tools for Compilation): Updated version
28264         number.
28265         * configure: Regenerated.
28266         * INSTALL: Likewise.
28268 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28270         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28271         __tls_get_addr.
28273 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28275         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28276         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28277         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28278         libc_hidden_weak.
28279         (waitpid): Define as alias of __waitpid.
28280         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28281         __waitpid.
28282         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28283         libc_hidden_weak.
28284         (waitpid): Define as alias of __waitpid.
28285         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28286         __libc_waitpid alias.
28287         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28288         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28289         Likewise.
28290         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28291         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28292         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28293         alias.
28294         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28295         __waitpid.
28296         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28297         libc_hidden_weak.
28298         (waitpid): Define as alias of __waitpid.
28300 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28302         * manual/llio.texi: Add comment that write safety has been
28303         fixed in Linux.
28305         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28306         (localplt-build-dso): Add elf/ld.so.
28307         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28308         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28309         and free for ld.so.
28310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28311         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28313         Likewise.
28314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28315         Likewise.
28316         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28317         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28318         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28319         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28320         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28321         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28322         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28323         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28324         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28325         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28326         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28328 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28330         [BZ #14132]
28331         * include/libc-symbols.h (INTUSE): Remove macro.
28332         (INTDEF): Likewise.
28333         (INTVARDEF): Likewise.
28334         (_INTVARDEF): Likewise.
28335         (INTDEF2): Likewise.
28336         (INTVARDEF2): Likewise.
28337         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28338         rtld_hidden_def instead of INTVARDEF.
28339         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28340         (_dl_starting_up_internal): Remove declaration.
28341         (_dl_starting_up): Use rtld_hidden_proto.
28342         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28343         declaration.
28344         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28345         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28346         _dl_starting_up.
28347         * elf/dl-writev.h (_dl_writev): Likewise.
28348         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28349         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28350         _dl_starting_up_internal.
28352 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28354         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28355         test-skeleton.c.
28357 2014-11-05  Will Newton  <will.newton@linaro.org>
28359         * benchtests/Makefile: (bench-malloc): Add malloc thread
28360         scalability benchmark.
28361         * benchtests/bench-malloc-threads.c: New file.
28363 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28365         * sysdeps/aarch64/strchrnul.S: New file.
28367 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28369         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28370         definition.
28371         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28372         Likwise.
28373         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28374         Likewise.
28375         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28376         Likewise.
28377         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28378         Likewise.
28379         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28380         Likewise.
28382 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28384         * catgets/test-gencat.c: Use test-skeleton.c.
28385         * catgets/tst-catgets.c: Likewise.
28386         * csu/tst-empty.c: Likewise.
28387         * elf/tst-audit2.c: Likewise.
28388         * elf/tst-global1.c: Likewise.
28389         * elf/tst-pathopt.c: Likewise.
28390         * elf/tst-piemod1.c: Likewise.
28391         * elf/tst-tls10.c: Likewise.
28392         * elf/tst-tls11.c: Likewise.
28393         * elf/tst-tls12.c: Likewise.
28394         * gnulib/tst-gcc.c: Likewise.
28395         * iconvdata/tst-e2big.c: Likewise.
28396         * iconvdata/tst-loading.c: Likewise.
28397         * iconv/tst-iconv1.c: Likewise.
28398         * iconv/tst-iconv2.c: Likewise.
28399         * inet/test-inet6_opt.c: Likewise.
28400         * inet/tst-gethnm.c: Likewise.
28401         * inet/tst-network.c: Likewise.
28402         * inet/tst-ntoa.c: Likewise.
28403         * intl/tst-codeset.c: Likewise.
28404         * intl/tst-gettext2.c: Likewise.
28405         * intl/tst-gettext3.c: Likewise.
28406         * intl/tst-ngettext.c: Likewise.
28407         * intl/tst-translit.c: Likewise.
28408         * io/test-stat.c: Likewise.
28409         * libio/test-fmemopen.c: Likewise.
28410         * libio/tst-freopen.c: Likewise.
28411         * libio/tst-sscanf.c: Likewise.
28412         * libio/tst-ungetwc1.c: Likewise.
28413         * libio/tst-ungetwc2.c: Likewise.
28414         * libio/tst-widetext.c: Likewise.
28415         * localedata/tst-ctype.c: Likewise.
28416         * localedata/tst-digits.c: Likewise.
28417         * localedata/tst-leaks.c: Likewise.
28418         * localedata/tst-mbswcs1.c: Likewise.
28419         * localedata/tst-mbswcs2.c: Likewise.
28420         * localedata/tst-mbswcs3.c: Likewise.
28421         * localedata/tst-mbswcs4.c: Likewise.
28422         * localedata/tst-mbswcs5.c: Likewise.
28423         * localedata/tst-setlocale.c: Likewise.
28424         * localedata/tst-trans.c: Likewise.
28425         * localedata/tst-wctype.c: Likewise.
28426         * localedata/tst-xlocale1.c: Likewise.
28427         * login/tst-grantpt.c: Likewise.
28428         * malloc/tst-calloc.c: Likewise.
28429         * malloc/tst-malloc.c: Likewise.
28430         * malloc/tst-mallocstate.c: Likewise.
28431         * malloc/tst-mcheck.c: Likewise.
28432         * malloc/tst-mtrace.c: Likewise.
28433         * malloc/tst-obstack.c: Likewise.
28434         * math/atest-exp2.c: Likewise.
28435         * math/atest-exp.c: Likewise.
28436         * math/atest-sincos.c: Likewise.
28437         * math/test-matherr.c: Likewise.
28438         * math/test-misc.c: Likewise.
28439         * math/test-powl.c: Likewise.
28440         * math/tst-definitions.c: Likewise.
28441         * misc/tst-dirname.c: Likewise.
28442         * misc/tst-efgcvt.c: Likewise.
28443         * misc/tst-fdset.c: Likewise.
28444         * misc/tst-hsearch.c: Likewise.
28445         * misc/tst-mntent2.c: Likewise.
28446         * nptl/tst-sem7.c: Likewise.
28447         * nptl/tst-sem8.c: Likewise.
28448         * nptl/tst-sem9.c: Likewise.
28449         * nss/test-netdb.c: Likewise.
28450         * posix/tst-fnmatch.c: Likewise.
28451         * posix/tst-getlogin.c: Likewise.
28452         * posix/tst-gnuglob.c: Likewise.
28453         * posix/tst-mmap.c: Likewise.
28454         * pwd/tst-getpw.c: Likewise.
28455         * resolv/tst-inet_ntop.c: Likewise.
28456         * rt/tst-timer.c: Likewise.
28457         * stdio-common/test-fseek.c: Likewise.
28458         * stdio-common/test-popen.c: Likewise.
28459         * stdio-common/test-vfprintf.c: Likewise.
28460         * stdio-common/tst-cookie.c: Likewise.
28461         * stdio-common/tst-fileno.c: Likewise.
28462         * stdio-common/tst-gets.c: Likewise.
28463         * stdio-common/tst-obprintf.c: Likewise.
28464         * stdio-common/tst-perror.c: Likewise.
28465         * stdio-common/tst-sprintf2.c: Likewise.
28466         * stdio-common/tst-sprintf3.c: Likewise.
28467         * stdio-common/tst-sprintf.c: Likewise.
28468         * stdio-common/tst-swprintf.c: Likewise.
28469         * stdio-common/tst-tmpnam.c: Likewise.
28470         * stdio-common/tst-unbputc.c: Likewise.
28471         * stdio-common/tst-wc-printf.c: Likewise.
28472         * stdlib/tst-environ.c: Likewise.
28473         * stdlib/tst-fmtmsg.c: Likewise.
28474         * stdlib/tst-limits.c: Likewise.
28475         * stdlib/tst-rand48-2.c: Likewise.
28476         * stdlib/tst-rand48.c: Likewise.
28477         * stdlib/tst-random2.c: Likewise.
28478         * stdlib/tst-random.c: Likewise.
28479         * stdlib/tst-strtol.c: Likewise.
28480         * stdlib/tst-strtoll.c: Likewise.
28481         * stdlib/tst-tls-atexit.c: Likewise.
28482         * stdlib/tst-xpg-basename.c: Likewise.
28483         * string/test-ffs.c: Likewise.
28484         * string/tst-bswap.c: Likewise.
28485         * string/tst-inlcall.c: Likewise.
28486         * string/tst-strtok.c: Likewise.
28487         * string/tst-strxfrm.c: Likewise.
28488         * sysdeps/x86_64/tst-audit10.c: Likewise.
28489         * sysdeps/x86_64/tst-audit3.c: Likewise.
28490         * sysdeps/x86_64/tst-audit4.c: Likewise.
28491         * sysdeps/x86_64/tst-audit5.c: Likewise.
28492         * time/tst-ftime_l.c: Likewise.
28493         * time/tst-getdate.c: Likewise.
28494         * time/tst-mktime3.c: Likewise.
28495         * time/tst-mktime.c: Likewise.
28496         * time/tst-posixtz.c: Likewise.
28497         * time/tst-strptime2.c: Likewise.
28498         * time/tst-strptime3.c: Likewise.
28499         * wcsmbs/tst-btowc.c: Likewise.
28500         * wcsmbs/tst-mbrtowc.c: Likewise.
28501         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28502         * wcsmbs/tst-wchar-h.c: Likewise.
28503         * wcsmbs/tst-wcpncpy.c: Likewise.
28504         * wcsmbs/tst-wcrtomb.c: Likewise.
28505         * wcsmbs/tst-wcsnlen.c: Likewise.
28506         * wcsmbs/tst-wcstof.c: Likewise.
28508 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28510         [BZ #14132]
28511         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28512         INTDEF.
28513         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28514         declaration.
28515         (_dl_mcount): Use rtld_hidden_proto.
28516         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28517         _dl_mcount.
28518         * elf/rtld.c (_rtld_global_ro): Likewise.
28520         [BZ #14132]
28521         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28522         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28523         of _dl_init_internal.
28524         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28525         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28526         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28527         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28528         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28529         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28530         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28531         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28532         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28533         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28534         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28535         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28536         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28537         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28538         * sysdeps/tile/dl-start.S (_start): Likewise.
28539         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28540         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28542         [BZ #14132]
28543         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28544         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28545         (rtld_progname): Make macro definition unconditional.
28546         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28547         INTDEF.
28548         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28549         (dl_main): Likewise.
28550         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28551         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28552         instead of _dl_argv_internal.
28553         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28554         __GI__dl_argv instead of INTUSE(_dl_argv).
28555         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28556         __GI__dl_argv instead of _dl_argv_internal.
28558         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28559         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28560         macro.
28561         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28562         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28563         New macro.
28564         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28565         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28566         macro.
28567         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28568         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28570 2014-11-04  Andreas Schwab  <schwab@suse.de>
28572         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28574 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28576         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28577         mtvsrd instruction in binary form.
28579 2014-11-03  Andreas Schwab  <schwab@suse.de>
28581         [BZ #17522]
28582         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28583         for less than MB_LEN_MAX use a local buffer of that size.
28584         * libio/tst-fputws.c: New file.
28585         * libio/Makefile (tests): Add tst-fputws.
28587 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28589         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28590         the size of the fpu_fr.fpu_dregs[] array.
28592 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28594         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28595         (__nanosleep): Do not define as alias.
28596         (nanosleep): Define as alias of __nanosleep.
28597         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28598         __libc_nanosleep name.
28600 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28602         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28603         install.texi in comment.
28605 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28607         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28608         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28609         ... add here and use lwsync or sync ...
28610         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28611         ... and add here using lwsync.
28613 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28615         * elf/dl-machine-reject-phdr.h: New file.
28616         * elf/dl-load.c: #include that.
28617         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28618         if that returned true.
28620 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28622         [BZ #17496]
28623         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28624         gen-as-const-headers chunk.  Add a big scare comment after the last
28625         safe place to touch before-compile.
28627 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28629         * manual/install.texi (Tools for Compilation): Update autoconf
28630         version requirements.
28631         * INSTALL: Regenerated.
28633         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28634         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28635         (__libc_pselect): Likewise.
28637         [BZ #14138]
28638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28643 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28645         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28646         correct barrier instruction.
28647         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28648         Likewise.
28649         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28650         Likewise.
28652 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28654         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28655         after defining inlines.  Instead, just use parens to defeat macro
28656         expansion of __isctype in its declaration.
28658 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28660         * include/sys/uio.h (__libc_readv): Remove declaration.
28661         (__libc_writev): Likewise.
28662         * misc/readv.c (__libc_readv): Rename to __readv.
28663         (__readv): Do not define as alias.
28664         (readv): Define as alias of __readv.
28665         * misc/writev.c (__libc_writev): Rename to __writev.
28666         (__writev): Do not define as alias.
28667         (writev): Define as alias of __writev.
28668         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28669         (__readv): Do not define as alias.
28670         (readv): Define unconditionally as alias of __readv.
28671         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28672         (__writev): Do not define as alias.
28673         (writev): Define unconditionally as alias of __writev.
28674         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28675         name.
28676         (writev): Do not define __libc_writev name.
28678 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28680         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28681         (convert_charseq): New function, broken out of ...
28682         (use_from_charmap): ... here.  Call it.
28683         (use_to_charmap): Use convert_charseq and free instead of duplicating
28684         its code with a variable-length stack struct.
28686 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28688         * include/fcntl.h (__libc_creat): Remove declaration.
28689         * io/creat.c (__libc_creat): Rename to creat.
28690         (creat): Do not define as alias.
28691         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28692         of creat instead of __libc_creat.
28693         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28694         to creat.
28695         (creat): Do not define as alias.
28696         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28697         __libc_creat.
28698         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28699         __libc_creat name.
28700         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28701         Likewise.
28703 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28705         * manual/llio.texi: Add comments discussing why write() may be
28706         considered MT-unsafe on Linux.
28708 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28710         * dl-load.c (local_strdup): Remove.
28711         (expand_dynamic_string_token): Use __strdup.
28712         (decompose_rpath): Likewise.
28713         (_dl_map_object): Likewise.
28715 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28717         [BZ #14132]
28718         * sysdeps/generic/unwind-dw2-fde.c
28719         (__register_frame_info_bases_internal): Do not declare.
28720         (__register_frame_info_table_bases_internal): Likewise.
28721         (__deregister_frame_info_bases_internal): Likewise.
28722         (__register_frame_info_bases): Declare and use hidden_proto before
28723         definition.  Use hidden_def instead of INTDEF.
28724         (__register_frame_info_table_bases): Likewise.
28725         (__deregister_frame_info_bases): Likewise.
28726         (__register_frame_info): Do not use INTUSE.
28727         (__register_frame): Likewise.
28728         (__register_frame_info_table): Likewise.
28729         (__register_frame_table): Likewise.
28730         (__deregister_frame_info): Likewise.
28731         (__deregister_frame): Likewise.
28733 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28735         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28736         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28737         not undefine.
28738         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28739         Likewise.
28740         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28741         Likewise.
28743 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28745         [BZ #14138]
28746         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28747         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28748         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28749         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28750         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28751         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28752         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28753         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28754         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28755         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28756         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28757         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28758         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28759         syscall.
28760         (setfsuid): Likewise.
28761         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28762         (setfsuid): Likewise.
28763         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28764         (setfsuid): Likewise.
28765         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28766         Likewise.
28767         (setfsuid): Likewise.
28768         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28769         (setfsuid): Likewise.
28770         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28771         Likewise.
28772         (setfsuid): Likewise.
28774 2014-10-27  Andreas Schwab  <schwab@suse.de>
28776         [BZ #17501]
28777         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28778         check for Slow_SSE4_2 feature bit.
28779         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28780         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28781         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28782         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28784 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28786         * configure.ac: Validate compiler version with a empirical test of
28787         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28788         $CC -v output.
28789         * configure: Regenerated.
28791         * inet/htons.c (htons): Prototypify.
28792         * inet/htonl.c (htonl): Likewise.
28794 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28796         * string/strncat.c (strncat): Improve performance by using strlen.
28798 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28800         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28802 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28804         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28805         Call libc_fetestexcept_aarch64.
28807 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28809         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28810         Call libc_feholdexcept_aarch64.
28812 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28814         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28815         Call get_rounding_mode.
28817 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28819         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28820         Simplify logic.
28822 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28824         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28825         Simplify logic.
28827 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28829         [BZ #14138]
28830         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28831         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28832         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28833         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28834         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28835         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28836         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28837         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28838         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28839         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28840         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28841         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28842         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28843         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28844         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28845         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28846         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28847         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28848         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28849         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28850         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28851         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28852         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28853         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28854         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28855         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28856         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28857         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28858         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28859         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28860         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28861         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28862         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28863         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28864         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28865         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28866         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28867         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28868         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28869         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28870         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28871         syscall.
28872         (geteuid): Likewise.
28873         (getgid): Likewise.
28874         (getuid): Likewise.
28875         (getresgid): Likewise.
28876         (getresuid): Likewise.
28877         (getgroups): Likewise.
28878         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28879         (geteuid): Likewise.
28880         (getgid): Likewise.
28881         (getuid): Likewise.
28882         (getresgid): Likewise.
28883         (getresuid): Likewise.
28884         (getgroups): Likewise.
28885         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28886         (geteuid): Likewise.
28887         (getgid): Likewise.
28888         (getuid): Likewise.
28889         (getresgid): Likewise.
28890         (getresuid): Likewise.
28891         (getgroups): Likewise.
28892         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28893         Likewise.
28894         (geteuid): Likewise.
28895         (getgid): Likewise.
28896         (getuid): Likewise.
28897         (getresgid): Likewise.
28898         (getresuid): Likewise.
28899         (getgroups): Likewise.
28900         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28901         (geteuid): Likewise.
28902         (getgid): Likewise.
28903         (getuid): Likewise.
28904         (getresgid): Likewise.
28905         (getresuid): Likewise.
28906         (getgroups): Likewise.
28907         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28908         Likewise.
28909         (geteuid): Likewise.
28910         (getgid): Likewise.
28911         (getuid): Likewise.
28912         (getgroups): Likewise.
28914         [BZ #14138]
28915         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28916         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28917         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28918         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28919         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28920         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28921         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28922         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28923         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28924         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28925         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28926         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28927         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28928         __chown.
28929         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28930         (lchown): Likewise.
28931         (fchown): Likewise.
28932         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28933         Likewise.
28934         (lchown): Likewise.
28935         (fchown): Likewise.
28936         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28937         (lchown): Likewise.
28938         (fchown): Likewise.
28939         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28940         Likewise.
28941         (lchown): Likewise.
28942         (fchown): Likewise.
28944 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28946         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28947         Simplify logic.
28949 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28951         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28952         Cleanup logic.
28954 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28956         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28957         Remove unused include.
28959 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28961         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28962         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28963         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28964         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28966 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28967             Helge Deller <deller@gmx.de>
28969         [BZ #17508]
28970         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28971         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28972         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28974 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28976         [BZ #14132]
28977         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28978         Remove macro definition.
28979         (__ashrdi3_v_glibc20): Likewise.
28980         (__lshrdi3_v_glibc20): Likewise.
28981         (__cmpdi2_v_glibc20): Likewise.
28982         (__ucmpdi2_v_glibc20): Likewise.
28983         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28984         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28985         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28986         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28987         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28988         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28990 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28992         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28993         old GNU extension [0] syntax.
28994         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28995         alloca rather than an array member with variable length.
28996         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28997         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28998         (parse_opt): ... here.  Likewise use alloca there.
28999         Validate the -i argument before checking for rootness.
29000         (send_shutdown): New function, broken out of ...
29001         (parse_opt): ... here.
29003 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29005         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29006         macro to get at the _rt_local_ro field.
29007         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29008         ([PIC] case) or _dl_hwcap ([!PIC] case).
29009         * sysdeps/arm/setjmp.S: Likewise.
29011         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29012         * sysdeps/arm/configure.ac: New check to define it.
29013         * sysdeps/arm/configure: Regenerated.
29014         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29015         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29016         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29017         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29018         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29019         Use move/movt pair instead of a load.
29020         (LDST_GLOBAL): Macro removed.
29021         (LDR_GLOBAL): New macro replaces it.
29022         (LDR_HIDDEN): New macro.
29023         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29024         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29026         * setjmp/tst-setjmp-static.c: New file.
29027         * setjmp/Makefile (tests): Add it.
29028         (tests-static): New variable.
29030 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29032         [BZ #17485]
29033         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29035 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29037         [BZ #14132]
29038         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29040 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29042         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29044 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29046         * io/fts.c (dirent_not_directory): New function.
29047         (fts_build): Call it.
29049 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29051         * nptl/version.c (__nptl_main): Use normal __write rather than
29052         INTERNAL_SYSCALL.
29053         (banner): Update copyright years.
29055         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29056         gettimeofday.
29057         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29058         * nptl/pthread_cond_timedwait.c: Likewise.
29059         * nptl/pthread_mutex_timedlock.c: Likewise.
29060         * nptl/sem_timedwait.c: Likewise.
29062         * sysdeps/nptl/bits/libc-lock.h
29063         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29064         (__libc_lock_init_recursive): Return void, not 0.
29065         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29066         (__libc_rwlock_init): Likewise.
29067         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29069 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29071         [BZ #15215]
29072         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29073         (__pthread_once_slow): ... here.
29074         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29075         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29077 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29079         [BZ #15215]
29080         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29081         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29082         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29083         * nptl/pthread_once.c (__pthread_once): Likewise.
29084         Update comments.
29086 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29088         [BZ #14138]
29089         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29090         name.
29091         (writev): Use __libc_writev as strong name.
29092         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29093         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29095 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29097         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29099         * sysdeps/i386/nptl/tls.h
29100         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29101         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29102         New macros.
29103         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29104         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29105         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29106         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29107         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29108         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29110         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29111         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29112         on [__NR_futex].
29113         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29114         broken out of ...
29115         (__pthread_mutex_init): ... here.  Call it.
29116         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29117         Conditionalize PI cases on [__NR_futex].
29118         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29119         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29120         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29122         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29123         conditional on [SIGSETXID].
29124         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29125         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29126         is defined.  Likewise for SIGSETXID.
29127         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29128         Conditionalize definitions on [SIGSETXID].
29129         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29130         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29131         unblocking on [SIGCANCEL].
29133         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29134         [__NR_set_robust_list].
29136 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29138         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29139         (do_compare): Likewise.
29141 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29143         [BZ #15884]
29144         * string/strcoll_l.c: Don't include stdio.h.
29145         (coll_seq): Remove members idxarr and rulearr.
29146         (get_next_seq_cached): Remove function.
29147         (get_next_seq): Likewise.
29148         (get_next_seq_nocache): Rename to get_next_seq.
29149         (do_compare): Remove function.
29150         (do_compare_nocache): Rename to do_compare.
29151         (STRCOLL): Remove weight and rules cache.
29153 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29155         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29156         * sysdeps/arm/sfp-machine.h: ... to here.
29157         * sysdeps/arm/Implies: Remove arm/soft-fp.
29159 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29161         * conform/data/sys/utsname.h-data (*_t): Allow.
29162         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29163         [POSIX] (WEXITED): Do not expect constant.
29164         [POSIX] (WSTOPPED): Likewise.
29165         [POSIX] (WNOHANG): Likewise.
29166         [POSIX] (WNOWAIT): Likewise.
29167         [POSIX] (siginfo_t): Do not expect type or elements.
29168         [POSIX] (pid_t): Do not expect type.
29169         [POSIX] (signal.h): Do not allow header.
29170         [POSIX] (sys/resource.h): Likewise.
29171         [POSIX] (si_*): Do not allow pattern.
29172         [POSIX] (W*): Likewise.
29173         [POSIX] (P_*): Likewise.
29174         [POSIX] (BUS_*): Likewise.
29175         [POSIX] (CLD_*): Likewise.
29176         [POSIX] (FPE_*): Likewise.
29177         [POSIX] (ILL_*): Likewise.
29178         [POSIX] (POLL_*): Likewise.
29179         [POSIX] (SEGV_*): Likewise.
29180         [POSIX] (SI_*): Likewise.
29181         [POSIX] (TRAP_*): Likewise.
29182         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29183         variable.
29185 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29187         [BZ #12926]
29188         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29189         infinite loop when __recvmsg returns 0.
29191 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29193         * CANCEL-FCT-WAIVE: Remove file.
29194         * CANCEL-FILE-WAIVE: Likewise.
29196         [BZ #14132]
29197         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29198         instead of INTVARDEF.
29199         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29200         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29201         rtld_hidden_data_def instead of INTVARDEF.
29202         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29203         * elf/dl-deps.c (expand_dst): Likewise.
29204         * elf/dl-load.c (_dl_dst_count): Likewise.
29205         (_dl_dst_substitute): Likewise.
29206         (decompose_rpath): Likewise.
29207         (_dl_init_paths): Likewise.
29208         (open_path): Likewise.
29209         (_dl_map_object): Likewise.
29210         * elf/rtld.c (dl_main): Likewise.
29211         (process_dl_audit): Likewise.
29212         (process_envvars): Likewise.
29213         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29214         Remove declaration.
29215         (__libc_enable_secure): Use rtld_hidden_proto.
29217 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29219         * elf/dl-load.c
29220         (add_path): New function broken out of _dl_rtld_di_serinfo.
29221         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29223 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29225         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29226         parentheses around macro arguments.
29227         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29230         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29231         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29232         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29233         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29234         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29235         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29236         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29237         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29238         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29239         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29240         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29241         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29242         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29243         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29245         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29246         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29248         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29249         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29250         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29251         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29252         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29253         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29254         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29255         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29256         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29257         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29258         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29259         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29260         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29261         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29262         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29263         Likewise.
29264         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29265         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29266         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29267         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29268         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29269         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29270         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29271         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29272         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29273         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29274         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29275         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29276         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29277         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29278         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29279         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29280         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29281         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29282         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29283         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29284         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29285         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29286         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29287         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29288         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29289         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29290         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29291         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29292         (_FP_FRAC_SRS_1): Likewise.
29293         (_FP_FRAC_CLZ_1): Likewise.
29294         (_FP_MUL_MEAT_1_imm): Likewise.
29295         (_FP_MUL_MEAT_1_wide): Likewise.
29296         (_FP_MUL_MEAT_1_hard): Likewise.
29297         (_FP_SQRT_MEAT_1): Likewise.
29298         (_FP_FRAC_ASSEMBLE_1): Likewise.
29299         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29300         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29301         (__FP_CLZ_2): Likewise.
29302         (_FP_MUL_MEAT_2_wide): Likewise.
29303         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29304         (_FP_MUL_MEAT_2_gmp): Likewise.
29305         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29306         (_FP_SQRT_MEAT_2): Likewise.
29307         (_FP_FRAC_ASSEMBLE_2): Likewise.
29308         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29309         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29310         (_FP_FRAC_CLZ_4): Likewise.
29311         (_FP_MUL_MEAT_4_wide): Likewise.
29312         (_FP_MUL_MEAT_4_gmp): Likewise.
29313         (_FP_SQRT_MEAT_4): Likewise.
29314         (_FP_FRAC_ASSEMBLE_4): Likewise.
29315         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29316         * soft-fp/op-common.h (_FP_CMP): Likewise.
29317         (_FP_CMP_EQ): Likewise.
29318         (_FP_CMP_UNORD): Likewise.
29319         (_FP_TO_INT): Likewise.
29320         (_FP_FROM_INT): Likewise.
29321         [!__FP_CLZ] (__FP_CLZ): Likewise.
29322         (_FP_DIV_HELP_imm): Likewise.
29323         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29324         Likewise.
29325         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29328         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29329         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29330         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29331         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29332         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29335         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29336         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29337         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29338         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29339         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29340         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29341         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29343         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29346         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29347         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29348         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29349         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29350         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29351         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29353         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29354         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29355         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29356         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29357         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29358         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29359         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29360         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29361         (FP_UNPACK_RAW_SP): Likewise.
29362         (FP_PACK_RAW_S): Likewise.
29363         (FP_PACK_RAW_SP): Likewise.
29364         (FP_UNPACK_S): Likewise.
29365         (FP_UNPACK_SP): Likewise.
29366         (FP_UNPACK_SEMIRAW_S): Likewise.
29367         (FP_UNPACK_SEMIRAW_SP): Likewise.
29368         (FP_PACK_S): Likewise.
29369         (FP_PACK_SP): Likewise.
29370         (FP_PACK_SEMIRAW_S): Likewise.
29371         (FP_PACK_SEMIRAW_SP): Likewise.
29372         (_FP_SQRT_MEAT_S): Likewise.
29373         (FP_CMP_S): Likewise.
29374         (FP_CMP_EQ_S): Likewise.
29375         (FP_CMP_UNORD_S): Likewise.
29376         (FP_TO_INT_S): Likewise.
29377         (FP_FROM_INT_S): Likewise.
29379         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29381         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29382         (FP_EX_INVALID_IMZ): Likewise.
29383         (FP_EX_INVALID_IMZ_FMA): Likewise.
29384         (FP_EX_INVALID_ISI): Likewise.
29385         (FP_EX_INVALID_ZDZ): Likewise.
29386         (FP_EX_INVALID_IDI): Likewise.
29387         (FP_EX_INVALID_SQRT): Likewise.
29388         (FP_EX_INVALID_CVI): Likewise.
29389         (FP_EX_INVALID_VC): Likewise.
29390         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29391         "invalid" exceptions.
29392         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29393         (_FP_ADD_INTERNAL): Likewise.
29394         (_FP_MUL): Likewise.
29395         (_FP_FMA): Likewise.
29396         (_FP_DIV): Likewise.
29397         (_FP_CMP_CHECK_NAN): Likewise.
29398         (_FP_SQRT): Likewise.
29399         (_FP_TO_INT): Likewise.
29400         (FP_EXTEND): Likewise.
29402 2014-10-09  Allan McRae  <allan@archlinux.org>
29404         * po/fr.po: Update French translation from translation project.
29406 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29408         [BZ #14132]
29409         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29410         of INTDEF.
29411         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29412         (__cxa_atexit): Use libc_hidden_proto.
29413         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29415         [BZ #14132]
29416         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29417         declaration.
29418         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29419         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29420         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29421         [!_ISOMAC] (__iswctype_internal): Likewise.
29422         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29423         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29424         alias.
29425         (fcntl): Remove __fcntl_internal alias.
29426         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29427         __connect_internal alias.
29428         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29429         Likewise.
29431         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29432         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29433         FP_DENORM_ZERO.
29434         (_FP_CHECK_FLUSH_ZERO): New macro.
29435         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29436         (_FP_CMP): Likewise.
29437         (_FP_CMP_EQ): Likewise.
29438         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29439         FP_DENORM_ZERO.
29440         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29441         (FP_TRUNC): Likewise.
29443         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29444         treated as invalid conversion, not as normal exponent.
29446         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29447         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29448         (_FP_CMP_EQ): Likewise.
29449         (_FP_CMP_UNORD): Likewise.
29450         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29451         (FP_CMP_EQ_D): Likewise.
29452         (FP_CMP_UNORD_D): Likewise.
29453         * soft-fp/extended.h (FP_CMP_E): Likewise.
29454         (FP_CMP_EQ_E): Likewise.
29455         (FP_CMP_UNORD_E): Likewise.
29456         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29457         (FP_CMP_EQ_Q): Likewise.
29458         (FP_CMP_UNORD_Q): Likewise.
29459         * soft-fp/single.h (FP_CMP_S): Likewise.
29460         (FP_CMP_EQ_S): Likewise.
29461         (FP_CMP_UNORD_S): Likewise.
29462         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29463         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29464         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29465         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29466         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29467         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29468         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29469         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29470         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29471         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29472         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29473         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29474         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29475         to FP_CMP_Q.
29476         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29477         FP_CMP_Q.
29478         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29479         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29480         FP_CMP_EQ_Q.
29481         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29482         FP_CMP_Q.
29483         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29484         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29485         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29486         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29487         FP_CMP_EQ_Q.
29488         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29489         FP_CMP_Q.
29490         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29491         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29492         FP_CMP_EQ_Q.
29493         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29494         FP_CMP_Q.
29495         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29496         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29497         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29498         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29499         FP_CMP_EQ_Q.
29501         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29502         a subnormal result, set the underflow exception if trapping on
29503         underflow is enabled.
29504         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29505         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29506         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29507         redefine to 0.
29508         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29509         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29510         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29511         * soft-fp/extendxftf2.c (__extendxftf2): Use
29512         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29514         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29515         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29516         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29517         FP_HANDLE_EXCEPTIONS.
29518         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29519         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29520         FP_HANDLE_EXCEPTIONS.
29521         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29522         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29523         FP_HANDLE_EXCEPTIONS.
29524         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29525         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29526         FP_HANDLE_EXCEPTIONS.
29528 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29530         [BZ #14132]
29531         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29532         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29533         use INTUSE.
29534         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29535         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29536         Remove alias.
29537         (__adjtimex): Define using libc_hidden_ver.
29538         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29539         Remove declaration.
29540         (ntp_gettime): Call __adjtimex directly.
29541         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29542         Remove declaration.
29543         (ntp_gettimex): Call __adjtimex directly.
29544         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29545         __adjtimex_internal alias.
29547 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29549         [BZ #17460]
29550         * nscd/nscd.c (more_help): Rewrite list of tables collection
29551         using xstrdup and asprintf.
29553         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29555 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29556             Roland McGrath  <roland@hack.frob.com>
29558         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29559         (do_lookup_unique): ... local function 'enter' here; update callers.
29561 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29563         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29564         compat_symbol calls on [SHARED].
29565         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29566         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29567         Remove.
29568         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29569         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29570         (oldsetrlimit): Remove.
29571         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29573         (lchown): New syscall entry.
29574         (oldsetrlimit): Remove.
29575         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29576         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29577         (oldsetrlimit): Remove.
29578         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29580         [BZ #14138]
29581         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29582         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29583         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29584         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29585         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29586         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29587         (fchown): Likewise.
29588         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29589         (fchown): Likewise.
29590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29591         Likewise.
29593 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29595         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29596         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29597         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29598         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29599         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29600         Likewise.
29601         (__old_sem_post): Likewise.
29603 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29605         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29606         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29607         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29608         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29609         Use INLINE_VSYSCALL macro.
29610         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29611         __vdso_clock_gettime.
29612         * sysdeps/unix/sysv/linux/tile/init-first.c
29613         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29614         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29615         __vdso_clock_gettime.
29617         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29618         to set up frame more cleanly.
29620         * sysdeps/tile/memcmp.c: New file.
29622         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29624         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29625         * sysdeps/tile/tilegx/strcasestr.c: New file.
29626         * sysdeps/tile/tilegx/strnlen.c: New file.
29627         * sysdeps/tile/tilegx/strstr.c: New file.
29629         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29631 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29633         * nptl/tst-setuid3.c: Write errors to stdout.
29635 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29637         * elf/dl-deps.c
29638         (preload): New functions broken out of _dl_map_object_deps.
29639         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29641 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29643         [BZ #14138]
29644         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29645         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29647 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29649         * sysdeps/mips/strcmp.S: New.
29651 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29653         [BZ #14138]
29654         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29655         (linkat): Likewise.
29656         (mkdirat): Likewise.
29657         (readlinkat): Likewise.
29658         (renameat): Likewise.
29659         (symlinkat): Likewise.
29660         (unlinkat): Likewise.
29661         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29662         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29663         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29664         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29665         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29666         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29667         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29669 2014-09-30  Will Newton  <will.newton@linaro.org>
29671         * math/math.h: Define long double math functions if
29672         _LIBC_TEST is defined.
29673         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29675         * localedata/Makefile: Move assignment to tests-special
29676         into an ifdef testing run-built-tests.
29677         * timezone/Makefile: Likewise.
29679 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29681         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29682         with $(BASH) not $(SHELL).
29684 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29685             Matthew LeGendre  <legendre1@llnl.gov>
29687         [BZ #17411]
29688         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29689         l_reloc_result.
29691 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29693         * stdio-common/printf_fp.c
29694         (hack_digit): New function, broken out of ...
29695         (__printf_fp): ... local function here.  Update call sites.
29696         hack_digit now takes an additional parameter that is a pointer
29697         to a struct of the referenced locals.  Those locals moved inside
29698         the struct and references updated.
29700 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29702         * aclocal.m4: Require autoconf 2.69.
29703         * configure: Regenerated.
29704         * sysdeps/aarch64/configure: Likewise.
29705         * sysdeps/alpha/configure: Likewise.
29706         * sysdeps/arm/armv7/configure: Likewise.
29707         * sysdeps/arm/configure: Likewise.
29708         * sysdeps/ia64/configure: Likewise.
29709         * sysdeps/mach/configure: Likewise.
29710         * sysdeps/mips/configure: Likewise.
29711         * sysdeps/s390/configure: Likewise.
29712         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29715         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29716         file.
29717         * sysdeps/ia64/configure.ac: Likewise.
29719 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29722         specify symbol version for ld.so.  Do not include entry for
29723         libpthread.
29724         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29725         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29726         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29728         [BZ #14171]
29729         * Makeconfig [$(build-shared) = yes]
29730         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29731         makefiles.
29732         [$(build-shared) = yes && $(soversions.mk-done) = t]
29733         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29734         [$(build-shared) = yes && $(soversions.mk-done) = t]
29735         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29736         to Makerules.
29737         [$(build-shared) = yes && $(soversions.mk-done) = t]
29738         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29739         here.
29740         [$(build-shared) = yes && $(soversions.mk-done) = t]
29741         (common-generated): Don't append gnu/lib-names.h and
29742         gnu/lib-names.stmp here.
29743         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29744         (lib-names-h-abi): New variable.
29745         [$(build-shared) = yes && $(soversions.mk-done) = t]
29746         (lib-names-stmp-abi): Likewise.
29747         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29748         abi-variants] (before-compile): Append
29749         $(common-objpfx)$(lib-names-h-abi).
29750         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29751         abi-variants] (common-generated): Append gnu/lib-names.h.
29752         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29753         abi-variants] (install-others-nosubdir): Depend on
29754         $(inst_includedir)/$(lib-names-h-abi).
29755         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29756         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29757         [$(build-shared) = yes && $(soversions.mk-done) = t]
29758         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29759         [$(build-shared) = yes && $(soversions.mk-done) = t]
29760         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29761         [$(build-shared) = yes && $(soversions.mk-done) = t]
29762         (common-generated): Append $(lib-names-h-abi) and
29763         $(lib-names-stmp-abi).
29764         * scripts/lib-names.awk: Do not handle multi being set.
29765         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29766         Remove variable.
29767         (abi-lp64_be-ld-soname): Likewise.
29768         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29769         Likewise.
29770         (abi-hard-ld-soname): Likewise.
29771         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29772         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29773         Remove variable.
29774         (abi-o32_hard-ld-soname): Likewise.
29775         (abi-o32_soft_2008-ld-soname): Likewise.
29776         (abi-o32_hard_2008-ld-soname): Likewise.
29777         (abi-n32_soft-ld-soname): Likewise.
29778         (abi-n32_hard-ld-soname): Likewise.
29779         (abi-n32_soft_2008-ld-soname): Likewise.
29780         (abi-n32_hard_2008-ld-soname): Likewise.
29781         (abi-n64_soft-ld-soname): Likewise.
29782         (abi-n64_hard-ld-soname): Likewise.
29783         (abi-n64_soft_2008-ld-soname): Likewise.
29784         (abi-n64_hard_2008-ld-soname): Likewise.
29785         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29786         Likewise.
29787         (abi-64-v2-ld-soname): Likewise.
29788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29789         ld.so entries.
29790         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29791         variable.
29792         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29793         entry.
29794         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29795         variable.
29796         (abi-64-ld-soname): Likewise.
29797         (abi-x32-ld-soname): Likewise.
29798         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29799         entry.
29800         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29802 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29804         [BZ #14138]
29805         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29806         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29807         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29808         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29809         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29810         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29811         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29812         syscall entry for GLIBC_2.2 symbol version.
29813         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29814         Likewise.
29815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29816         (setrlimit): Likewise.
29817         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29818         Likewise.
29820 2014-09-23  Will Newton  <will.newton@linaro.org>
29822         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29823         _LINUX_ARM_SYSDEP_H include guard too.
29824         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29825         define.
29827 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29829         * sysdeps/unix/sysv/linux/eventfd.c:
29830         Make first argument unsigned.
29831         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29832         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29834 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29836         [BZ #16852]
29837         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29838         * socket/sys/socket.h: Likewise.
29839         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29841 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29843         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29845 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29847         * time/tst-ftime.c: New test.
29848         * time/Makefile (tests): Add tst-ftime.
29850 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29852         * soft-fp/extended.h: Fix comment formatting.
29853         * soft-fp/op-1.h: Likewise.
29854         * soft-fp/op-2.h: Likewise.
29855         * soft-fp/op-4.h: Likewise.
29856         * soft-fp/op-8.h: Likewise.
29857         * soft-fp/op-common.h: Likewise.
29858         * soft-fp/soft-fp.h: Likewise.
29860         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29862 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29864         [BZ #6652]
29865         * Makeconfig (soversions-default-setname): Remove variable.
29866         ($(common-objpfx)soversions.i): Don't pass default_setname to
29867         soversions.awk.
29868         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29869         oldest_abi to abi-versions.awk.
29870         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29871         * config.make.in (oldest-abi): Remove variable.
29872         * configure.ac (--enable-oldest-abi): Remove configure option.
29873         * configure: Regenerated.
29874         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29875         text.
29876         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29877         * scripts/soversions.awk: Do not handle default_setname variable.
29878         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29879         variable.
29880         * sysdeps/mach/hurd/configure: Regenerated.
29881         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29882         variable.
29883         * sysdeps/unix/sysv/linux/configure: Regenerated.
29885 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29887         * elf/Makefile (CFLAGS-interp.c): Remove.
29888         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29889         path string.
29890         * elf/interp.c: Include generated runtime-linker.h
29892         * Makerules (lib%.so): Don't include $(+interp) in
29893         prerequisites.
29894         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29895         * dlfcn/eval.c: Remove file.
29897         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29898         macros.
29900         [BZ #17266]
29901         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29902         4.2 and newer.
29904         [BZ #17370]
29905         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29907 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29908             Jakub Jelinek  <jakub@redhat.com>
29910         [BZ #17266]
29911         * libio/stdio.h: Check definition of __fortify_function
29912         instead of __extern_always_inline to include bits/stdio2.h.
29913         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29914         check if __extern_always_inline is defined.
29915         [__USE_MISC || __USE_XOPEN]: Likewise.
29916         [__USE_ISOC99] Likewise.
29917         * misc/sys/cdefs.h (__fortify_function): Define only if
29918         __extern_always_inline is defined.
29919         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29920         __extern_always_inline and __extern_inline only for g++-4.3
29921         and newer or a compatible gcc.
29923 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29925         [BZ #17371]
29926         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29927         last change to handle zero prefix length.
29929 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29931         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29932         _SC_REGEX_VERSION.
29934         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29935         _POSIX_RAW_SOCKETS.
29937 2014-09-13  Allan McRae  <allan@archlinux.org>
29939         * po/ru.po: Update Russian translation from translation project.
29941 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29943         * locale/programs/locale.c (show_locale_vars): Inline local function
29944         into its sole call site.  Clean up some style nits.
29945         (print_item): New function, broken out of ...
29946         (show_info): ... local function here.  Clean up style nits.
29948         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29949         out of ...
29950         (set_class_defaults): ... local function set_default here.
29951         Define set_default as a macro locally to pass constant parameters.
29952         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29953         rather than a shared local.
29955         * stdlib/rpmatch.c (try): New function, broken out of ...
29956         (rpmatch): ... local function here.  Also, prototypify definition.
29958 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29960         * scripts/soversions.awk: Do not handle configuration names.
29961         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29962         vendor and os variables to soversions.awk.
29963         * configure.ac: Do not modify gnu-* host_os.
29964         * configure: Regenerated
29965         * shlib-versions: Remove first column with configuration names.
29966         * nptl/shlib-versions: Likewise.
29967         * nptl_db/shlib-versions: Likewise.
29968         * sysdeps/hppa/shlib-versions: Likewise.
29969         * sysdeps/m68k/shlib-versions: Likewise.
29970         * sysdeps/mach/hurd/shlib-versions: Likewise.
29971         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29972         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29973         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29974         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29975         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29976         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29977         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29978         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29980         Likewise.
29981         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29982         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29983         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29984         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29985         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29986         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29987         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29988         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29991         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29993         Regenerated.
29994         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29996         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29998         * shlib-versions: Remove OS-specific entries.  Moved to files in
29999         sysdeps.
30000         * sysdeps/mach/hurd/shlib-versions: New file.
30001         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30003         * nptl/shlib-versions: Remove architecture-specific entries.
30004         Moved to files in sysdeps.
30005         * shlib-versions: Likewise.
30006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30007         file.
30008         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30009         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30010         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30011         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30013         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30014         (UDP_NO_CHECK6_RX): Likewise.
30016 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30018         * sysdeps/posix/sysconf.c (__sysconf): Spell
30019         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30021 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30023         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30024         loading.
30025         * iconv/Versions (__gconv_transliterate): Export for use from
30026         gconv modules.
30027         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30028         (struct __gconv_trans_data, __gconv_trans_fct,
30029         __gconv_trans_context_fct, __gconv_trans_query_fct,
30030         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30031         definitions.
30032         (struct __gconv_step_data): Remove __trans member.
30033         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30034         longer hidden.  Remove unused trans_data argument.
30035         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30036         (__gconv_translit_find): Remove declaration.
30037         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30038         prototype.
30039         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30040         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30041         trans_data argument.  Add hidden definition.
30042         (__gconv_translit_find): Remove.
30043         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30044         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30045         * iconv/skeleton.c: Remove transliteration initialization.
30046         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30047         __gconv_step_data initialization.
30048         * libio/iofwide.c (__libio_translit_): Remove.
30049         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30050         * wcsmbs/btowc.c (__btowc): Likewise.
30051         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30052         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30053         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30054         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30055         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30056         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30057         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30058         * wcsmbs/wctob.c (wctob): Likewise.
30060 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30062         [BZ #16194]
30063         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30064         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30065         register usage.
30066         * sysdeps/x86/Makefile: Adjust.
30068 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30069             Roland McGrath  <roland@hack.frob.com>
30071         * locale/weight.h: Add include guard.
30072         (findidx): Make static rather than auto; take new parameters
30073         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30074         * locale/weightwc.h: Likewise.
30075         * posix/fnmatch_loop.c
30076         (FCT): Change type of EXTRA from int32_t to wint_t.
30077         Don't include either header inside the function.
30078         Call FINDIDX rather than findidx, and pass new arguments.
30079         #undef FINDIDX at the end of the file.
30080         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30081         FINDIDX before including fnmatch_loop.c for the non-wide version.
30082         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30083         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30084         for the wide version.
30085         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30086         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30087         Pass new arguments to findidx.
30088         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30089         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30090         Don't #include it inside the function.  Pass new arguments to findidx.
30091         * posix/regex_internal.h
30092         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30093         (re_string_elem_size_at): Don't #include it inside the function.
30094         Pass new arguments to findidx.
30095         * string/strcoll_l.c: #include WEIGHT_H at top level.
30096         (get_next_seq): Don't #include it inside the function.
30097         Pass new arguments to findidx.
30098         (get_next_seq_nocache): Likewise.
30099         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30100         (STRXFRM): Don't #include it inside the function.
30101         Pass new arguments to findidx.
30103 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30105         [BZ #17344]
30106         * malloc/malloc.c (unlink): Turn asserts into a call to
30107         malloc_printerr.
30109 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30111         [BZ #17370]
30112         * libio/wfileops (do_ftell_wide): Free OUT.
30114 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30116         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30118 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30120         [BZ #17363]
30121         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30122         group if the current group is empty.
30124 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30126         * benchtests/bench-memset.c (test_main): Add more test from size
30127         from 32 to 512 bytes.
30128         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30129         Add POWER8 memset object.
30130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30131         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30132         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30133         implementation.
30134         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30135         Likewise.
30136         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30137         multiarch POWER8 memset optimization.
30138         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30139         POWER8 memset optimization.
30141         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30142         Remove bzero multiarch objects.
30143         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30144         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30145         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30146         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30147         Remove define.
30148         [__bzero]: Redefine to specific name.
30149         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30150         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30151         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30152         define.
30153         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30154         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30156 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30158         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30159         warnings into errors.
30161         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30162         __cxa_thread_atexit_impl prototype.
30164 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30166         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30167         Fix capitalization of error message.
30169 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30171         * sysdeps/mips/preconfigure: Modify ABI tests.
30173 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30175         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30177 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30178             Carlos O'Donell  <carlos@systemhalted.org>
30180         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30181         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30182         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30183         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30184         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30185         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30186         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30187         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30188         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30189         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30191         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30192         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30193         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30194         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30195         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30196         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30197         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30198         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30199         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30200         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30201         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30202         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30203         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30204         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30205         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30206         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30207         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30208         Deconditionalize the code that was previously under [RESET_PID].
30209         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30210         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30211         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30212         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30213         include sysdep.h.
30215 2014-09-08  Allan McRae  <allan@archlinux.org>
30217         * version.h (RELEASE): Set to "development".
30218         (VERSION): Set to "2.20.90"
30220 2014-09-07  Allan McRae  <allan@archlinux.org
30222         * version.h (RELEASE): Set to "stable".
30223         (VERSION): Set to "2.20"
30224         * include/features.h (__GLIBC_MINOR__): Set to 20.
30226         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30227         Liebler.
30229         * po/ko.po: Update Korean translation from translation project.
30231 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30233         [BZ #17354]
30234         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30235         macro for handling signed relocations.
30237 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30239         [BZ #17325]
30240         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30241         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30242         assert.
30243         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30244         * iconvdata/ibm935.c (BODY): Likewise.
30245         * iconvdata/ibm937.c (BODY): Likewise.
30246         * iconvdata/ibm939.c (BODY): Likewise.
30247         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30248         assert.
30249         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30250         script.
30251         * iconvdata/run-iconv-test.sh: New test loop for checking for
30252         decoder crashers.
30254 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30256         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30257         libm_hidden_ver.
30259 2014-09-01  Allan McRae  <allan@archlinux.org>
30261         * po/eo.po: Update Esperanto translation from translation project.
30263         * po/ca.po: Update Catalan translation from translation project.
30265 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30267         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30268         __proc_dostop call.
30270 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30272         [BZ #17319]
30273         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30274         to call set_thread_area instead of hand written asm.
30275         (__NR_set_thread_area): Removed define.
30276         (TLS_FLAG_WRITABLE): Likewise.
30277         (__ASSUME_SET_THREAD_AREA): Remove check.
30278         (TLS_EBX_ARG): Remove define.
30279         (TLS_LOAD_EBX): Likewise.
30281 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30283         Simplify atomicity of socket creation in bind.
30285         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30286         looking up the name after linking the file.
30288 2014-08-27  Allan McRae  <allan@archlinux.org>
30290         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30292 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30294         [BZ #17187]
30295         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30296         trans_compare, open_translit, __gconv_translit_find):
30297         Remove module loading code.
30299 2014-08-26  Allan McRae  <allan@archlinux.org>
30301         * po/vi.po: Update Vietnamese translation from translation project.
30303         * po/uk.po: Update Ukrainian translation from translation project.
30305         * po/fr.po: Update French translation from translation project.
30307         * po/ru.po: Update Russian translation from translation project.
30309         * po/pl.po: Update Polish translation from translation project.
30311         * po/cs.po: Update Czech translation from translation project.
30313         * po/de.po: Update German translation from translation project.
30315         * po/bg.po: Update Bulgarian translation from translation project.
30317         * po/sv.po: Update Sweedish translation from translation project.
30319         * po/nl.po: Update Dutch translation from translation project.
30321         * po/es.po: Update Spanish translation from translation project.
30323 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30325         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30327         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30328         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30329         (CPPFLAGS-iconvconfig): Likewise.
30330         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30332         * include/libc-symbols.h: Remove unnecessary check for
30333         NOT_IN_libc.
30334         * nptl/pthreadP.h: Likewise.
30335         * sysdeps/aarch64/setjmp.S: Likewise.
30336         * sysdeps/alpha/setjmp.S: Likewise.
30337         * sysdeps/arm/sysdep.h: Likewise.
30338         * sysdeps/i386/setjmp.S: Likewise.
30339         * sysdeps/m68k/setjmp.c: Likewise.
30340         * sysdeps/posix/getcwd.c: Likewise.
30341         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30342         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30343         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30344         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30345         * sysdeps/sh/sh3/setjmp.S: Likewise.
30346         * sysdeps/sh/sh4/setjmp.S: Likewise.
30347         * sysdeps/unix/alpha/sysdep.h: Likewise.
30348         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30349         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30350         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30351         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30354         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30355         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30356         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30359         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30360         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30361         * sysdeps/x86_64/setjmp.S: Likewise.
30363 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30365         [BZ #17263]
30366         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30367         <stdint.h>.
30368         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30369         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30371 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30373         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30375         [BZ #17262]
30376         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30377         and __x86_64__ when disabling x87 inline functions.
30379 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30381         [BZ #17259]
30382         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30383         asm statement with __cpuid_count.
30385 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30387         * configure.ac: Change __ehdr_start code to dereference the struct.
30388         Run readelf on the output to look for relocations.
30389         * configure: Regenerated.
30391 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30393         [BZ #17261]
30394         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30395         value to 0.
30396         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30398 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30400         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30402 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30404         [BZ #16892]
30405         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30406         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30408 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30410         * malloc/malloc.c: Fix typo in comment.
30412 2014-08-09  Allan McRae  <allan@archlinux.org>
30414         * Regenerate libc.po.
30416 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30418         * intl/tst-gettext2.sh: Check every lang file for creation.
30420 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30422         * sysdeps/aarch64/fpu/math_private.h
30423         (libc_feholdsetround_noex_aarch64_ctx): New function.
30425 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30427         * sysdeps/arm/armv6/strcpy.S (strcpy):
30428         Fix performance issue in misaligned cases.
30430 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30432         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30433         Move definition from termios.h.
30434         (struct termio): Likewise.
30435         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30436         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30437         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30438         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30439         Likewise.
30440         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30441         Move definition to ioctl-types.h
30442         (struct termio): Likewise.
30443         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30444         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30445         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30446         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30447         Likewise.
30449 2014-08-05  Richard Henderson  <rth@redhat.com>
30451         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30452         exceptions.
30453         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30454         Add fraiseexcpt.
30455         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30456         Use __feraiseexcept.
30457         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30458         Protect libm symbols with IS_IN_libm.
30460         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30462 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30464         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30466 2014-08-04  Will Newton  <will.newton@linaro.org>
30468         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30469         file.
30471 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30473         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30474         variants for each function.
30476 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30478         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30479         appended ...
30480         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30481         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30482         appended ...
30483         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30484         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30485         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30486         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30487         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30488         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30489         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30490         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30491         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30492         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30493         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30494         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30495         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30496         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30497         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30498         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30499         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30500         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30501         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30502         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30503         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30504         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30505         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30506         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30507         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30508         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30509         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30510         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30511         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30512         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30513         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30514         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30515         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30516         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30517         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30518         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30519         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30520         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30521         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30522         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30523         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30524         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30525         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30526         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30527         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30528         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30529         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30530         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30531         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30532         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30533         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30534         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30535         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30536         Update #include.
30537         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30538         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30540 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30542         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30543         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30544         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30545         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30546         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30547         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30549 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30551         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30552         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30553         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30554         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30556 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30558         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30559         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30560         (__libc_vfork): Define function under this name.
30561         (__vfork): Define as an alias.
30562         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30563         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30565 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30567         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30568         that was previously under [RESET_PID].
30569         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30571 2014-08-04  Andreas Schwab  <schwab@suse.de>
30573         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30575 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30577         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30578         (main): Likewise.
30580 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30582         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30584 2014-08-01  Richard Henderon  <rth@redhat.com>
30586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30587         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30588         typo in exact zero test.
30589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30590         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30591         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30593 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30595         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30596         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30597         * sysdeps/arm/sysdep.h: ... here.
30598         [!__ASSEMBLER__]: Include <stdint.h>.
30600 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30602         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30603         (HAVE_WCTYPE_H): Likewise.
30604         (HAVE_ISWCTYPE): Likewise.
30605         (ENABLE_NLS): Likewise.
30606         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30607         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30609         * posix/regex_internal.c: Check if DEBUG is defined and is
30610         set.
30612         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30613         (HAVE_MBSRTOWCS): Likewise.
30614         * posix/fnmatch.c: Include string.h unconditionally.
30616 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30618         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30619         reversal.
30621 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30623         * sysdeps/generic/safe-fatal.h: New file.
30624         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30625         * nptl/forward.c: Include it.
30626         (__pthread_unwind): Use __safe_fatal as default action, rather
30627         than a bogus use of INTERNAL_SYSCALL that could never work.
30629         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30630         * configure.ac (libc_cv_builtin_trap): New test.
30631         * configure: Regenerated.
30632         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30633         (ABORT_INSTRUCTION): Define using __builtin_trap.
30635         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30636         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30637         * sysdeps/nptl/nptl-signals.h: New file.
30638         * nptl/pthreadP.h: Include <nptl-signals.h>.
30640 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30642         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30643         (ONE_DIRECTION): Define.
30644         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30645         (ONE_DIRECTION): Define.
30646         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30647         (ONE_DIRECTION): Define.
30649 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30651         * sysdeps/s390/Makefile: Delete file.
30652         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30653         * sysdeps/s390/__longjmp.c: Delete file.
30654         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30655         Remove fields __flags and __reserved.
30656         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30657         and add versioning.
30658         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30659         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30660         * sysdeps/s390/rtld-setjmp.S: Likewise.
30661         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30662         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30663         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30664         * sysdeps/s390/s390-32/setjmp.S: ... here.
30665         Add versioning.
30666         (__sigsetjmp): Remove setting __flags field.
30667         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30668         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30669         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30670         * sysdeps/s390/s390-64/setjmp.S: ... here.
30671         Add versioning.
30672         (__sigsetjmp): Remove setting __flags field.
30673         * sysdeps/s390/setjmp.S: Delete file.
30674         * sysdeps/s390/sigjmp.c: Likewise.
30675         * sysdeps/s390/v1-longjmp.c: Likewise.
30676         * sysdeps/s390/v1-setjmp.h: Likewise.
30677         * sysdeps/s390/v1-sigjmp.c: Likewise.
30678         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30679         Remove v1-longjmp_chk.
30680         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30681         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30682         Include debug/longjmp_chk.c and add versioning.
30683         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30684         Include nptl/pt-longjmp.c and add versioning.
30685         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30686         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30687         Include __longjmp.c.
30688         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30689         Move to ...
30690         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30691         (__getcontext): Remove setting __flags field.
30692         Add versioning.
30693         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30694         Don't restore upper high grps.
30695         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30696         Likewise.
30697         (__swapcontext): Remove setting uc_flags field.
30698         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30699         Delete file.
30700         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30701         Include __longjmp.c.
30702         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30703         Move to ...
30704         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30705         (__getcontext): Remove setting __flags field.
30706         Add versioning.
30707         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30708         (__swapcontext): Remove setting uc_flags field.
30709         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30710         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30711         Remove fields uc_high_gprs and __reserved.
30712         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30713         New file with reverted content.
30714         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30715         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30716         Regenerated.
30717         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30718         Regenerated.
30720 2014-07-31  Andreas Schwab  <schwab@suse.de>
30722         * config.h.in (HAVE_IFUNC): Define to 0.
30723         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30724         definedness.
30726 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30728         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30729         memmove-avx-unaligned, memcpy-avx-unaligned and
30730         mempcpy-avx-unaligned.
30731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30732         Add tests for AVX memcpy functions.
30733         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30734         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30735         memcpy_chk.
30736         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30737         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30738         memmove_chk.
30739         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30740         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30741         mempcpy_chk.
30742         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30743         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30744         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30746 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30748         [BZ #17213]
30749         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30750         powerpc64le.
30752 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30754         [BZ #16839]
30755         * manual/llio.texi: Add section about open file description locks.
30756         * manual/examples/ofdlocks.c: Example of open file description
30757         lock usage.
30758         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30759         F_OFD_SETLK, and F_OFD_SETLKW.
30761 2014-07-23  Allan McRae  <allan@archlinux.org>
30763         * po/es.po: Update Spanish translation from translation project.
30765 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30767         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30769 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30771         [BZ #17078]
30772         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30773         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30774         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30776 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30778         [BZ #17088]
30779         * math/fesetenv.c (__fesetenv)
30780         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30781         * math/feupdateenv.c (__feupdateenv)
30782         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30784         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30785         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30786         (__ASSUME_SOCKETCALL): Do not define.
30788         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30789         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30790         (__ASSUME_SOCKETCALL): Do not define.
30791         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30792         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30793         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30794         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30795         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30796         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30797         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30798         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30800         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30801         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30802         (__ASSUME_SOCKETCALL): Do not define.
30803         (__ASSUME_IPC64): Define unconditionally.
30804         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30805         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30806         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30807         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30808         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30809         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30810         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30811         Likewise.
30813         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30814         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30815         (__ASSUME_SOCKETCALL): Do not define.
30816         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30817         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30818         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30819         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30820         (__ASSUME_REQUEUE_PI): Define unconditionally.
30821         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30822         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30823         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30824         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30826         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30828         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30829         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30830         (__ASSUME_SOCKETCALL): Do not define.
30831         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30832         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30833         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30834         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30835         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30836         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30838         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30839         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30840         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30841         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30842         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30843         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30844         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30845         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30846         (__ASSUME_GETCPU_SYSCALL): Likewise.
30848         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30849         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30850         cases for individual architectures.
30851         * sysdeps/gnu/configure: Regenerated.
30852         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30853         LIBC_SLIBDIR_RTLDDIR.
30854         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30855         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30856         LIBC_SLIBDIR_RTLDDIR.
30857         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30859         LIBC_SLIBDIR_RTLDDIR.
30860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30861         Regenerated.
30862         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30863         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30864         file.
30865         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30866         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30867         file.
30868         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30869         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30870         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30871         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30873         * sysdeps/aarch64/shlib-versions: Move to ...
30874         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30875         * sysdeps/alpha/shlib-versions: Move to ...
30876         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30877         * sysdeps/arm/shlib-versions: Move to ...
30878         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30879         * sysdeps/hppa/shlib-versions: Move all contents except for
30880         libgcc_s entry to ...
30881         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30882         entry from ...
30883         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30884         * sysdeps/ia64/shlib-versions: Move to ...
30885         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30886         entry from ...
30887         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30888         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30889         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30890         * sysdeps/microblaze/shlib-versions: Move to ...
30891         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30892         * sysdeps/mips/shlib-versions: Move to ...
30893         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30894         entry from ...
30895         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30896         * sysdeps/tile/shlib-versions: Move to ...
30897         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30898         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30899         from ...
30900         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30901         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30902         entry from ...
30903         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30905 2014-07-17  Will Newton  <will.newton@linaro.org>
30907         * sysdeps/arm/bits/atomic.h
30908         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30909         (__arch_compare_and_exchange_bool_16_int): Likewise.
30910         (__arch_compare_and_exchange_bool_64_int): Likewise.
30912         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30913         into an #else block.
30915 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30917         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30918         just Linux configurations.  Test empirically that the compiler sets
30919         __ARM_EABI__, rather than using the tuple to decide.
30920         * sysdeps/arm/preconfigure: Regenerated.
30921         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30922         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30923         contents appended ...
30924         * sysdeps/arm/configure.ac: ... here.
30925         * sysdeps/arm/configure: Regenerated.
30927 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30929         * nptl/pthread_kill.c: New file.
30930         * nptl/pthread_sigmask.c: New file.
30931         * nptl/pthread_sigqueue.c: New file.
30933         * sysdeps/nptl/lowlevellock.h: New file.
30934         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30935         * sysdeps/nptl/lowlevellock-futex.h: New file.
30937         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30938         Remove dead declarations.
30940 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30942         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30943         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30944         config-cflags-avx2.
30945         * sysdeps/x86_64/configure.ac: Likewise.
30946         * sysdeps/i386/configure: Regenerated.
30947         * sysdeps/x86_64/configure: Likewise.
30948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30949         memset-avx2 only if config-cflags-avx2 is yes.
30950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30951         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30952         defined.
30953         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30954         only if HAVE_AVX2_SUPPORT is defined.
30955         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30957 2014-07-14  Alan Modra  <amodra@gmail.com>
30959         [BZ #17153]
30960         * elf/elf.h (DT_PPC64_NUM): Correct value.
30961         * NEWS: Add to fixed bug list.
30963 2014-07-13  Jim Meyering  <meyering@fb.com>
30965         [BZ 17150]
30966         regex: don't deref NULL upon heap allocation failure
30967         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30968         failure in one more place.
30969         To trigger the segfault, configure grep -with-included-regex,
30970         build it, and run these commands:
30971         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30973 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30975         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30977 2014-07-11  Richard Henderson  <rth@redhat.com>
30979         * sysdeps/aarch64/libm-test-ulps: Update.
30981 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30983         [BZ #17135]
30984         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30985         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30986         (__nptl_setxid): Initialize error member.  Call
30987         __nptl_setxid_error.
30988         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30989         * nptl/descr.h (struct xid_command): Add error member.
30990         * nptl/tst-setuid3.c: New file.
30991         * nptl/Makefile (tests): Add it.
30993 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30995         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30996         New define.
30997         (__lll_trylock): Use __lll_base_trylock.
30998         (__lll_cond_trylock): Likewise.
31000 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31002         * nptl/pthread_create.c (start_thread): Use atomic_or and
31003         lll_futex_wake directly rather than lll_robust_dead.
31004         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31005         (lll_robust_dead): Macro removed.
31006         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31007         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31008         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31009         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31010         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31011         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31012         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31013         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31014         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31015         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31016         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31017         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31018         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31019         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31020         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31022         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31023         Use atomic_compare_and_exchange_val_acq directly rather than
31024         lll_robust_trylock.
31025         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31026         (__lll_robust_trylock, lll_robust_trylock): Removed.
31027         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31028         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31029         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31030         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31031         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31032         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31033         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31034         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31035         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31036         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31037         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31038         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31039         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31040         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31042 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31044         * manual/locale.texi (Locale Names): New section documenting
31045         locale name syntax.  Adjust menu and node chaining accordingly.
31046         (Choosing Locale): Reference Locale Names, Locale Categories.
31047         Mention setting LC_ALL=C.  Reflect that name syntax is now
31048         documented.
31049         (Locale Categories): New section title.  Reference Locale Names.
31050         LC_ALL is an environment variable, but not a category.
31051         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31052         description, now in Locale Name.  Reference that section.  Locale
31053         name syntax is now documented.
31055 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31057         [BZ #17137]
31058         * locale/findlocale.c (name_present, valid_locale_name): New
31059         functions.
31060         (_nl_find_locale): Use the loc_name variable to store name
31061         candidates.  Call name_present and valid_locale_name to check and
31062         validate locale names.  Return an error if the locale is invalid.
31064 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31066         * locale/setlocale.c (setlocale): Use strdup for allocating
31067         composite name copy.
31069 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31071         Sync up with gnulib.
31072         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31073         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31074         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31075         and _GL_ARG_NONNULL.
31076         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31077         [!_LIBC]: Include code for Windows and Cygwin.
31078         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31079         Include prototype for int strerror_r.
31080         [!_LIBC] (is_open): New function.
31081         (flush_stdout): New function.
31082         (print_errno_message): Use it.
31083         (error): Likewise.
31084         (error_at_line): Likewise.
31085         (error_tail) Add function attribute macros.  Use
31086         __builtin_expect.
31088         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31090         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31092         * io/ftw.c: Include sys/param.h unconditionally.
31094         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31096         [BZ #17125]
31097         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31098         libc_freeres_ptr.
31099         (freecache): New function to free CACHE on exit.
31101         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31102         initialization.
31104 2014-07-09  David S. Miller  <davem@davemloft.net>
31106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31108         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31109         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31110         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31111         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31112         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31113         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31114         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31115         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31116         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31117         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31118         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31119         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31120         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31122 2014-07-09  Andreas Schwab  <schwab@suse.de>
31124         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31125         output.
31126         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31127         (do_test): Likewise.
31129         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31131 2014-07-09  Will Newton  <will.newton@linaro.org>
31133         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31134         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31135         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31136         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31137         * sysdeps/hppa/start.S (_start): Likewise.
31139 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31141         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31143         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31144         defined.
31146 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31148         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31149         after checking that it is non-NULL.
31151         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31153 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31155         * sysdeps/powerpc/memmove.c: Remove file.
31156         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31157         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31158         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31159         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31160         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31161         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31162         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31163         string memmove instead of removed powerpc one.
31165         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31166         [weak_alias]: Fix compiler warning due trailing data.
31167         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31168         [weak_alias]: Likewise.
31169         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31170         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31173         (__libc_ifunc_impl_list): Add memmove functions.
31175 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31177         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31178         Remove code.
31179         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31180         Likewise.
31181         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31182         Likewise.
31183         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31184         Likewise.
31185         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31186         Likewise.
31187         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31188         Likewise.
31189         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31190         Likewise.
31191         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31192         Likewise.
31193         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31194         Likewise.
31195         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31196         Likewise.
31197         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31198         Likewise.
31199         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31200         Likewise.
31201         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31202         Likewise.
31203         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31204         Likewise.
31205         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31206         Likewise.
31207         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31208         Likewise.
31209         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31210         Likewise.
31212 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31214         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31215         to avoid alignment traps in non-cacheable memory.
31216         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31219         multiarch objects.
31220         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31221         file: multiarch power7 memmove.
31222         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31223         multiarch default memmove.
31224         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31225         multiarch memove for powerpc32/power4.
31227         * string/bcopy.c: Use full path to include memmove.c.
31228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31229         multiarch objects.
31230         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31231         bcopy for powerpc64.
31232         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31233         bcopy for powerpc64.
31234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31235         and memmove implementations.
31236         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31237         optimized multiarch memmove for POWER7/powerpc64.
31238         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31239         default multiarch memmove for powerpc64.
31240         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31241         multiarch for powerpc64.
31242         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31243         for POWER7/powerpc64.
31244         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31245         memmove for POWER7/powerpc64.
31247         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31248         glibc default one.
31250         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31251         __ELF_NATIVE_CLASS equal to 64.
31253 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31255         * sysdeps/nptl/lowlevellock.h: File removed.
31257         * NEWS: NPTL is no longer an add-on!
31258         * nptl/internaltypes.h: Moved ...
31259         * sysdeps/nptl/internaltypes.h: ... here.
31260         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31261         * sysdeps/nptl/fork.c: Likewise.
31262         * sysdeps/nptl/gai_misc.h: Likewise.
31263         * sysdeps/nptl/librt-cancellation.c: Likewise.
31264         * sysdeps/nptl/jmp-unwind.c: Likewise.
31265         * sysdeps/nptl/setxid.h: Likewise.
31266         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31267         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31268         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31269         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31270         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31271         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31272         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31273         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31274         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31275         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31276         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31277         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31278         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31279         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31280         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31281         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31282         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31283         * nptl/Makeconfig: Moved ...
31284         * sysdeps/nptl/Makeconfig: ... here.
31285         * nptl/configure: File removed.
31286         * nptl/ANNOUNCE: File removed.
31287         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31288         * sysdeps/unix/sysv/linux/configure: Regenerated.
31290         * nptl/Makefile (routines): Add libc_pthread_init,
31291         libc_multiple_threads, register-atfork and unregister-atfork.
31292         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31293         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31294         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31295         pthread-pi-defines.sym, structsem.sym.
31296         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31297         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31298         [$(subdir) = nptl] (tests): Add tst-setgetname.
31299         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31300         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31301         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31302         [!LIBC_SIGACTION]: Remove aliases.
31303         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31304         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31305         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31306         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31307         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31308         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31309         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31310         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31311         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31312         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31313         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31314         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31315         __libc_allocate_rtsig_private.
31316         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31317         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31318         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31319         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31320         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31321         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31322         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31323         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31324         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31325         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31326         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31327         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31328         * nptl/internaltypes.h: ... here.
31329         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31330         * sysdeps/nptl/jmp-unwind.c: ... here.
31331         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31332         * nptl/libc-lowlevellock.c: ... here.
31333         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31334         * nptl/libc_multiple_threads.c: ... here.
31335         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31336         * nptl/libc_pthread_init.c: ... here.
31337         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31338         * nptl/lowlevelbarrier.sym: ... here.
31339         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31340         * nptl/lowlevelcond.sym: ... here.
31341         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31342         * nptl/lowlevellock.c: ... here.
31343         * nptl/lowlevellock.h: Moved ...
31344         * sysdeps/nptl/lowlevellock.h: ... here.
31345         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31346         * nptl/lowlevelrobustlock.c: ... here.
31347         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31348         * nptl/lowlevelrobustlock.sym: ... here.
31349         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31350         * nptl/lowlevelrwlock.sym: ... here.
31351         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31352         * nptl/pt-fork.c: ... here.
31353         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31354         * nptl/pthread-pi-defines.sym: ... here.
31355         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31356         * nptl/pthread_attr_getaffinity.c: ... here.
31357         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31358         * nptl/pthread_attr_setaffinity.c: ... here.
31359         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31360         * nptl/pthread_mutex_cond_lock.c: ... here.
31361         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31362         Update #include.
31363         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31364         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31365         * nptl/pthread_once.c: ... here, replacing old file.
31366         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31367         * nptl/pthread_yield.c: ... here.
31368         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31369         * nptl/register-atfork.c: ... here.
31370         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31371         * nptl/sem_post.c: ... here.
31372         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31373         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31374         * nptl/sem_timedwait.c: ... here.
31375         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31376         * nptl/sem_trywait.c: ... here.
31377         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31378         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31379         * nptl/sem_wait.c: ... here.
31380         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31381         * nptl/structsem.sym: ... here.
31382         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31383         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31384         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31385         * nptl/unregister-atfork.c: ... here.
31386         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31387         * nptl/unwindbuf.sym: ... here.
31388         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31389         * sysdeps/nptl/fork.c: ... here.
31390         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31391         * sysdeps/nptl/fork.h: ... here.
31392         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31393         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31394         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31395         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31396         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31397         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31398         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31399         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31400         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31401         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31402         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31403         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31404         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31405         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31406         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31407         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31408         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31409         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31410         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31411         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31412         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31413         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31414         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31415         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31416         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31417         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31418         * sysdeps/unix/sysv/linux/raise.c: ... here.
31419         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31420         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31421         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31422         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31423         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31424         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31425         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31426         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31427         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31428         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31429         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31430         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31431         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31432         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31433         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31435 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31437         * sysdeps/generic/memcopy.h: Add comment for
31438         MEMCPY_OK_FOR_FWD_MEMMOVE.
31440 2014-07-04  Will Newton  <will.newton@linaro.org>
31442         * string/memchr.c: Merge from gnulib.
31443         [_LIBC]: Remove conditionals.
31444         (__ptr_t): Remove define.
31445         (LONG_MAX_32_BITS): Likewise.
31446         (LONG_MAX): Likewise.
31447         (MEMCHR): Use ANSI prototype and optimize algorithm.
31449         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31451 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31453         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31454         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31456         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31457         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31458         in a bare environment with no <stdlib.h> installed.
31459         * sysdeps/nptl/configure: Regenerated.
31461         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31463         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31464         AC_EGREP_CPP for kernel header checks, so they only succeed if
31465         including <linux/version.h> actually works right.
31466         * sysdeps/unix/sysv/linux/configure: Regenerated.
31468         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31469         value so it's not diagnosed as unused.
31471         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31472         thing) with "ifeq ($(subdir),rt)".
31474 2014-07-03  Richard Henderson  <rth@redhat.com>
31476         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31477         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31478         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31480         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31481         (math_force_eval): New.
31483         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31484         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31486         * sysdeps/alpha/fpu/s_round.c: Remove file.
31487         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31489         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31490         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31491         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31492         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31493         (_dl_start, print_statistics): Likewise.
31494         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31495         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31497         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31498         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31499         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31500         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31501         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31502         (HP_SMALL_TIMING_AVAIL): Define.
31503         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31504         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31505         (HP_SMALL_TIMING_AVAIL): Define.
31506         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31507         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31509         * sysdeps/aarch64/hp-timing.h: New file.
31511         * sysdeps/generic/hp-timing.h: Remove dead comment.
31512         * sysdeps/generic/hp-timing-common.h: New file.
31513         * sysdeps/alpha/hp-timing.h: Include it.
31514         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31515         * sysdeps/i386/i686/hp-timing.h: Likewise.
31516         * sysdeps/ia64/hp-timing.h: Likewise.
31517         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31518         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31519         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31520         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31521         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31522         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31523         (hp_timing_t): New.
31525         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31526         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31527         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31528         * elf/rtld.c (_dl_start_final): Likewise.
31529         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31530         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31531         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31532         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31533         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31534         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31535         (HP_TIMING_DIFF_INIT): Remove.
31536         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31537         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31538         (HP_TIMING_DIFF_INIT): Remove.
31539         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31540         * sysdeps/i386/i686/hp-timing.c: Remove file.
31541         * sysdeps/x86_64/hp-timing.c: Remove file.
31542         * sysdeps/ia64/hp-timing.c: Remove file.
31543         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31544         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31545         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31546         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31548         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31549         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31550         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31551         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31552         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31553         (HP_TIMING_ACCUM): Remove.
31554         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31555         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31556         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31558         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31559         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31560         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31561         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31562         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31563         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31564         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31565         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31567         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31569 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31571         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31573 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31575         Sync up with gettext.
31576         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31577         [_MSC_VER]: Include malloc.h
31578         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31579         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31580         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31581         TEMP_FAILURE_RETRY.  Cast return of alloca.
31582         [!_LIBC] Call gl_rwlock_init.
31583         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31585 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31587         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31588         before checking its value.
31590 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31592         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31594         * debug/memcpy_chk.c: Don't include pagecopy.h.
31595         * debug/mempcpy_chk.c: Likewise.
31596         * string/memcpy.c: Likewise.
31597         * string/memmove.c: Likewise.
31598         * sysdeps/powerpc/memmove.c: Likewise.
31599         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31600         definition of PAGE_COPY_FWD_MAYBE here...
31601         * sysdeps/generic/pagecopy.h: ... from here.
31602         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31604 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31605             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31607         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31609         optimizations.
31610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31611         (__libc_ifunc_impl_list): Likewise.
31612         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31613         multiarch strcat for PPC64.
31614         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31615         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31617 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31619         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31621 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31623         * intl/loadmsgcat.c: Remove declaration of
31624         get_sysdep_segment_value.
31625         (get_sysdep_segment_value): Use ISO C style.
31626         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31627         semicolon.  Fix typo and formatting in comment.
31628         (_nl_unload_domain): Use ISO C style.
31630         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31632 2014-07-02  Will Newton  <will.newton@linaro.org>
31634         * malloc/obstack.c: Merge from gnulib master.
31635         [HAVE_CONFIG_H]: Remove conditional code.
31636         [!_LIBC]: Include config.h.
31637         [!ELIDE_CODE]: Don't include inttypes.h, include
31638         stdint.h unconditionally.
31639         (print_and_abort): Mark as _Noreturn.
31640         (_obstack_allocated_p): Mark as __attribute_pure__.
31641         (obstack_free): Rename to __obstack_free.
31642         [!__attribute__]: Remove conditional code.
31643         * malloc/obstack.h: Merge from gnulib master.
31644         [__cplusplus]: Move conditional down.
31645         [!__attribute_pure__]: Define __attribute_pure__ here
31646         if it is not already defined.
31647         (_obstack_memory_used): Mark as __attribute_pure__.
31648         [!__obstack_free]: Define as obstack_free.
31649         [__GNUC__]: Remove check for ancient NeXT gcc.
31651 2014-07-02  Will Newton  <will.newton@linaro.org>
31652             Paul Eggert  <eggert@cs.ucla.edu>
31654         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31656 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31658         * resolv/gethnamaddr.c: Add comment warning that the file is
31659         not maintained.
31661 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31663         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31664         entries.
31666         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31667         entry for aio_cancel and aio_cancel64.
31668         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31669         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31670         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31671         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31672         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31673         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31674         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31675         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31676         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31677         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31678         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31679         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31680         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31682 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31684         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31685         * nptl/pthread_mutex_lock.c: Likewise.
31686         * nptl/pthread_mutex_timedlock.c: Likewise.
31687         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31689 2014-07-01  Richard henderson  <rth@redhat.com>
31691         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31692         (__isnan, __isnanl): Remove.
31693         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31695         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31697 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31699         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31701 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31703         * resolv/nss_dns/dns-host.c (getanswer_r)
31704         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31706 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31708         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31709         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31710         undefine.
31711         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31712         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31714 2014-07-01  Roland McGrath <roland@hack.frob.com>
31716         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31717         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31719         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31720         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31722         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31723         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31724         ... here.
31725         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31726         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31728         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31729         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31730         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31731         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31733         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31734         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31735         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31736         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31737         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31738         Moved ...
31739         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31740         ... here.
31741         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31742         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31743         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31744         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31745         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31746         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31747         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31748         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31749         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31750         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31751         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31752         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31753         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31754         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31755         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31756         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31757         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31758         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31759         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31760         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31761         ... here.
31762         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31763         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31764         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31765         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31766         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31767         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31768         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31769         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31771 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31773         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31774         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31775         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31776         Add sysdep.
31778 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31782 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31784         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31785         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31787         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31789         * sysdeps/arm/libm-test-ulps: Regenerated.
31791 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31792             Roland McGrath <roland@hack.frob.com>
31794         * test-skeleton.c (signal_handler): Kill the whole process group
31795         before killing the child individually.
31796         (main): Report any failure on `setpgid'.
31798 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31800         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31801         from _TLS_H to _ARM_NPTL_TLS_H.
31802         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31803         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31805 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31807         [BZ #16539]
31808         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31809         (__expm1l): Return argument unchanged when small but not
31810         subnormal.
31812         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31813         include macro name.
31814         (_FP_UNPACK_RAW_1_P): Likewise.
31815         (_FP_PACK_RAW_1): Likewise.
31816         (_FP_PACK_RAW_1_P): Likewise.
31817         (_FP_MUL_MEAT_1_wide): Likewise.
31818         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31819         (_FP_MUL_MEAT_1_hard): Likewise.
31820         (_FP_DIV_MEAT_1_imm): Likewise.
31821         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31822         (_FP_DIV_MEAT_1_udiv): Likewise.
31823         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31824         (_FP_UNPACK_RAW_2): Likewise.
31825         (_FP_UNPACK_RAW_2_P): Likewise.
31826         (_FP_PACK_RAW_2): Likewise.
31827         (_FP_PACK_RAW_2_P): Likewise.
31828         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31829         (_FP_MUL_MEAT_2_wide): Likewise.
31830         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31831         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31832         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31833         (_FP_MUL_MEAT_2_gmp): Likewise.
31834         (_FP_DIV_MEAT_2_udiv): Likewise.
31835         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31836         (_FP_FRAC_SRL_4): Likewise.
31837         (_FP_FRAC_SRST_4): Likewise.
31838         (_FP_FRAC_SRS_4): Likewise.
31839         (_FP_UNPACK_RAW_4): Likewise.
31840         (_FP_UNPACK_RAW_4_P): Likewise.
31841         (_FP_PACK_RAW_4): Likewise.
31842         (_FP_PACK_RAW_4_P): Likewise.
31843         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31844         (_FP_MUL_MEAT_4_wide): Likewise.
31845         (_FP_MUL_MEAT_4_gmp): Likewise.
31846         (umul_ppppmnnn): Likewise.
31847         (_FP_DIV_MEAT_4_udiv): Likewise.
31848         (__FP_FRAC_ADD_4): Likewise.
31849         (__FP_FRAC_SUB_3): Likewise.
31850         (__FP_FRAC_SUB_4): Likewise.
31851         (__FP_FRAC_DEC_3): Likewise.
31852         (__FP_FRAC_DEC_4): Likewise.
31853         (__FP_FRAC_ADDI_4): Likewise.
31854         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31855         (_FP_FRAC_SRL_8): Likewise.
31856         (_FP_FRAC_SRS_8): Likewise.
31858         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31859         include macro name.
31860         (FP_UNPACK_RAW_EP): Likewise.
31861         (FP_PACK_RAW_E): Likewise.
31862         (FP_PACK_RAW_EP): Likewise.
31863         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31864         (_FP_ISSIGNAN): Likewise.
31865         (_FP_ADD_INTERNAL): Likewise.
31866         (_FP_FMA): Likewise.
31867         (_FP_CMP): Likewise.
31868         (_FP_SQRT): Likewise.
31869         (_FP_TO_INT): Likewise.
31870         (_FP_FROM_INT): Likewise.
31871         (FP_EXTEND): Likewise.
31872         (_FP_DIV_MEAT_N_loop): Likewise.
31874 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31876         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31877         throughout.
31879 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31881         [BZ #17097]
31882         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31883         result with correct sign in case of exponents that produce
31884         overflow except for X very close to 1.
31886 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31888         mktime: merge #if/#ifdef usage from glibc
31889         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31890         as that works with both Glibc's and Gnulib's style.
31891         See thread starting at Siddhesh Poyarekar's bug report at:
31892         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31894 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31896         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31897         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31898         * sysdeps/tile/tilegx/memmove.c: Remove file.
31900 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31902         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31903         abi-name definition.
31904         * scripts/soversions.awk: Do not handle or generate ABI lines.
31905         * shlib-versions: Remove ABI entries.
31906         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31907         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31909 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31912         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31913         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31914         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31916         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31918         Moved ...
31919         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31920         ... here.
31921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31922         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31924         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31926         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31927         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31928         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31929         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31930         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31932         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31934         Moved ...
31935         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31937         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31939         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31941         Moved ...
31942         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31944         Moved ...
31945         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31946         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31947         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31948         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31949         Moved ...
31950         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31952         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31954         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31956         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31957         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31958         Moved ...
31959         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31961         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31962         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31963         Moved ...
31964         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31965         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31966         Moved ...
31967         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31968         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31969         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31970         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31971         Moved ...
31972         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31973         ... here.
31974         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31975         Identical file removed.
31976         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31977         Moved ...
31978         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31979         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31980         Identical file removed.
31981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31982         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31983         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31984         Moved ...
31985         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31986         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31987         Identical file removed.
31988         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31989         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31990         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31991         Identical file removed.
31992         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31993         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31994         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31995         Identical file removed.
31996         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31997         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31998         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31999         Identical file removed.
32000         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32001         Moved ...
32002         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32003         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32004         Identical file removed.
32005         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32006         Moved ...
32007         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32009         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32010         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32011         Identical file removed.
32012         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32013         Moved ...
32014         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32015         ... here.
32016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32017         Identical file removed.
32018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32019         Moved ...
32020         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32021         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32022         Identical file removed.
32023         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32024         Moved ...
32025         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32026         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32027         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32028         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32029         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32030         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32031         Moved ...
32032         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32033         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32034         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32036         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32037         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32038         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32039         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32040         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32042 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32044         [BZ #17092]
32045         * nscd/nscd.c (monitor_child): Return exit status of child
32046         instead of return value from wait syscall.
32048 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32050         * configure.ac (libc_commonpagesize): Remove variable.
32051         (libc_relro_required): Likewise.
32052         (libc_cv_z_relro): Remove configure test.
32053         * configure: Regenerated.
32054         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32055         variable.
32056         (libc_relro_required): Likewise.
32057         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32058         (libc_relro_required): Likewise.
32059         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32060         (libc_relro_required): Likewise.
32061         * sysdeps/arm/preconfigure: Regenerated.
32062         * sysdeps/ia64/preconfigure: Remove file.
32063         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32064         variable.
32065         (libc_relro_required): Likewise.
32067         [BZ #16561]
32068         [BZ #16562]
32069         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32070         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32071         recompute overflowing results in original rounding mode.
32072         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32073         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32074         recompute overflowing results in original rounding mode.
32075         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32076         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32077         recompute overflowing results in original rounding mode.
32078         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32079         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32080         recompute overflowing results in original rounding mode.
32081         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32082         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32083         recompute overflowing results in original rounding mode.
32084         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32085         (libc_feholdsetround_ctx): New macro.
32086         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32087         * sysdeps/i386/fpu/libm-test-ulps: Update.
32088         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32090 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32092         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32093         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32094         corresponding .cpsetup call.
32096 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32098         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32099         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32100         * sysdeps/arm/Makefile [$(subdir) = csu]
32101         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32102         (static-only-routines): Add aeabi_read_tp here.
32103         (shared-only-routines): Add libc-aeabi_read_tp here.
32104         (CFLAGS-libc-start.c): Add -fexceptions here.
32105         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32106         (sysdep_routines, static-only-routines, shared-only-routines):
32107         Don't add to these here.
32108         (CFLAGS-libc-start.c): Likewise.
32110         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32111         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32112         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32113         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32114         * sysdeps/arm/Makefile [$(subdir) = rt]
32115         (librt-sysdep_routines, librt-shared-only-routines):
32116         Append rt-aeabi_unwind_cpp_pr1 here.
32117         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32118         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32119         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32120         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32121         Append nptl-aeabi_unwind_cpp_pr1 here.
32122         (tests): Filter out tst-cleanupx4 here.
32123         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32124         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32125         Don't do those here.
32127 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32129         * scripts/list-sources.sh: Do not handle ports specially.
32131 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32133         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32134         * sysdeps/arm/feupdateenv.c: Likewise.
32136         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32138 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32140         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32141         trailing whitespace removed.
32142         * scripts/config.guess: Update to version 2014-03-23.
32143         * scripts/config.sub: Update to version 2014-05-01
32144         * scripts/install-sh: Update to version 2013-12-25.23.
32145         * scripts/move-if-change: Update from gnulib.
32147 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32149         * debug/memmove_chk.c: Remove pagecopy.h include.
32151 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32153         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32154         identical to gnulib mktime.
32156 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32158         * configure.ac: Do not test for machine being rs6000.  Do not test
32159         for powerpc*-*soft.
32160         * configure: Regenerated.
32162         [BZ #11505]
32163         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32164         test.
32165         * configure: Regenerated.
32166         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32167         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32168         Remove configure test.
32169         * sysdeps/arm/configure: Regenerated.
32170         * sysdeps/nptl/configure.ac: Do not check
32171         libc_cv_asm_cfi_directives.
32172         * sysdeps/nptl/configure: Regenerated.
32173         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32174         * sysdeps/x86_64/nptl/configure: Remove generated file.
32175         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32176         unconditional.
32177         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32179 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32181         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32182         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32183         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32184         it is defined.
32186         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32187         instead of whether it is defined.
32188         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32189         * sysdeps/hppa/dl-machine.h: Likewise.
32190         * sysdeps/ia64/dl-machine.h: Likewise.
32191         * sysdeps/m68k/dl-machine.h: Likewise.
32192         * sysdeps/microblaze/dl-machine.h: Likewise.
32193         * sysdeps/mips/dl-machine.: Likewise.
32194         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32195         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32196         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32197         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32198         * sysdeps/sh/dl-machine.h: Likewise.
32199         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32200         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32201         * sysdeps/tile/dl-machine.h: Likewise.
32202         * sysdeps/x86_64/dl-machine.h: Likewise.
32204         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32205         code.
32206         (verify_persistent_db): Likewise.
32208 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32211         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32213         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32215         Moved ...
32216         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32217         ... here.
32218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32219         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32221         Identical file removed.
32222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32223         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32225         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32227         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32229         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32231         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32233         Moved ...
32234         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32236         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32238         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32240         Moved ...
32241         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32243         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32245         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32247         Identical file removed.
32248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32249         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32251         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32253         Moved ...
32254         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32255         ... here.
32256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32257         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32259         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32261         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32263         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32265         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32267         Moved ...
32268         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32270         Moved ...
32271         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32273         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32275         Moved ...
32276         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32278         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32280         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32281         folded into ...
32282         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32283         * sysdeps/unix/sysv/linux/s390/Versions
32284         (libpthread: GLIBC_2.19): New version set.
32285         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32286         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32287         (librt: GLIBC_2.3.3): New version set.
32288         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32289         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32290         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32291         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32292         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32293         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32294         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32295         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32296         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32297         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32298         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32299         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32300         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32301         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32302         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32303         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32304         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32305         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32306         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32307         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32308         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32309         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32310         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32311         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32312         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32313         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32314         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32315         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32316         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32317         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32318         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32319         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32320         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32321         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32322         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32323         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32324         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32326         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32327         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32328         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32329         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32330         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32332         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32334         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32335         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32336         (__libc_vfork): Define the function under this name.
32337         [!NOT_IN_libc] (__vfork): Make this an alias.
32338         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32339         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32340         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32341         (__libc_vfork): Define the function under this name.
32342         [!NOT_IN_libc] (__vfork): Make this an alias.
32343         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32344         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32345         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32347         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32348         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32350         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32351         code that was previously under [RESET_PID].
32352         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32353         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32356         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32357         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32358         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32359         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32360         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32361         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32362         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32363         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32364         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32365         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32366         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32367         Moved ...
32368         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32369         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32370         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32371         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32372         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32373         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32374         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32375         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32376         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32377         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32378         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32379         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32380         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32381         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32382         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32383         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32384         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32385         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32386         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32387         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32388         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32389         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32390         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32391         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32392         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32393         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32394         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32395         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32396         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32398 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32400         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32401         that was previously under [RESET_PID].
32402         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32404 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32406         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32407         not undefine and redefine.
32408         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32409         [O_CLOEXEC]: Make code unconditional.
32410         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32411         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32412         <kernel-features.h>.
32413         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32414         conditional variable definition.
32415         (shm_open) [O_CLOEXEC]: Make code unconditional.
32416         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32417         code.
32419         * configure.ac (USE_REGPARMS): Don't define here.
32420         * configure: Regenerated.
32421         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32422         * sysdeps/i386/configure: Regenerated.
32424         * nptl/createthread.c: Don't include kernel-features.h.
32425         * nptl/pthread_cancel.c: Likewise.
32426         * nptl/pthread_condattr_setclock.c: Likewise.
32427         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32428         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32429         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32430         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32431         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32432         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32433         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32435         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32436         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32437         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32438         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32439         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32440         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32441         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32442         * nscd/gai.c: Likewise.
32443         * nss/nss_db/db-open.c: Likewise.
32444         * sysdeps/generic/ldsodefs.h: Likewise.
32445         * sysdeps/sh/nptl/tls.h: Likewise.
32446         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32447         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32448         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32449         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32450         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32451         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32452         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32453         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32454         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32455         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32456         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32457         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32458         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32459         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32460         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32461         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32462         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32463         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32464         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32465         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32466         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32467         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32468         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32469         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32470         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32471         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32472         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32474         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32475         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32476         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32477         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32478         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32479         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32480         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32481         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32482         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32483         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32484         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32485         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32486         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32487         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32488         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32489         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32490         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32491         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32492         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32493         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32494         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32495         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32496         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32497         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32498         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32499         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32500         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32501         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32502         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32503         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32526         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32527         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32528         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32529         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32530         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32531         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32532         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32533         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32534         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32535         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32536         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32537         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32538         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32539         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32540         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32541         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32542         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32543         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32544         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32545         * sysdeps/unix/sysv/linux/system.c: Likewise.
32546         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32547         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32548         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32549         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32550         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32551         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32552         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32554         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32555         * configure: Regenerated.
32556         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32558         * configure.ac (base_machine): Do not set specially for particular
32559         machines here.
32560         * configure: Regenerated.
32561         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32562         settings from configure.ac.
32563         * sysdeps/i386/preconfigure: New file.
32564         * sysdeps/s390/preconfigure: Likewise.
32565         * sysdeps/sh/preconfigure: Likewise.
32566         * sysdeps/sparc/preconfigure: Likewise.
32568 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32570         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32571         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32572         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32573         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32574         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32575         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32576         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32577         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32578         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32579         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32580         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32581         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32582         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32583         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32584         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32585         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32586         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32587         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32588         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32590         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32591         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32592         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32593         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32594         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32595         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32596         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32597         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32598         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32599         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32600         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32601         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32602         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32603         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32604         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32605         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32606         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32607         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32608         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32609         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32610         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32611         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32612         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32613         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32614         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32615         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32616         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32617         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32618         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32619         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32620         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32621         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32622         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32623         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32624         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32625         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32626         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32627         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32630         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32632         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32634         Moved ...
32635         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32636         ... here.
32637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32638         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32640         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32642         Moved ...
32643         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32645         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32647         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32649         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32651         Moved ...
32652         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32654         Moved ...
32655         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32657         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32659         Moved ...
32660         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32662         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32664         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32666         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32668         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32670         Moved ...
32671         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32672         ... here.
32673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32674         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32676         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32678         Moved ...
32679         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32681         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32683         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32685         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32687         Moved ...
32688         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32690         Moved ...
32691         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32693         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32695         Moved ...
32696         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32698         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32700         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32702 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32704         * timezone/checktab.awk: Update from tzcode 2014e.
32705         * timezone/private.h: Likewise.
32706         * timezone/tzfile.h: Likewise.
32707         * timezone/zdump.c: Likewise.
32708         * timezone/zic.c: Likewise.
32710         * sysdeps/unix/sysv/linux/kernel-features.h
32711         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32712         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32713         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32714         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32715         Remove conditional code.
32717 2014-06-25  Will Newton  <will.newton@linaro.org>
32719         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32720         (_dl_arm_cap_flags): Add HWCAP2 values.
32721         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32722         (_DL_HWCAP_COUNT): Increase to 37.
32723         (_DL_HWCAP_LAST): New define.
32724         (_DL_HWCAP2_LAST): New define.
32725         (_dl_procinfo): Add support for printing
32726         AT_HWCAP2 entries.
32727         (_dl_string_hwcap): Use _dl_hwcap_string.
32729 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32733 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32735         * README: Do not mention ports directory.
32737         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32738         Remove macro.
32739         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32740         <kernel-features.h>.
32741         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32742         conditional variable definition.
32743         (__futimes): Update comment.
32744         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32745         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32747         [BZ #16560]
32748         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32749         arguments close to 0.
32750         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32751         Likewise.
32752         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32753         Likewise.
32754         * math/auto-libm-test-in: Add more tests of exp10.
32755         * math/auto-libm-test-out: Regenerated.
32756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32758         * sysdeps/unix/sysv/linux/kernel-features.h
32759         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32760         * sysdeps/unix/sysv/linux/readv.c: Do not include
32761         <kernel-features.h>.
32762         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32763         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32764         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32765         unconditional.
32766         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32767         conditional code.
32768         * sysdeps/unix/sysv/linux/writev.c: Do not include
32769         <kernel-features.h>.
32770         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32771         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32772         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32773         unconditional.
32774         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32775         conditional code.
32777 2014-06-25  Will Newton  <will.newton@linaro.org>
32779         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32780         comment changes throughout the file.  Remove checks
32781         for HAVE_*_H definitions that are not required.
32782         (__gen_tempname): Call abort if an unknown kind value is
32783         passed.
32785 2014-06-25  Andreas Schwab  <schwab@suse.de>
32787         [BZ #17086]
32788         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32789         scalbln, scalblnf, scalblnl in libc.
32791 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32793         [BZ #17086]
32794         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32795         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32796         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32798 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32800         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32801         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32802         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32803         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32804         Update #include.
32805         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32806         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32807         Update #include.
32808         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32809         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32810         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32811         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32812         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32813         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32814         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32815         * sysdeps/x86/bits/semaphore.h: ... here.
32816         * sysdeps/x86/nptl/elide.h: Moved ...
32817         * sysdeps/x86/elide.h: ... here.
32818         * sysdeps/x86_64/nptl/Implies: File removed.
32819         * sysdeps/i386/nptl/Implies: File removed.
32821 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32823         [BZ #16539]
32824         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32825         return the argument for normal arguments with exponent below -64.
32826         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32827         Likewise.
32828         * math/auto-libm-test-in: Add another test of expm1.
32829         * math/auto-libm-test-out: Regenerated.
32831         [BZ #16287]
32832         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32833         calling __erfcl for arguments at least 16.
32834         * math/auto-libm-test-in: Add more tests of erf.
32835         * math/auto-libm-test-out: Regenerated.
32837         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32838         individual architectures.
32839         * sysdeps/unix/sysv/linux/configure: Regenerated.
32840         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32841         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32842         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32843         (ldd_rewrite_script): Define variable.
32844         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32846         file.
32847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32848         generated file.
32849         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32850         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32851         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32852         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32853         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32854         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32855         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32856         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32858 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32860         [BZ #17084]
32861         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32862         Rename member __data.d to __data.__elision_data.
32864 2014-06-24  Wilco  <wdijkstr@arm.com>
32866         * NEWS: Add 16918 to fixed bug list.
32868 2014-06-24  Wilco  <wdijkstr@arm.com>
32870         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32872 2014-06-24  Wilco  <wdijkstr@arm.com>
32874         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32875         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32876         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32877         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32878         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32879         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32880         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32881         Use _FPU_MASK_RM.
32883 2014-06-24  Wilco  <wdijkstr@arm.com>
32885         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32887 2014-06-24  Wilco  <wdijkstr@arm.com>
32889         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32890         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32891         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32892         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32894 2014-06-24  Wilco  <wdijkstr@arm.com>
32896         [BZ #16918]
32897         * sysdeps/arm/feupdateenv.c (feupdateenv):
32898         Rewrite to reduce FPSCR accesses and fix return value.
32900 2014-06-24  Wilco  <wdijkstr@arm.com>
32902         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32903         Optimize to avoid unnecessary FPSCR writes.
32904         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32905         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32906         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32907         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32909 2014-06-24  Wilco  <wdijkstr@arm.com>
32911         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32912         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32913         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32914         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32915         Call libc_fetestexcept_vfp.
32916         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32917         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32918         __SOFTFP__ ifdef so that they can be built for softfp.
32920 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32922         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32923         argument type signed char.
32925         * Makerules (check-abi): Dump diff of symlist if the test
32926         fails.
32928 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32930         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32931         using abort.
32933         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32934         Remove unused variable ST.
32936 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32938         [BZ #16354]
32939         [BZ #17061]
32940         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32941         small arguments before calling __expm1.
32942         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32943         small arguments before calling __expm1f.
32944         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32945         small arguments before calling __expm1l.
32946         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32947         Likewise.
32948         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32949         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32950         spurious underflow for some cosh tests.
32951         * math/auto-libm-test-out: Regenerated.
32952         * sysdeps/i386/fpu/libm-test-ulps: Update.
32954         [BZ #17050]
32955         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32956         (__ieee754_y1): Set errno if return value overflows.
32957         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32958         (__ieee754_y1f): Set errno if return value overflows.
32959         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32960         (__ieee754_y1l): Set errno if return value overflows.
32961         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32962         (__ieee754_y1l): Set errno if return value overflows.
32963         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32964         * math/auto-libm-test-out: Regenerated.
32966         * math/gen-auto-libm-tests.c: Document use of
32967         ignore-zero-inf-sign.
32968         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32969         (input_flags): Add ignore-zero-inf-sign.
32970         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32971         * math/gen-libm-test.pl (generate_testfile): Handle
32972         ignore-zero-inf-sign.
32973         * math/auto-libm-test-in: Mark some cpow tests with
32974         ignore-zero-inf-sign and some with xfail-rounding.
32975         * math/auto-libm-test-out: Regenerated.
32976         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32977         * sysdeps/i386/fpu/libm-test-ulps: Update.
32978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32980         [BZ #16315]
32981         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32982         overflowing or underflowing operations take place with sign of
32983         result.
32984         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32985         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32986         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32987         (__ieee754_pow): Recompute overflowing and underflowing results in
32988         original rounding mode.
32989         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32990         (__powl_helper): Allow negative argument X and scale negated value
32991         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32992         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32993         overflowing or underflowing operations take place with sign of
32994         result.
32995         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32996         Include <math.h>.
32997         * math/auto-libm-test-in: Add more tests of pow.
32998         * math/auto-libm-test-out: Regenerated.
32999         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33000         (pow_tonearest_test_data): Remove.
33001         (pow_test_tonearest): Likewise.
33002         (pow_towardzero_test_data): Likewise.
33003         (pow_test_towardzero): Likewise.
33004         (pow_downward_test_data): Likewise.
33005         (pow_test_downward): Likewise.
33006         (pow_upward_test_data): Likewise.
33007         (pow_test_upward): Likewise.
33008         (main): Don't call removed functions.
33009         * sysdeps/i386/fpu/libm-test-ulps: Update.
33010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33012 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33015         Moved ...
33016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33018         Moved ...
33019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33021         Moved ...
33022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33024         Moved ...
33025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33027         File removed.
33028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33029         File removed.
33030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33031         File removed.
33032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33033         File removed.
33034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33035         File removed.
33036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33037         File removed.
33038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33039         File removed.
33040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33041         File removed.
33042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33043         File removed.
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33045         File removed.
33046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33047         File removed.
33048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33049         File removed.
33050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33051         Moved ...
33052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33054         Moved ...
33055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33056         ... here.
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33058         Moved ...
33059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33061         Moved ...
33062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33064         Moved ...
33065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33067         Moved ...
33068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33070         Moved ...
33071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33073         Moved ...
33074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33076         Moved ...
33077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33080         ... here.
33081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33082         Moved ...
33083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33085         Moved ...
33086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33087         ... here.
33088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33089         Moved ...
33090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33091         ... here.
33092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33093         Moved ...
33094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33095         ... here.
33096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33097         Moved ...
33098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33100         Moved ...
33101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33105         Moved ...
33106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33107         ... here.
33108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33109         Moved ...
33110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33111         ... here.
33112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33113         Moved ...
33114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33116         Moved ...
33117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33119         Moved ...
33120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33122         Moved ...
33123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33125         Moved ...
33126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33127         ... here.
33128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33129         Moved ...
33130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33132         Moved ...
33133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33135         Moved ...
33136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33138         Moved ...
33139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33143         Moved ...
33144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33146         Moved ...
33147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33149         Moved ...
33150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33151         ... here.
33152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33153         Moved ...
33154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33155         ... here.
33156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33157         Moved ...
33158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33159         ... here.
33160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33161         Moved ...
33162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33164         Moved ...
33165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33167         Moved ...
33168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33170         Moved ...
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33172         ... here.
33173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33174         Moved ...
33175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33176         ... here.
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33178         Moved ...
33179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33180         ... here.
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33182         Moved ...
33183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33185         Moved ...
33186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33188 2014-06-23  Will Newton  <will.newton@linaro.org>
33189             Wilco  <wdijkstr@arm.com>
33191         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33192         implementation.  Include get-rounding-mode.h.
33193         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33194         [!libc_feholdsetround_noex_ctx]: Define
33195         libc_feholdsetround_noex_ctx.
33196         [!libc_feholdsetround_noexf_ctx]: Define
33197         libc_feholdsetround_noexf_ctx.
33198         [!libc_feholdsetround_noexl_ctx]: Define
33199         libc_feholdsetround_noexl_ctx.
33200         (libc_feholdsetround_ctx): New function.
33201         (libc_feresetround_ctx): New function.
33202         (libc_feholdsetround_noex_ctx): New function.
33203         (libc_feresetround_noex_ctx): New function.
33205 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33207         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33208         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33209         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33210         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33211         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33212         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33214         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33215         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33216         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33217         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33218         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33219         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33220         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33221         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33222         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33223         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33224         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33225         Moved ...
33226         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33227         ... here.
33228         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33229         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33230         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33231         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33232         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33233         Moved ...
33234         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33235         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33236         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33237         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33238         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33239         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33240         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33241         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33242         Moved ...
33243         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33244         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33245         Moved ...
33246         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33248         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33249         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33250         Moved ...
33251         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33252         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33253         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33254         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33255         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33256         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33257         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33258         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33259         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33260         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33261         Moved ...
33262         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33263         ... here.
33264         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33265         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33266         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33267         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33268         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33269         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33270         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33271         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33272         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33273         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33274         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33275         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33276         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33277         Moved ...
33278         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33279         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33280         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33281         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33282         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33283         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33284         Moved ...
33285         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33286         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33287         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33288         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33289         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33291         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33292         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33293         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33294         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33295         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33296         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33297         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33298         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33300         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33301         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33302         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33303         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33304         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33305         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33306         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33307         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33308         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33309         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33310         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33311         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33312         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33313         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33314         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33315         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33316         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33317         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33318         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33320 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33322         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33323         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33324         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33325         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33326         (IPV6_PMTUDISC_INTERFACE): Likewise.
33327         (IPV6_PMTUDISC_OMIT): Likewise.
33329 2014-06-23  Andreas Schwab  <schwab@suse.de>
33331         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33332         Remove unused errout label.
33334 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33336         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33337         macro: hardware supports Vector Crypto instructions.
33339 2014-06-23  Will Newton  <will.newton@linaro.org>
33341         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33342         rather than __builtin_expect.
33344         * elf/dl-lookup.c (undefined_msg): Remove variable.
33345         (_dl_lookup_symbol_x): Replace undefined_msg with string
33346         literal.
33348         * elf/dl-lookup.c (do_lookup_unique): New function.
33349         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33350         to a separate function.
33352 2014-06-23  Andreas Schwab  <schwab@suse.de>
33354         [BZ #17079]
33355         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33356         before reading the next line.
33358 2014-06-23  Will Newton  <will.newton@linaro.org>
33360         * test-skeleton.c (signal_handler): Use printf and %m
33361         rather than perror.  Use printf rather than fprintf to
33362         stderr.  Use puts rather than fputs to stderr.
33363         (main): Likewise.
33365 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33367         * nscd/nscd.c (thread_info_t): Remove typedef.
33368         (thread_info): Remove variable.
33370 2014-06-21  Allan McRae  <allan@archlinux.org>
33372         * NEWS: Mention CVE-2014-4043.
33374 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33376         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33377         * nptl/smp.h: ... here.
33379         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33381         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33382         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33383         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33384         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33386         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33387         * nptl/stack-aliasing.h: New file.
33388         * sysdeps/i386/i686/stack-aliasing.h: New file.
33389         * sysdeps/i386/i686/nptl/Makefile: File removed.
33390         * sysdeps/x86_64/stack-aliasing.h: New file.
33391         * sysdeps/x86_64/nptl/Makefile
33392         (CFLAGS-pthread_create.c): Variable removed.
33394         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33395         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33396         old file.
33397         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33398         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33399         old file.
33401 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33403         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33404         (__ASSUME_SIGFRAME_V2): Remove macro.
33405         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33406         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33407         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33408         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33409         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33410         Declare as function.  Remove conditional macro definitions.
33411         (__default_rt_sa_restorer): Likewise.
33412         (__default_sa_restorer_v1): Remove declaration.
33413         (__default_sa_restorer_v2): Likewise.
33414         (__default_rt_sa_restorer_v1): Likewise.
33415         (__default_rt_sa_restorer_v2): Likewise.
33416         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33417         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33418         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33420 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33422         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33423         (libpthread-routines): Add sysdep.
33424         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33425         * sysdeps/unix/sysv/linux/sparc/Versions
33426         (libpthread: GLIBC_2.3.3): New version set.
33427         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33428         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33429         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33430         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33431         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33432         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33433         Moved ...
33434         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33435         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33436         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33437         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33438         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33439         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33440         * sysdeps/sparc/nptl/sem_init.c: ... here.
33441         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33442         * sysdeps/sparc/nptl/sem_post.c: ... here.
33443         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33444         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33445         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33446         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33447         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33448         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33449         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33450         (libpthread-routines): Add cpu_relax.
33451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33452         File removed.
33453         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33454         (librt: GLIBC_2.3.3): New version set.
33455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33456         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33457         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33458         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33461         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33463         Moved ...
33464         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33466         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33468         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33470         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33472         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33474         Moved ...
33475         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33476         Update #include.
33477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33478         Moved ...
33479         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33480         Update #include.
33481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33482         Moved ...
33483         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33484         Update #include.
33485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33486         Moved ...
33487         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33488         Update #include.
33489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33490         Moved ...
33491         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33492         Update #include.
33493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33494         Moved ...
33495         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33496         Update #include.
33497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33498         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33502         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33504         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33505         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33506         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33508         Moved ...
33509         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33511         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33513         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33515 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33517         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33518         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33519         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33520         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33521         * nscd/nscd.c: Likewise.
33522         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33523         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33524         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33525         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33527         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33528         <kernel-features.h>.
33529         (init_mq_netlink): Remove conditional have_sock_cloexec
33530         definitions.  Remove code conditional on have_sock_cloexec < 0.
33531         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33532         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33533         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33534         <kernel-features.h>.
33535         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33536         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33538 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33540         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33541         Add tests for memset_chk and memset.
33543         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33544         with AVX2_Usable.
33546 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33548         [BZ #16046]
33549         * elf/tst-dl-iter-static.c: New file.
33550         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33552         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33553         error.
33555 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33557         * sysdeps/unix/sysv/linux/kernel-features.h
33558         (__ASSUME_F_GETOWN_EX): Remove macro.
33559         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33560         <kernel-features.h>.
33561         (miss_F_GETOWN_EX): Remove variable or macro.
33562         (do_fcntl): Do not check miss_F_GETOWN_EX.
33563         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33565         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33566         Remove macro.
33567         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33568         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33569         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33571         * sysdeps/unix/sysv/linux/kernel-features.h
33572         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33573         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33574         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33575         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33577 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33579         [BZ #17075]
33580         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33581         Fix calculation of the symbol's value.
33582         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33583         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33584         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33585         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33586         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33587         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33588         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33589         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33590         (modules-names): Add `tst-armtlsdescmod',
33591         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33592         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33593         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33594         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33595         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33596         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33597         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33598         ($(objpfx)tst-armtlsdescloc): New dependency.
33599         ($(objpfx)tst-armtlsdescextnow): Likewise.
33600         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33601         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33602         TLS scheme support.
33603         * sysdeps/arm/configure: Regenerate.
33605 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33607         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33608         (__atfct_seterrno_2): Likewise.
33609         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33610         <kernel-features.h>.
33611         (__ASSUME_ATFCTS): Do not undefine and redefine.
33612         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33613         (__have_atfcts): Remove conditional definition.
33614         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33615         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33616         unreachable if [__ASSUME_ATFCTS].
33617         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33618         not undefine and redefine.
33619         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33620         <kernel-features.h>.
33621         (faccessat) [__NR_faccessat]: Make code unconditional.
33622         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33623         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33624         <kernel-features.h>.
33625         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33626         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33627         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33628         <kernel-features.h>.
33629         (fchownat) [__NR_fchownat]: Make code unconditional.
33630         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33631         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33632         <kernel-features.h>.
33633         (futimesat) [__NR_futimesat]: Make code unconditional.
33634         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33635         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33636         <kernel-features.h>.
33637         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33638         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33639         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33640         <kernel-features.h>.
33641         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33642         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33643         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33644         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33645         <kernel-features.h>.
33646         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33647         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33648         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33649         <kernel-features.h>.
33650         (linkat) [__NR_linkat]: Make code unconditional.
33651         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33652         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33653         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33654         <kernel-features.h>.
33655         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33656         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33657         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33658         <kernel-features.h>.
33659         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33660         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33661         * sysdeps/unix/sysv/linux/openat.c: Do not include
33662         <kernel-features.h>.
33663         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33664         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33665         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33666         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33667         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33668         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33669         <kernel-features.h>.
33670         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33671         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33672         result of INLINE_SYSCALL directly, not via int variable.
33673         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33674         <kernel-features.h>.
33675         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33676         (renameat) [__NR_renameat]: Make code unconditional.
33677         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33678         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33679         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33680         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33681         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33682         (__ASSUME_ATFCTS): Do not undefine and redefine.
33683         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33684         <kernel-features.h>.
33685         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33686         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33687         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33688         <kernel-features.h>.
33689         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33690         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33691         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33692         (__ASSUME_ATFCTS): Do not undefine and redefine.
33693         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33694         <kernel-features.h>.
33695         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33696         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33697         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33698         <kernel-features.h>.
33699         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33700         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33702 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33704         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33706 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33708         [BZ #17069]
33709         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33710         constructed tree before returning error.
33711         * posix/bug-regexp36.c: Expand test case.
33713 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33715         [BZ #6803]
33716         * math/libm-test.inc (scalbln_test_date):
33717         Add errno expectations.
33718         * math/w_scalblnf.c: New File.
33719         Add wrapper which checks for setting errno to ERANGE.
33720         Add weak_alias for corresponding scalbln function.
33721         * math/w_scalbln.c: Likewise.
33722         * math/w_scalblnl.c: Likewise.
33723         * math/Makefile (libm-calls): Add w_scalbln.
33724         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33725         Remove weak_alias for corresponding scalbln function.
33726         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33727         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33728         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33729         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33730         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33731         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33732         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33733         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33734         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33735         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33736         Remove long_double_symbol for scalblnl function in libm, libc.
33737         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33738         Add wrapper which checks for setting errno to ERANGE.
33739         Add long_double_symbol for scalblnl function in libm, libc.
33740         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33741         Remove long_double_symbol for scalblnl in libm.
33742         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33743         Add wrapper which checks for setting errno to ERANGE.
33744         Add long_double_symbol for scalblnl function in libm.
33745         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33746         Do not use wrapper because of own implementation.
33748 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33750         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33751         3 bytes for __pad1 for x32.
33752         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33754 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33755             H.J. Lu  <hongjiu.lu@intel.com>
33757         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33758         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33759         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33760         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33761         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33763 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33765         [BZ #17069]
33766         * posix/regcomp.c (parse_expression): Deallocate partially
33767         constructed tree before returning error.
33768         * posix/Makefile.c (tests): Add bug-regex36.
33769         (generated): Add bug-regex36.mtrace.
33770         (tests-special): Add $(objpfx)bug-regex36-mem.out
33771         (bug-regex36-ENV): New variable.
33772         ($(objpfx)bug-regex36-mem.out): New rule.
33773         * posix/bug-regex36.c: New file.
33775 2014-06-19  Will Newton  <will.newton@linaro.org>
33777         * malloc/malloc.c (systrim): If extra is zero then return
33778         early.
33780 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33782         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33784 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33786         * sysdeps/aarch64/strchr.S: New file.
33788 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33790         [BZ #17022]
33791         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33792         from arguments -2 or below.
33793         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33794         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33796 2014-06-18  Andreas Schwab  <schwab@suse.de>
33798         [BZ #17062]
33799         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33800         of a bracket expr not to run off the end of the string.
33801         * posix/Makefile (tests): Add tst-fnmatch3.
33802         * posix/tst-fnmatch3.c: New file.
33804 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33806         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33807         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33808         [$(cross-compiling) = no]: Likewise.
33809         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33810         [$(cross-compiling) = no]: Likewise.
33812 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33814         [BZ #17031]
33815         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33816         double, adjusted for any remainder from the high double.
33817         * math/libm-test.inc (nearbyint): Add tests.
33818         (rint): Likewise.
33820 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33822         * nptl/sysdeps/powerpc/Makefile: Moved ...
33823         * sysdeps/powerpc/nptl/Makefile: ... here.
33824         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33825         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33826         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33827         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33828         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33829         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33830         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33831         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33832         * nptl/sysdeps/powerpc/tls.h: Moved ...
33833         * sysdeps/powerpc/nptl/tls.h: ... here.
33835 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33837         [BZ #16681]
33838         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33839         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33840         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33841         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33842         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33843         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33844         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33845         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33846         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33848 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33850         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33852 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33854         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33855         defined operator.
33857         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33858         $TIMEOUTFACTOR.
33860 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33862         [BZ #17058]
33863         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33864         non-executed part of the test.
33866 2014-06-16  Andreas Schwab  <schwab@suse.de>
33868         * string/bits/string2.h (strdup, strndup): Update feature guard.
33870 2014-06-14  David S. Miller  <davem@davemloft.net>
33872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33874 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33876         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33877         that was previously under [RESET_PID].
33878         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33880         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33881         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33882         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33883         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33884         (__libc_vfork): New strong alias.
33885         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33887 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33889         * sysdeps/generic/elide.h: New file.
33891 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33893         * Makefile (installed-headers): Adjust path of pthread.h header.
33895 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33897         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33898         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33899         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33900         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33902         * nptl/sysdeps/s390/Makefile: Moved ...
33903         * sysdeps/s390/nptl/Makefile: ... here.
33904         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33905         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33906         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33907         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33908         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33909         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33910         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33911         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33912         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33913         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33914         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33915         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33916         * nptl/sysdeps/s390/tls.h: Moved ...
33917         * sysdeps/s390/nptl/tls.h: ... here.
33919         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33920         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33922 2014-06-13  David S. Miller  <davem@davemloft.net>
33924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33927         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33931         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33932         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33933         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33934         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33935         Remove RESET_PID cpp guards.
33936         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33937         Remove RESET_PID cpp guards.
33938         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33940 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33942         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33943         __sp to uintptr_t.
33945 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33947         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33948         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33949         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33950         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33951         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33952         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33953         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33954         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33955         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33956         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33957         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33958         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33959         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33960         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33961         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33962         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33963         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33964         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33965         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33966         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33968         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33969         (pthread_rwlock_rdlock): Add elision.
33970         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33971         (pthread_rwlock_wrlock): Add elision.
33972         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33973         (pthread_rwlock_trywrlock): Add elision.
33974         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33975         (pthread_rwlock_tryrdlock): Add elision.
33976         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33977         (pthread_rwlock_tryrdlock): Add elision unlock.
33978         * nptl/sysdeps/pthread/pthread.h:
33979         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33980         (PTHREAD_RWLOCK_INITIALIZER,
33981         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33982         Handle new elision field.
33983         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33984         * sysdeps/arm/nptl/bits/pthreadtypes.h
33985         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33986         * sysdeps/sh/nptl/bits/pthreadtypes.h
33987         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33988         * sysdeps/tile/nptl/bits/pthreadtypes.h
33989         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33990         * sysdeps/a/nptl/bits/pthreadtypes.h
33991         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33992         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33993         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33994         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33995         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33996         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33998         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33999         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34000         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34001         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34002         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34003         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34004         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34005         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34006         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34007         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34008         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34009         (elision_init): Set try_xbegin to zero when no RTM.
34010         * sysdeps/x86/nptl/bits/pthreadtypes.h
34011         (pthread_rwlock_t): Change __pad1 to __rwelision.
34012         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34014 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34016         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34017         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34018         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34019         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34021 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34023         [BZ #16996]
34024         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34025         that the cached result has been set before returning it.
34027 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34029         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34030         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34031         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34032         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34033         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34034         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34036         * nptl/sysdeps/sparc/Makefile: Moved ...
34037         * sysdeps/sparc/nptl/Makefile: ... here.
34038         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34039         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34040         * nptl/sysdeps/sparc/tls.h: Moved ...
34041         * sysdeps/sparc/nptl/tls.h: ... here.
34042         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34043         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34044         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34045         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34046         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34047         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34048         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34049         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34050         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34051         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34052         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34053         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34054         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34055         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34056         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34057         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34058         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34059         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34060         Update #include.
34061         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34062         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34063         Update #include.
34064         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34065         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34066         Update #include.
34067         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34068         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34069         Update #include.
34071         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34073         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34074         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34076         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34077         (struct list_links): Type removed.
34078         (struct thread_node, struct timer_node): Replace struct list_links
34079         with struct list_head.
34080         (list_unlink_ip): Likewise.
34081         * sysdeps/pthread/timer_routines.c
34082         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34083         (list_append, list_insbefore): Likewise.
34084         (list_init): Function removed.
34085         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34086         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34087         * sysdeps/pthread/Makefile: ... here, new file.
34089         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34090         * sysdeps/nptl/Implies: ... here.
34091         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34092         * nptl/sysdeps/pthread/list.h: Moved ...
34093         * include/list.h: ... here.
34094         * nptl/sysdeps/pthread/createthread.c: Moved ...
34095         * nptl/createthread.c: ... here.
34096         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34097         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34098         * nptl/pt-longjmp.c: ... here.
34099         * nptl/sysdeps/pthread/Makefile: Moved ...
34100         * sysdeps/nptl/Makefile: ... here.
34101         * nptl/sysdeps/pthread/Subdirs: Moved ...
34102         * sysdeps/nptl/Subdirs: ... here.
34103         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34104         * sysdeps/nptl/aio_misc.h: ... here.
34105         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34106         * sysdeps/nptl/bits/libc-lock.h: ... here.
34107         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34108         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34109         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34110         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34111         * nptl/sysdeps/pthread/configure: Moved ...
34112         * sysdeps/nptl/configure: ... here.
34113         * nptl/sysdeps/pthread/configure.ac: Moved ...
34114         * sysdeps/nptl/configure.ac: ... here.
34115         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34116         * sysdeps/nptl/gai_misc.h: ... here.
34117         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34118         * sysdeps/nptl/librt-cancellation.c: ... here.
34119         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34120         * sysdeps/nptl/malloc-machine.h: ... here.
34121         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34122         * sysdeps/nptl/pthread-functions.h: ... here.
34123         * nptl/sysdeps/pthread/pthread.h: Moved ...
34124         * sysdeps/nptl/pthread.h: ... here.
34125         * nptl/sysdeps/pthread/setxid.h: Moved ...
34126         * sysdeps/nptl/setxid.h: ... here.
34127         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34128         * sysdeps/nptl/sigfillset.c: ... here.
34129         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34130         * sysdeps/nptl/tcb-offsets.h: ... here.
34131         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34132         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34133         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34134         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34135         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34136         * sysdeps/pthread/allocalim.h: ... here.
34137         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34138         * sysdeps/pthread/bits/sigthread.h: ... here.
34139         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34140         * sysdeps/pthread/flockfile.c: ... here.
34141         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34142         * sysdeps/pthread/ftrylockfile.c: ... here.
34143         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34144         * sysdeps/pthread/funlockfile.c: ... here.
34145         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34146         * sysdeps/pthread/posix-timer.h: ... here.
34147         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34148         * sysdeps/pthread/timer_create.c: ... here.
34149         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34150         * sysdeps/pthread/timer_delete.c: ... here.
34151         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34152         * sysdeps/pthread/timer_getoverr.c: ... here.
34153         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34154         * sysdeps/pthread/timer_gettime.c: ... here.
34155         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34156         * sysdeps/pthread/timer_routines.c: ... here.
34157         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34158         * sysdeps/pthread/timer_settime.c: ... here.
34159         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34160         * sysdeps/pthread/tst-timer.c: ... here.
34161         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34162         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34164         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34165         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34167         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34168         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34169         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34170         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34171         Update #include target.
34172         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34173         * sysdeps/i386/i686/nptl/Makefile: ... here.
34174         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34175         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34176         Update #include target.
34177         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34178         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34179         * nptl/sysdeps/i386/Makefile: Moved ...
34180         * sysdeps/i386/nptl/Makefile: ... here.
34181         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34182         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34183         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34184         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34185         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34186         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34187         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34188         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34189         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34190         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34191         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34192         * nptl/sysdeps/i386/tls.h: Moved ...
34193         * sysdeps/i386/nptl/tls.h: ... here.
34195         * sysdeps/sh/Makefile [$(subdir) = csu]
34196         (gen-as-const-headers): Add tcb-offsets.sym.
34197         * nptl/sysdeps/sh/Makefile: File removed.
34198         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34199         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34200         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34201         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34202         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34203         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34204         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34205         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34206         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34207         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34208         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34209         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34210         * nptl/sysdeps/sh/tls.h: Moved ...
34211         * sysdeps/sh/nptl/tls.h: ... here.
34212         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34213         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34214         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34215         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34216         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34217         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34218         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34219         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34220         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34221         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34222         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34223         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34224         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34225         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34226         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34227         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34228         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34229         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34230         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34231         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34232         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34233         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34234         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34235         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34236         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34237         Moved ...
34238         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34239         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34240         Moved ...
34241         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34242         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34243         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34244         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34245         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34246         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34247         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34248         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34249         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34250         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34251         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34252         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34253         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34254         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34255         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34256         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34257         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34258         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34259         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34261 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34263         * posix/spawn_faction_addopen.c: Include string.h.
34265 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34267         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34268         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34269         * nptl/sysdeps/x86_64/Makefile: Moved ...
34270         * sysdeps/x86_64/nptl/Makefile: ... here.
34271         * nptl/sysdeps/x86_64/configure: Moved ...
34272         * sysdeps/x86_64/nptl/configure: ... here.
34273         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34274         * sysdeps/x86_64/nptl/configure.ac: ... here.
34275         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34276         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34277         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34278         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34279         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34280         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34281         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34282         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34283         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34284         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34285         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34286         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34287         * nptl/sysdeps/x86_64/tls.h: Moved ...
34288         * sysdeps/x86_64/nptl/tls.h: ... here.
34289         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34290         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34291         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34292         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34294         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34296 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34300 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34302         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34303         type.
34304         [POSIX] (off_t): Likewise.
34305         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34306         [POSIX] (S_ISBLK): Require macro.
34307         [POSIX] (S_ISCHR): Likewise.
34308         [POSIX] (S_ISDIR): Likewise.
34309         [POSIX] (S_ISFIFO): Likewise.
34310         [POSIX] (S_ISREG): Likewise.
34311         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34312         optional-macro.
34313         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34314         type.
34315         [POSIX] (time_t): Likewise.
34316         [POSIX] (timer_t): Likewise.
34318 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34320         [BZ #17048]
34321         * posix/spawn_int.h (struct __spawn_action): Make the path string
34322         non-const to support deallocation.
34323         * posix/spawn_faction_addopen.c
34324         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34325         * posix/spawn_faction_destroy.c
34326         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34327         path in all spawn_do_open actions.
34328         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34329         posix_spawn_file_actions_addopen.
34331 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34333         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34334         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34335         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34336         conditional code always true.
34337         (__libc_vfork): New alias.
34339 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34341         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34342         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34344         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34346         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34347         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34349         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34350         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34352         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34353         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34355 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34357         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34358         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34359         multiarch strcmp for PPC64.
34360         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34361         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34363         multiarch optimizations.
34364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34365         (__libc_ifunc_impl_list): Likewise.
34367 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34369         * benchtests/scripts/validate_benchout.py: New script.
34370         * benchtests/Makefile (bench-func): Call it.
34371         * benchtests/scripts/benchout.schema.json: New file.
34373 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34375         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34376         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34377         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34378         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34379         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34380         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34381         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34382         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34383         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34384         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34385         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34386         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34387         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34388         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34389         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34390         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34392         Moved ...
34393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34394         ... here.
34395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34396         Moved ...
34397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34399         Moved ...
34400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34401         ... here.
34402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34403         Moved ...
34404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34405         ... here.
34406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34407         Moved ...
34408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34410         Moved ...
34411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34412         ... here.
34413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34414         Moved ...
34415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34416         ... here.
34417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34418         Moved ...
34419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34421         Moved ...
34422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34423         ... here.
34424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34425         Moved ...
34426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34427         ... here.
34428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34429         Moved ...
34430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34431         ... here.
34432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34433         Moved ...
34434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34436         Moved ...
34437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34438         ... here.
34439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34440         Moved ...
34441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34442         ... here.
34443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34444         Moved ...
34445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34446         ... here.
34447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34448         Moved ...
34449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34451         Moved ...
34452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34453         ... here.
34454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34455         Moved ...
34456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34457         ... here.
34458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34459         Moved ...
34460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34462         Moved ...
34463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34464         ... here.
34465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34466         Moved ...
34467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34469         Moved ...
34470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34472         Moved ...
34473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34474         ... here.
34475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34476         Moved ...
34477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34478         ... here.
34479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34480         Moved ...
34481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34482         ... here.
34483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34484         Moved ...
34485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34487         Moved ...
34488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34489         ... here.
34490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34491         Moved ...
34492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34493         ... here.
34494         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34495         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34496         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34497         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34498         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34499         Moved ...
34500         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34501         ... here.
34502         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34503         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34504         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34505         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34506         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34507         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34508         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34509         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34510         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34511         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34512         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34513         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34514         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34515         Moved ...
34516         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34517         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34518         Moved ...
34519         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34520         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34521         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34522         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34523         Moved ...
34524         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34525         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34526         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34527         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34528         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34529         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34530         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34532 2014-06-10  Wilco  <wdijkstr@arm.com>
34534         * math/test-fenv-return.c: New file.
34535         * math/Makefile: Add new test test-fenv-return.
34537 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34539         [BZ #17042]
34540         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34541         when x - 1 is zero.
34542         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34543         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34544         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34545         0.0L for an argument of 1.0L.
34546         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34547         Likewise.
34548         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34549         value when x - 1 is zero.
34550         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34551         * sysdeps/i386/fpu/libm-test-ulps: Update.
34552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34554 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34556         [BZ #15119]
34557         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34559 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34561         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34562         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34564 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34566         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34567         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34569         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34570         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34572         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34573         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34575         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34576         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34578         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34579         if not already defined.
34580         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34581         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34582         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34583         (TLS_INIT_TP): Use it.
34584         (TLS_DEFINE_INIT_TP): New macro.
34585         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34587 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34589         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34590         constant.
34591         [POSIX] (IXANY): Likewise.
34592         [POSIX] (OLCUC): Likewise.
34593         [POSIX || POSIX2008] (CBAUD): Do not allow.
34594         [POSIX || POSIX2008] (DEFECHO): Likewise.
34595         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34596         [POSIX || POSIX2008] (ECHOKE): Likewise.
34597         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34598         [POSIX || POSIX2008] (EXTA): Likewise.
34599         [POSIX || POSIX2008] (EXTB): Likewise.
34600         [POSIX || POSIX2008] (FLUSHO): Likewise.
34601         [POSIX || POSIX2008] (LOBLK): Likewise.
34602         [POSIX || POSIX2008] (PENDIN): Likewise.
34603         [POSIX || POSIX2008] (SWTCH): Likewise.
34604         [POSIX || POSIX2008] (VDISCARD): Likewise.
34605         [POSIX || POSIX2008] (VDSUSP): Likewise.
34606         [POSIX || POSIX2008] (VLNEXT): Likewise.
34607         [POSIX || POSIX2008] (VREPRINT): Likewise.
34608         [POSIX || POSIX2008] (VSTATUS): Likewise.
34609         [POSIX || POSIX2008] (VWERASE): Likewise.
34610         (B*): Change to B[0123456789]*.
34611         * conform/data/time.h-data [POSIX || UNIX98]
34612         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34613         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34614         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34615         [POSIX] (tm_*): Do not allow.
34617 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34619         * Makefile (install): Don't set LANGUAGE.
34620         * Makefile.in (install): Likewise.
34621         * assert/Makefile (test-assert-ENV): Remove variable.
34622         (test-assert-perr-ENV): Likewise.
34623         * elf/Makefile (neededtest4-ENV): Likewise.
34624         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34625         [$(cross-compiling) = no]: Don't set LANGUAGE.
34626         * io/ftwtest-sh (LANG): Remove variable.
34627         * libio/Makefile (tst-widetext-ENV): Likewise.
34628         * manual/install.texi (Running make install): Don't refer to
34629         environment settings for make install.
34630         * INSTALL: Regenerated.
34631         * nptl/tst-tls6.sh: Don't set LANG.
34632         * posix/globtest.sh (LANG): Remove variable.
34633         * string/Makefile (tester-ENV): Likewise.
34634         (inl-tester-ENV): Likewise.
34635         (noinl-tester-ENV): Likewise.
34636         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34637         [$(cross-compiling) = no]: Don't set LANGUAGE.
34638         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34639         without explicit environment settings.
34641 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34643         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34644         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34645         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34646         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34648 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34650         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34651         other files in the crypt directory.
34652         * crypt/crypt.c: Remove duplicate includes.
34653         * crypt/crypt-entry.c: Likewise.
34654         * crypt/crypt_util.c: Likewise.
34656 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34658         * Makeconfig (run-program-env): New variable.
34659         (run-program-prefix-before-env): Likewise.
34660         (run-program-prefix-after-env): Likewise.
34661         (run-program-prefix): Define in terms of new variables.
34662         (built-program-cmd-before-env): New variable.
34663         (built-program-cmd-after-env): Likewise.
34664         (built-program-cmd): Define in terms of new variables.
34665         (test-program-prefix-before-env): New variable.
34666         (test-program-prefix-after-env): Likewise.
34667         (test-program-prefix): Define in terms of new variables.
34668         (test-program-cmd-before-env): New variable.
34669         (test-program-cmd-after-env): Likewise.
34670         (test-program-cmd): Define in terms of new variables.
34671         * Rules (make-test-out): Use $(run-program-env).
34672         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34673         (help): Do not mention environment variables.  Mention
34674         --timeoutfactor option.
34675         (timeoutfactor): New variable.
34676         (blacklist_exports): Remove function.
34677         (exports): Remove variable.
34678         (command): Do not include ${exports}.
34679         * manual/install.texi (Configuring and compiling): Do not mention
34680         test wrappers preserving environment variables.  Mention that last
34681         assignment to a variable must take precedence.
34682         * INSTALL: Regenerated.
34683         * benchtests/Makefile (run-bench): Use $(run-program-env).
34684         * catgets/Makefile ($(objpfx)test1.cat): Use
34685         $(built-program-cmd-before-env), $(run-program-env) and
34686         $(built-program-cmd-after-env).
34687         ($(objpfx)test2.cat): Do not specify environment variables
34688         explicitly.
34689         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34690         $(run-program-env) and $(built-program-cmd-after-env).
34691         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34692         $(run-program-env) and $(test-program-cmd-after-env).
34693         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34694         explicitly.
34695         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34696         run_program_env and test_program_cmd_after_env arguments.
34697         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34698         * elf/tst-pathopt.sh: Use run_program_env argument.
34699         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34700         $(test-wrapper-env) and $(run-program-env).
34701         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34702         run_program_env arguments.
34703         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34704         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34705         $(test-program-prefix-before-env), $(run-program-env) and
34706         $(test-program-prefix-after-env).
34707         ($(objpfx)tst-gettext2.out): Likewise.
34708         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34709         run_program_env and test_program_prefix_after_env arguments.
34710         * intl/tst-gettext2.sh: Likewise.
34711         * intl/tst-gettext4.sh: Do not set environment variables
34712         explicitly.
34713         * intl/tst-gettext6.sh: Likewise.
34714         * intl/tst-translit.sh: Likewise.
34715         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34716         $(test-program-prefix-before-env), $(run-program-env) and
34717         $(test-program-prefix-after-env).
34718         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34719         run_program_env and test_program_prefix_after_env arguments.
34720         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34721         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34722         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34723         explicitly with each use of ${test_wrapper_env}.
34724         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34725         $(test-program-prefix-before-env), $(run-program-env) and
34726         $(test-program-prefix-after-env).
34727         * posix/tst-getconf.sh: Do not set environment variables
34728         explicitly.
34729         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34730         run_program_env and test_program_prefix_after_env arguments.
34731         * stdio-common/tst-printf.sh: Do not set environment variables
34732         explicitly.
34733         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34734         $(test-program-prefix-before-env), $(run-program-env) and
34735         $(test-program-prefix-after-env).
34736         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34737         run_program_env and test_program_prefix_after_env arguments.
34738         Split $test calls into $test_pre and $test.
34739         * timezone/Makefile (build-testdata): Use
34740         $(built-program-cmd-before-env), $(run-program-env) and
34741         $(built-program-cmd-after-env).
34743 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34745         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34746         strlen for non SHARED builds.
34748 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34750         * nptl/allocatestack.c (check_list): Inlined function...
34751         (__reclaim_stacks): ... here.
34753 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34755         [BZ #15698]
34756         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34757         memory overrun.
34759 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34761         * Rules (make-test-out): Include
34762         LOCPATH=$(common-objpfx)localedata in default environment.
34763         * debug/Makefile (tst-chk1-ENV): Remove variable.
34764         (tst-chk2-ENV): Likewise.
34765         (tst-chk3-ENV): Likewise.
34766         (tst-chk4-ENV): Likewise.
34767         (tst-chk5-ENV): Likewise.
34768         (tst-chk6-ENV): Likewise.
34769         (tst-lfschk1-ENV): Likewise.
34770         (tst-lfschk2-ENV): Likewise.
34771         (tst-lfschk3-ENV): Likewise.
34772         (tst-lfschk4-ENV): Likewise.
34773         (tst-lfschk5-ENV): Likewise.
34774         (tst-lfschk6-ENV): Likewise.
34775         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34776         (tst-iconv7-ENV): Likewise.
34777         * intl/Makefile (LOCPATH-ENV): Likewise.
34778         (tst-codeset-ENV): Likewise.
34779         (tst-gettext3-ENV): Likewise.
34780         (tst-gettext5-ENV): Likewise.
34781         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34782         (tst-fopenloc-ENV): Likewise.
34783         (tst-fgetws-ENV): Remove variable.
34784         (tst-ungetwc1-ENV): Likewise.
34785         (tst-ungetwc2-ENV): Likewise.
34786         (bug-ungetwc2-ENV): Likewise.
34787         (tst-swscanf-ENV): Likewise.
34788         (bug-ftell-ENV): Likewise.
34789         (tst-fgetwc-ENV): Likewise.
34790         (tst-fseek-ENV): Likewise.
34791         (tst-ftell-partial-wide-ENV): Likewise.
34792         (tst-ftell-active-handler-ENV): Likewise.
34793         (tst-ftell-append-ENV): Likewise.
34794         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34795         (tst-regexloc-ENV): Likewise.
34796         (bug-regex1-ENV): Likewise.
34797         (tst-regex-ENV): Likewise.
34798         (tst-regex2-ENV): Likewise.
34799         (bug-regex5-ENV): Likewise.
34800         (bug-regex6-ENV): Likewise.
34801         (bug-regex17-ENV): Likewise.
34802         (bug-regex18-ENV): Likewise.
34803         (bug-regex19-ENV): Likewise.
34804         (bug-regex20-ENV): Likewise.
34805         (bug-regex22-ENV): Likewise.
34806         (bug-regex23-ENV): Likewise.
34807         (bug-regex25-ENV): Likewise.
34808         (bug-regex26-ENV): Likewise.
34809         (bug-regex30-ENV): Likewise.
34810         (bug-regex32-ENV): Likewise.
34811         (bug-regex33-ENV): Likewise.
34812         (bug-regex34-ENV): Likewise.
34813         (bug-regex35-ENV): Likewise.
34814         (tst-rxspencer-ENV): Likewise.
34815         (tst-rxspencer-no-utf8-ENV): Likewise.
34816         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34817         (tst-sscanf-ENV): Likewise.
34818         (tst-swprintf-ENV): Likewise.
34819         (tst-swscanf-ENV): Likewise.
34820         (test-vfprintf-ENV): Likewise.
34821         (scanf13-ENV): Likewise.
34822         (bug14-ENV): Likewise.
34823         (tst-grouping-ENV): Likewise.
34824         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34825         (tst-strtod3-ENV): Likewise.
34826         (tst-strtod4-ENV): Likewise.
34827         (tst-strtod5-ENV): Likewise.
34828         (testmb2-ENV): Likewise./
34829         * string/Makefile (tst-strxfrm-ENV): Likewise.
34830         (tst-strxfrm2-ENV): Likewise.
34831         (bug-strcoll1-ENV): Likewise.
34832         (test-strcasecmp-ENV): Likewise.
34833         (test-strncasecmp-ENV): Likewise.
34834         * time/Makefile (tst-strptime-ENV): Likewise.
34835         (tst-ftime_l-ENV): Likewise.
34836         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34837         (tst-mbrtowc-ENV): Likewise.
34838         (tst-wcrtomb-ENV): Likewise.
34839         (tst-mbrtowc2-ENV): Likewise.
34840         (tst-c16c32-1-ENV): Likewise.
34841         (tst-mbsnrtowcs-ENV): Likewise.
34843 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34845         * manual/resource.texi (How to get information about the memory
34846         subsystem?): Fix typo.
34847         Reported by Peon de la Parra Ivan <peon@keba.com>
34849 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34851         [BZ #16882]
34852         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34853         (pthread_spin_lock): Branch out of spin loop to proper location.
34854         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34855         (pthread_spin_lock): Likewise.
34857         * nptl/tst-spin4.c: New test.
34858         * nptl/Makefile (tests): Add tst-spin4.
34860 2014-06-03  Andreas Schwab  <schwab@suse.de>
34862         [BZ #15946]
34863         * resolv/res_send.c (send_dg): Reload file descriptor after
34864         calling reopen.
34866 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34868         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34870 2014-06-03  Richard Henderson  <rth@redhat.com>
34872         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34873         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34874         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34875         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34876         in the SAVE_PID block.
34877         (__libc_vfork): New alias.
34878         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34880         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34881         child in registers, not on the stack.  Remove RESET_PID conditionals.
34882         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34884 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34886         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34888 2014-06-03  Wilco  <wdijkstr@arm.com>
34890         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34891         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34892         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34893         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34894         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34895         Likewise.
34897 2014-06-03  Wilco  <wdijkstr@arm.com>
34899         * sysdeps/aarch64/fpu/math_private.h
34900         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34901         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34902         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34903         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34904         Fix declarations.
34906 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34908         * crypt/crypt-private.h: Include ufc-crypt.h.
34909         (__b64_from_24bit): Declare extern.
34910         * crypt/crypt_util.c(__b64_from_24bit): New function.
34911         (b64t): New static const variable.
34912         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34913         (b64t): Remove variable.
34914         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34915         * crypt/sha256-crypt.c: Include crypt-private.h.
34916         (b64t): Remove variable.
34917         (__sha256_crypt_r): Remove b64_from_24bit and replace
34918         with __b64_from_24bit.
34919         * crypt/sha512-crypt.c: Likewise.
34921 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34923         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34924         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34925         Label the code __libc_vfork rather than __vfork.
34926         [!NOT_IN_libc] (vfork): Define as weak alias.
34927         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34928         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34929         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34931 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34933         * malloc/malloc.c (malloc_info): Fix format specifier for
34934         n_mmaps.
34936 2014-06-02  Wilco  <wdijkstr@arm.com>
34938         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34939         FPCR write.
34941 2014-06-02  Wilco  <wdijkstr@arm.com>
34943         [BZ #17009]
34944         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34945         Rewrite to reduce FPCR/FPSR accesses.
34947 2014-06-01  David S. Miller  <davem@davemloft.net>
34949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34951 2014-05-31  David S. Miller  <davem@davemloft.net>
34953         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34954         to occur in round to nearest mode when |x| >= 2.0
34956 2014-05-30  Richard Henderson  <rth@twiddle.net>
34958         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34959         (PSEUDO_RET_NOERRNO): Remove.
34960         (ret): Don't redefine.
34961         (ret_NOERRNO): Define in terms of ret.
34962         (ret_ERRVAL): Likewise.
34964         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34965         use of PSEUDO_RET; perform the error check directly.
34967 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34969         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34970         with __int128_t.
34972 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34974         * malloc/malloc (malloc_info): Fix formatting.
34976 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34977             Roland McGrath  <roland@hack.frob.com>
34979         * malloc/malloc (malloc_info): Also print mmapped statistics.
34981 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34983         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34984         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34986 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34988         * malloc/malloc.c (malloc_info): Inline mi_arena.
34990 2014-05-29  Richard Henderson  <rth@twiddle.net>
34992         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34993         Remove comma before expanding ASM_ARGS_##nr.
34994         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34995         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34996         of ASM_ARGS_##nr.
34997         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34998         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34999         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35000         (ASM_ARGS_1): Add leading comma.
35002         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35003         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35004         to __errno_location.
35005         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35006         Remove the expected plt for __errno_location.
35008         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35009         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35010         call to __read_tp.
35012         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35013         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35014         it and break it down.
35015         (DOCARGS_0, DOCARGS_1): Do nothing.
35016         (DOCARGS_2): Update to store into the new stack frame.
35017         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35018         (UNDOCARGS_1): Update to restore from the new stack frame.
35019         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35020         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35022         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35023         (SINGLE_THREAD_P): New parameter for result regno.
35024         (PSEUDO): Update to match; use cbz instead of beq.
35026         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35027         Use ENTRY to define the _nocancel entry point.  Share the syscall
35028         and syscall error check paths with the cancel path.
35029         (PSEUDO_END): New.
35031         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35032         whitespace; tabs before and after asm mnemonics.
35034 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35036         [BZ #15132]
35037         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35038         Call fstat64 or stat64 internally, depending on arguments passed.
35039         Replace stat buffer argument with file descriptor argument.
35040         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35041         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35042         Pass fd to __internal_statvfs instead of calling fstat64.
35043         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35044         Pass fd to __internal_statvfs64 instead of calling fstat64.
35045         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35046         Pass -1 to __internal_statvfs instead of calling stat64.
35047         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35048         Pass -1 to __internal_statvfs64 instead of calling stat64.
35050 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35052         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35053         that was previously under [RESET_PID].
35054         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35056         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35057         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35059 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35061         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35063         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35064         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35066 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35068         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35070 2014-05-27  Andreas Schwab  <schwab@suse.de>
35072         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35073         TLS_INIT_TP macro.
35074         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35075         * elf/rtld.c (init_tls, dl_main): Likewise.
35076         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35077         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35078         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35079         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35080         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35081         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35082         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35083         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35084         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35085         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35086         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35087         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35088         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35089         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35090         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35091         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35092         * sysdeps/generic/tls.h: Update description.
35094 2014-05-27  Will Newton  <will.newton@linaro.org>
35096         [BZ #16990]
35097         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35098         and restore r2 rather than just restoring.
35100 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35102         [BZ #16724]
35103         * libio/tst-ftell-append.c: New test case.
35104         * libio/Makefile (tests): Add test case.
35105         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35106         append mode.
35107         * libio/wfileops.c (do_ftell_wide): Likewise.
35109 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35113         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35114         ...
35115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35117         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35118         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35119         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35120         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35121         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35122         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35124         Moved ...
35125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35127         Moved ...
35128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35129         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35130         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35131         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35132         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35133         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35134         ...
35135         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35136         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35137         Moved ...
35138         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35139         here.
35140         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35141         ...
35142         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35143         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35144         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35146         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35147         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35148         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35149         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35151         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35152         merge into ...
35153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35155         ...
35156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35158         ...
35159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35161         Moved ...
35162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35163         here.
35164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35165         Moved ...
35166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35167         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35168         Moved ...
35169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35172         conditional [RESET_PID].
35173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35174         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35175         removed.
35176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35177         removed.
35179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35180         <tcb-offsets.h>.
35181         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35182         (__libc_vfork): New strong alias.
35183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35184         removed.
35185         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35186         Removed.
35188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35189         <tcb-offsets.h>.
35190         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35191         (__libc_vfork): New strong alias.
35192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35193         removed.
35194         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35195         removed.
35197 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35199         * malloc/malloc.c (mi_arena): New function.
35200         (malloc_info): Remove nested function mi_arena. Call non-nosted
35201         function mi_arena.
35203 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35205         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35206         by insrwi.
35207         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35208         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35209         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35210         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35211         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35212         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35213         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35215 2014-05-26  Andreas Schwab  <schwab@suse.de>
35217         [BZ #16984]
35218         * locale/programs/repertoire.c (repertoire_read): Add slash
35219         between I18NPATH element and file name.
35220         * locale/programs/locfile.c (locfile_read): Likewise.
35222 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35224         * nptl/pthread_mutexattr_settype.c
35225         (__pthread_mutexattr_settype):
35226         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35228 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35230         * nptl/tst-mutex5 (do_test):
35231         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35233 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35235         * benchtests/README: Document 'init' directive.
35236         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35237         BENCH_INIT.
35238         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35239         (parse_file): Recognize 'init' directive.
35241 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35243         [BZ #16796]
35244         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35245         alignment of struct pthread.
35247 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35249         [BZ #16878]
35250         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35251         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35252         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35253         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35255 2014-05-25  Richard Henderson  <rth@twiddle.net>
35257         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35258         (SINGLE_THREAD_P_PIC): Remove.
35259         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35260         (SINGLE_THREAD_P_PIC): Remove.
35262         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35263         branch to syscall error ...
35264         (PSEUDO): ... here.
35265         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35266         from __local_syscall_error to .Lsyscall_error.
35267         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35268         (SYSCALL_ERROR): Update label name.
35270         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35271         Do not use DOARGS/UNDOARGS.
35272         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35273         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35274         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35275         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35276         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35278         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35279         block comment.
35281         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35282         define if !NOT_IN_libc.
35283         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35284         define with non-default symbol versions.
35286 2014-05-23  Richard Henderson  <rth@twiddle.net>
35288         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35289         (vfork, __vfork): Define via compat_symbol.
35291         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35292         [!HAVE_IFUNC] (vfork_compat): Remove.
35293         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35295 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35297         [BZ #16978]
35298         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35299         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35300         variable.
35302 2014-05-23  Richard Henderson  <rth@twiddle.net>
35304         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35305         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35306         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35307         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35309         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35310         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35311         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35312         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35313         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35314         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35315         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35316         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35317         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35318         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35319         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35320         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35321         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35322         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35323         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35324         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35325         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35326         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35327         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35328         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35329         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35330         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35331         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35332         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35333         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35334         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35335         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35336         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35337         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35338         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35339         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35340         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35341         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35342         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35343         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35344         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35345         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35346         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35347         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35348         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35349         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35350         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35351         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35352         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35353         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35354         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35355         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35356         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35357         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35358         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35359         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35360         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35361         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35362         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35363         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35364         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35366         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35367         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35368         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35369         before exiting on error.
35370         (__libc_vfork): New strong alias.
35371         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35372         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35374         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35375         that was previously under [RESET_PID].
35376         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35378         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35380 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35382         [BZ #16977]
35383         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35384         value when x - 1 is zero.
35385         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35386         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35387         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35388         0.0L for an argument of 1.0L.
35389         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35390         Likewise.
35391         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35392         value when x - 1 is zero.
35393         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35394         * sysdeps/i386/fpu/libm-test-ulps: Update.
35395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35397 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35399         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35400         alphasort and versionsort.
35402 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35404         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35405         macro.
35406         [copysignf]: Likewise.
35408 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35410         * crypt/md5-crypt.c: Fix formatting.
35412 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35414         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35415         (b64_from_24bit): New function.
35417 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35419         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35420         libc_hidden_builtin_def to ifunc.
35421         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35422         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35424 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35426         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35427         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35429 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35431         * nscd/Depend (linuxthreads): Remove.
35432         (nptl): Add.
35433         * resolv/Depend (linuxthreads): Remove.
35434         * rt/Depend (linuxthreads): Remove.
35436         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35437         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35438         $(common-objpfx)elf/.
35439         (link-libc-before-gnulib): Likewise.
35440         (elfobjdir): Remove variable.
35441         * Makefile (install): Use $(elf-objpfx) instead of
35442         $(common-objpfx)elf/.
35443         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35444         $(elfobjdir)/.
35445         (link-libc-deps): Likewise.
35446         ($(common-objpfx)libc.so): Likewise.
35447         ($(common-objpfx)linkobj/libc.so): Likewise.
35448         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35449         instead of $(common-objpfx)elf/.
35450         (symbolic-link-list): Likewise.
35451         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35452         [$(cross-compiling) = no]: Likewise.
35453         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35454         $(elfobjdir)/.
35455         (static-gnulib-arch): Likewise.
35456         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35457         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35458         $(common-objpfx)elf/.
35460 2014-05-21  Richard Henderson  <rth@redhat.com>
35462         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35463         (SINGLE_THREAD_P): Use the correct width load.  Fold
35464         into the ldr offset.
35466         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35467         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35469 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35471         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35472         (libgcc_s_resume): Use __attribute_used__.
35473         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35474         Likewise.
35476 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35478         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35479         optimization when used with float constants.
35481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35483 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35485         [BZ #16915]
35486         * locale/nl_langinfo_l.c: Make direct reference to every
35487         _nl_current_CATEGORY symbol.
35488         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35489         (tests-static): Add tst-langinfo-static.
35490         (tests-special): Add tst-langinfo-static.out.
35491         ($(objpfx)tst-langinfo.out): Redirect output.
35492         ($(objpfx)tst-langinfo-static.out): New.
35493         * localedata/tst-langinfo.sh: Send output to stdout.
35494         * localedata/tst-langinfo-static.c: New file.
35496         [BZ #16965]
35497         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35498         when the shift amount is modulo the limb size.
35500 2014-05-20  Richard Henderson  <rth@redhat.com>
35502         [BZ #16967]
35503         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35504         Change type of sa_flags from unsigned int to int.
35506         [BZ #16966]
35507         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35509         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35511 2014-05-20  Will Newton  <will.newton@linaro.org>
35513         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35514         Test the return value of the system call in the nocancel case.
35516 2014-05-20  Will Newton  <will.newton@linaro.org>
35517             Yvan Roux  <yvan.roux@linaro.org>
35519         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35520         #include of asm/ptrace.h.
35521         (PTRACE_GET_THREAD_AREA): Remove #undef.
35522         (PTRACE_GETHBPREGS): Likewise.
35523         (PTRACE_SETHBPREGS): Likewise.
35524         (struct user_regs_struct): New structure.
35525         (struct user_fpsimd_struct): New structure.
35526         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35527         #include of asm/ptrace.h and second #include of sys/user.h.
35528         (PTRACE_GET_THREAD_AREA): Remove #undef.
35529         (PTRACE_GETHBPREGS): Likewise.
35530         (PTRACE_SETHBPREGS): Likewise.
35531         (ELF_NGREG): Use new struct user_regs_struct.
35532         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35534 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35536         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35537         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35539 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35541         [BZ #16958]
35542         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35543         membar to avoid block loads/stores to overlap previous stores.
35545 2014-05-17  Richard Henderson  <rth@redhat.com>
35547         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35548         Create the __##syscall_name##_nocancel entry point.
35549         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35550         Remove; let the sysdep-cancel.h code create it.
35552 2014-05-17  David S. Miller  <davem@davemloft.net>
35554         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35555         Protect with __USE_GNU.
35556         (TIOCSET_TEMPT): Likewise.
35557         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35558         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35559         these are already provided in bits/ioctl-types.h
35561 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35563         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35564         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35566         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35567         Use wait4 regardless of [__NR_waitpid].
35569 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35571         PR libgcc/60166
35572         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35573         (_FP_NANSIGN_Q): Set the quiet bit.
35575 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35577         * benchtests/Makefile
35578         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35579         not $(common-objpfx)math/libm.so.
35580         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35581         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35582         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35583         $(common-objpfx)dlfcn/libdl.so.
35584         ($(objpfx)tst-audit8): Depend on $(libm), not
35585         $(common-objpfx)math/libm.so.
35586         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35587         not $(common-objpfx)dlfcn/libdl.so.
35588         * math/Makefile
35589         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35590         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35591         [$(build-shared) = yes].
35592         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35593         $(common-objpfx)nptl/libpthread.so.
35594         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35595         $(common-objpfx)math/libm.so$(libm.so-version) or
35596         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35597         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35598         $(common-objpfx)dlfcn/libdl.so.
35599         * setjmp/Makefile (link-libm): Remove variable.
35600         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35601         * stdio-common/Makefile (link-libm): Remove variable.
35602         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35603         * stdlib/Makefile (link-libm): Remove variable.
35604         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35605         ($(objpfx)tst-strtod-round): Likewise.
35606         ($(objpfx)tst-tininess): Likewise.
35607         ($(objpfx)tst-strtod-underflow): Likewise.
35608         ($(objpfx)tst-strtod6): Likewise.
35609         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35610         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35611         $(common-objpfx)dlfcn/libdl.so.
35613 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35615         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35616         BSD terminal modes definitions.
35618 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35620         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35621         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35623         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35624         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35625         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35626         Don't do #include_next.
35627         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35628         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35629         Don't do #include_next.
35630         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35631         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35632         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35633         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35635 2014-05-16  Allan McRae  <allan@archlinux.org>
35637         * po/sv.po: Update Swedish translation from translation project.
35639         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35640         in sed expression.
35642 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35644         [BZ #16917]
35645         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35646         errno if the TIOCGPTN ioctl fails with an error different than
35647         EINVAL.
35648         * login/tst-ptsname.c: New file.
35649         * login/Makefile (tests): Add tst-ptsname.
35651         [BZ #16943]
35652         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35653         and prlimit64.
35655 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35657         [BZ #16849]
35658         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35659         herrno to return EAI_AGAIN.
35661 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35663         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35664         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35665         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35666         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35667         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35668         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35669         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35670         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35671         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35672         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35673         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35674         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35675         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35676         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35677         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35678         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35679         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35680         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35681         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35682         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35683         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35684         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35685         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35686         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35687         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35688         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35689         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35690         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35691         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35692         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35694         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35696         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35698         Moved ...
35699         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35701         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35703         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35705         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35707         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35709         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35711         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35713         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35715         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35717         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35719         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35721         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35723         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35725         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35727         Moved ...
35728         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35730         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35732         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35734         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35736         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35738         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35740         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35742         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35744         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35746         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35748         Moved ...
35749         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35751         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35753         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35754         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35755         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35756         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35757         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35758         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35759         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35760         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35761         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35762         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35763         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35764         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35765         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35766         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35767         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35768         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35769         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35770         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35771         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35772         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35773         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35774         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35775         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35776         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35777         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35778         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35779         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35780         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35781         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35782         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35783         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35785         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35786         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35788         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35789         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35790         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35791         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35792         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35793         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35794         Moved ...
35795         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35796         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35797         Moved ...
35798         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35799         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35800         Moved ...
35801         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35802         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35803         Moved ...
35804         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35805         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35806         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35807         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35808         Moved ...
35809         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35810         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35811         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35812         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35813         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35814         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35815         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35816         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35817         Moved ...
35818         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35819         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35820         Moved ...
35821         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35822         ... here.
35823         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35824         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35825         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35826         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35827         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35828         Moved ...
35829         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35830         ... here.
35831         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35832         Moved ...
35833         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35834         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35835         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35836         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35837         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35838         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35839         Moved ...
35840         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35841         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35842         Moved ...
35843         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35844         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35845         Moved ...
35846         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35847         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35848         Moved ...
35849         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35850         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35851         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35852         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35853         Moved ...
35854         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35855         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35856         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35857         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35858         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35859         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35860         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35861         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35862         Moved ...
35863         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35864         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35865         Moved ...
35866         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35867         ... here.
35868         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35869         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35870         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35871         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35872         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35873         Moved ...
35874         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35875         ... here.
35876         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35877         Moved ...
35878         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35879         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35880         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35881         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35882         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35883         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35884         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35885         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35886         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35887         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35888         Moved ...
35889         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35890         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35891         Moved ...
35892         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35893         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35894         Moved ...
35895         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35896         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35897         Moved ...
35898         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35899         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35900         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35901         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35902         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35903         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35904         Moved ...
35905         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35906         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35907         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35908         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35909         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35910         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35911         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35912         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35913         Moved ...
35914         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35915         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35916         Moved ...
35917         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35918         ... here.
35919         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35920         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35921         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35922         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35923         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35924         Moved ...
35925         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35926         ... here.
35927         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35928         Moved ...
35929         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35930         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35931         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35932         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35933         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35934         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35935         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35936         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35937         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35938         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35939         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35941         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35942         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35944         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35945         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35947         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35948         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35949         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35950         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35951         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35952         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35953         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35954         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35955         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35956         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35957         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35958         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35959         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35960         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35961         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35962         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35963         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35964         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35965         Moved ...
35966         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35967         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35968         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35969         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35970         Moved ...
35971         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35972         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35973         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35974         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35975         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35976         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35977         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35978         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35979         Moved ...
35980         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35981         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35982         Moved ...
35983         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35985         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35986         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35987         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35988         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35989         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35990         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35991         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35992         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35993         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35994         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35995         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35996         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35997         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35998         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35999         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36001         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36002         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36003         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36004         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36005         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36007         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36008         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36009         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36010         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36011         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36012         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36013         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36014         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36015         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36016         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36018         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36019         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36021         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36022         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36023         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36024         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36025         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36026         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36027         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36028         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36029         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36030         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36031         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36032         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36033         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36034         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36036         Update #include.
36037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36038         Likewise.
36039         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36040         Likewise.
36041         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36042         Likewise.
36043         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36044         Likewise.
36045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36046         Likewise.
36047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36048         Likewise.
36049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36050         Likewise.
36051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36052         Likewise.
36053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36054         Likewise.
36055         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36057         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36059         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36060         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36061         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36062         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36063         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36064         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36065         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36066         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36067         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36068         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36069         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36071         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36072         that was previously under [RESET_PID].
36073         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36074         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36075         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36077         * sysdeps/i386/nptl/Implies: New file.
36078         * sysdeps/x86_64/nptl/Implies: New file.
36079         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36080         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36081         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36082         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36084         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36085         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36086         (__libc_vfork): New strong alias.
36087         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36088         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36090         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36091         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36092         (__libc_vfork): New strong alias.
36093         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36094         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36096         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36097         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36098         (__libc_vfork): New strong alias.
36099         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36100         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36101         * nptl/pt-vfork.c: New file.
36102         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36103         (libpthread: GLIBC_2.20): New version set (empty).
36105 2014-05-14  Will Newton  <will.newton@linaro.org>
36107         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36108         rather than #if.
36110 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36112         [BZ #16564]
36113         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36114         arguments with exponent 65 or above.
36115         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36116         arguments 0x1p113L or above.
36117         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36118         to arguments 0x1p107L or above.
36119         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36120         positive arguments with exponent 65 or above.
36121         * math/auto-libm-test-in: Add more tests of log1p.
36122         * math/auto-libm-test-out: Regenerated.
36124         [BZ #16928]
36125         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36126         non-finite arguments is +0.
36127         * math/s_cacosf.c (__cacosf): Likewise.
36128         * math/s_cacosl.c (__cacosl): Likewise.
36129         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36130         * sysdeps/i386/fpu/libm-test-ulps: Update.
36131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36133         [BZ #16927]
36134         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36135         value.
36136         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36137         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36138         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36139         for explicit high bit of mantissa when testing for argument equal
36140         to 1.
36141         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36142         * sysdeps/i386/fpu/libm-test-ulps: Update.
36143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36145         [BZ #16516]
36146         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36147         (__erf): Scale by 16 instead of 8 in potentially underflowing
36148         case.  Ensure exception if result actually underflows.
36149         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36150         (__erff): Scale by 16 instead of 8 in potentially underflowing
36151         case.  Ensure exception if result actually underflows.
36152         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36153         (efx8): Remove variable.
36154         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36155         case.  Ensure exception if result actually underflows.
36156         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36157         (efx8): Remove variable.
36158         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36159         case.  Ensure exception if result actually underflows.
36160         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36161         (efx8): Remove variable.
36162         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36163         case.  Ensure exception if result actually underflows.
36164         * math/auto-libm-test-in: Add more tests of erf.
36165         * math/auto-libm-test-out: Regenerated.
36167 2014-05-14  Andreas Schwab  <schwab@suse.de>
36169         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36170         Remove code conditionalized on USE___THREAD.
36172         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36173         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36174         not definedness.
36176 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36178         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36179         Define unconditionally.
36180         (__ASSUME_O_CLOEXEC): Likewise.
36181         (__ASSUME_SOCK_CLOEXEC): Likewise.
36182         (__ASSUME_IN_NONBLOCK): Likewise.
36183         (__ASSUME_PIPE2): Likewise.
36184         (__ASSUME_EVENTFD2): Likewise.
36185         (__ASSUME_SIGNALFD4): Likewise.
36186         (__ASSUME_DUP3): Likewise.
36187         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36188         (__ASSUME_DUP3): Do not define.
36189         (__ASSUME_EVENTFD2): Likewise.
36190         (__ASSUME_IN_NONBLOCK): Likewise.
36191         (__ASSUME_O_CLOEXEC): Likewise.
36192         (__ASSUME_PIPE2): Likewise.
36193         (__ASSUME_SIGNALFD4): Likewise.
36194         (__ASSUME_SOCK_CLOEXEC): Likewise.
36195         (__ASSUME_UTIMES): Undefine.
36196         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36197         (__ASSUME_UTIMES): Do not define.
36198         (__ASSUME_O_CLOEXEC): Likewise.
36199         (__ASSUME_SOCK_CLOEXEC): Likewise.
36200         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36201         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36202         0x020621].
36203         (__ASSUME_PIPE2): Likewise.
36204         (__ASSUME_EVENTFD2): Likewise.
36205         (__ASSUME_SIGNALFD4): Likewise.
36206         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36207         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36208         Do not define.
36209         (__ASSUME_EVENTFD2): Likewise.
36210         (__ASSUME_SIGNALFD4): Likewise.
36211         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36212         (__ASSUME_32BITUIDS): Likewise.
36213         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36214         (__ASSUME_IPC64): Likewise.
36215         (__ASSUME_ST_INO_64_BIT): Likewise.
36216         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36217         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36218         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36219         (__ASSUME_UTIMES): Do not define.
36220         (__ASSUME_PSELECT): Likewise.
36221         (__ASSUME_PPOLL): Likewise.
36222         (__ASSUME_O_CLOEXEC): Likewise.
36223         (__ASSUME_SOCK_CLOEXEC): Likewise.
36224         (__ASSUME_IN_NONBLOCK): Likewise.
36225         (__ASSUME_PIPE2): Likewise.
36226         (__ASSUME_EVENTFD2): Likewise.
36227         (__ASSUME_SIGNALFD4): Likewise.
36228         (__ASSUME_DUP3): Likewise.
36229         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36230         (__ASSUME_UTIMES): Likewise.
36231         (__ASSUME_O_CLOEXEC): Likewise.
36232         (__ASSUME_SOCK_CLOEXEC): Likewise.
36233         (__ASSUME_IN_NONBLOCK): Likewise.
36234         (__ASSUME_PIPE2): Likewise.
36235         (__ASSUME_EVENTFD2): Likewise.
36236         (__ASSUME_SIGNALFD4): Likewise.
36237         (__ASSUME_DUP3): Likewise.
36238         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36239         (__ASSUME_UTIMES): Likewise.
36240         (__ASSUME_O_CLOEXEC): Likewise.
36241         (__ASSUME_SOCK_CLOEXEC): Likewise.
36242         (__ASSUME_IN_NONBLOCK): Likewise.
36243         (__ASSUME_PIPE2): Likewise.
36244         (__ASSUME_EVENTFD2): Likewise.
36245         (__ASSUME_SIGNALFD4): Likewise.
36246         (__ASSUME_DUP3): Likewise.
36247         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36248         Likewise.
36249         (__ASSUME_UTIMES): Likewise.
36250         (__ASSUME_EVENTFD2): Likewise.
36251         (__ASSUME_SIGNALFD4): Likewise.
36252         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36253         (__ASSUME_O_CLOEXEC): Likewise.
36254         (__ASSUME_SOCK_CLOEXEC): Likewise.
36255         (__ASSUME_IN_NONBLOCK): Likewise.
36256         (__ASSUME_PIPE2): Likewise.
36257         (__ASSUME_EVENTFD2): Likewise.
36258         (__ASSUME_SIGNALFD4): Likewise.
36259         (__ASSUME_DUP3): Likewise.
36260         (__ASSUME_UTIMES): Undefine.
36262         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36263         feclearexcept.  Remove symbol versioning code.
36264         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36265         symbol versioning code.
36266         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36267         symbol versioning code.
36268         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36269         feupdateenv.  Remove symbol versioning code.
36270         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36271         fegetexceptflag.  Remove symbol versioning code.
36272         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36273         fesetexceptflag.  Remove symbol versioning code.
36274         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36275         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36276         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36277         (__posix_fadvise64_l32): Remove prototype.
36278         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36279         code.
36281 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36283         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36284         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36285         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36286         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36288 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36290         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36291         current working directory
36293 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36295         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36296         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36297         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36298         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36299         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36300         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36301         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36302         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36303         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36304         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36305         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36306         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36307         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36308         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36309         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36310         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36311         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36312         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36313         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36314         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36315         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36316         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36317         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36318         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36319         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36320         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36321         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36322         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36323         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36324         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36325         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36326         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36327         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36328         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36329         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36330         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36331         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36332         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36333         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36334         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36335         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36336         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36338         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36339         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36341         * sysdeps/unix/sysv/linux/arm/Makefile
36342         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36343         Add rt-aeabi_unwind_cpp_pr1.
36344         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36345         Add nptl-aeabi_unwind_cpp_pr1.
36346         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36347         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36348         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36349         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36350         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36351         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36353         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36354         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36355         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36356         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36358         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36359         Deconditionalize the code that was previously under [RESET_PID].
36360         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36362         * sysdeps/generic/exit-thread.h: New file.
36363         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36364         * include/unistd.h (__exit_thread): Remove declaration.
36365         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36366         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36367         * csu/libc-start.c: Include <exit-thread.h>.
36368         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36369         * nptl/pthread_create.c: Include <exit-thread.h>.
36370         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36371         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36372         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36373         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36374         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36375         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36376         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36377         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36378         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36379         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36380         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36381         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36382         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36383         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36384         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36385         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36386         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36388 2014-05-13  Andreas Schwab  <schwab@suse.de>
36390         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36392 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36394         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36395         (__ASSUME_UTIMES): Do not condition on kernel version.
36396         (__ASSUME_PSELECT): Define unconditionally.
36397         (__ASSUME_PPOLL): Likewise.
36398         (__ASSUME_ATFCTS): Likewise.
36399         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36400         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36401         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36402         (__ASSUME_UTIMENSAT): Define unconditionally.
36403         (__ASSUME_PRIVATE_FUTEX): Likewise.
36404         (__ASSUME_FALLOCATE): Likewise.
36405         (__ASSUME_O_CLOEXEC): Likewise.
36406         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36407         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36408         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36409         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36410         (__ASSUME_IN_NONBLOCK): Likewise.
36411         (__ASSUME_PIPE2): Likewise.
36412         (__ASSUME_EVENTFD2): Likewise.
36413         (__ASSUME_SIGNALFD4): Likewise.
36414         (__ASSUME_DUP3): Likewise.
36415         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36416         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36417         (__ASSUME_AT_RANDOM): Likewise.
36418         (__ASSUME_PREADV): Likewise.
36419         (__ASSUME_PWRITEV): Likewise.
36420         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36421         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36422         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36423         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36424         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36425         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36426         (__ASSUME_O_CLOEXEC): Define unconditionally.
36427         (__ASSUME_PSELECT): Do not undefine conditionally.
36428         (__ASSUME_PPOLL): Likewise.
36429         (__ASSUME_ATFCTS): Likewise.
36430         (__ASSUME_SET_ROBUST_LIST): Likewise.
36431         (__ASSUME_UTIMENSAT): Likewise.
36432         (__ASSUME_FDATASYNC): Define unconditionally.
36433         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36434         (__ASSUME_SIGFRAME_V2): Likewise.
36435         )__ASSUME_EVENTFD2): Likewise.
36436         (__ASSUME_SIGNALFD4): Likewise.
36437         (__ASSUME_PSELECT): Do not undefine conditionally.
36438         (__ASSUME_PPOLL): Likewise.
36439         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36440         (__ASSUME_PSELECT): Define unconditionally.
36441         (__ASSUME_PPOLL): Likewise.
36442         (__ASSUME_O_CLOEXEC): Likewise.
36443         (__ASSUME_SOCK_CLOEXEC): Likewise.
36444         (__ASSUME_IN_NONBLOCK): Likewise.
36445         (__ASSUME_PIPE2): Likewise.
36446         (__ASSUME_EVENTFD2): Likewise.
36447         (__ASSUME_SIGNALFD4): Likewise.
36448         (__ASSUME_DUP3): Likewise.
36449         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36450         (__ASSUME_O_CLOEXEC): Likewise.
36451         (__ASSUME_SOCK_CLOEXEC): Likewise.
36452         (__ASSUME_IN_NONBLOCK): Likewise.
36453         (__ASSUME_PIPE2): Likewise.
36454         (__ASSUME_EVENTFD2): Likewise.
36455         (__ASSUME_SIGNALFD4): Likewise.
36456         (__ASSUME_DUP3): Likewise.
36457         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36458         (__ASSUME_EVENTFD2): Likewise.
36459         (__ASSUME_SIGNALFD4): Likewise.
36460         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36462 2014-05-12  Andreas Schwab  <schwab@suse.de>
36464         [BZ #16932]
36465         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36466         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36467         than maximum RPC packet size.
36468         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36469         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36470         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36471         (_nss_nis_getservbyport_r): Likewise.
36473 2014-05-12  Will Newton  <will.newton@linaro.org>
36475         * malloc/Makefile (tests): Add tst-mallopt.
36476         * malloc/tst-mallopt.c: New file.
36478 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36480         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36481         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36483 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36485         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36486         (tst-tlsmod6.so): Likewise.
36488 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36490         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36492 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36494         [BZ #16064]
36495         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36496         and <dl-procinfo.h>.
36497         (__fegetenv): Save SSE state in envp->__eip if supported.
36498         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36499         envp->__eip if supported.
36500         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36501         and <dl-procinfo.h>.
36502         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36503         __data_offset and __data_selector in environment to 0.  Set SSE
36504         state if supported.
36505         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36506         test-fenv-sse.
36507         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36508         -mfpmath=sse.
36509         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36511 2014-05-09  Will Newton  <will.newton@linaro.org>
36513         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36514         and libc_relro_required for ARM.
36515         * sysdeps/arm/preconfigure: Regenerate.
36517 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36518             Stefan Liebler  <stli@linux.vnet.ibm.com>
36520         * config.make.in (enable-lock-elision): New Makefile variable.
36521         * configure.ac: Likewise.
36522         * configure: Regenerate.
36523         * sysdeps/s390/configure.ac:
36524         Add check for gcc transactions support.
36525         * sysdeps/s390/configure: Regenerate.
36526         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36527         Build elision files if enabled.
36528         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36529         Add lock elision support for s390.
36530         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36531         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36532         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36533         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36534         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36535         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36536         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36537         Likewise.
36538         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36539         Likewise.
36540         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36541         Likewise.
36542         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36543         Likewise.
36544         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36545         (__lll_timedlock_elision, __lll_lock_elision)
36546         (__lll_unlock_elision, __lll_trylock_elision)
36547         (lll_timedlock_elision, lll_lock_elision)
36548         (lll_unlock_elision, lll_trylock_elision): Add.
36549         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36550         (pthread_mutex_t): Add lock elision support for s390.
36552 2014-05-14  Wilco  <wdijkstr@arm.com>
36554         * sysdeps/arm/fclrexcpt.c: Cleanup.
36555         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36556         * sysdeps/arm/feenablxcpt.c: Cleanup.
36557         * sysdeps/arm/fegetenv.c: Cleanup.
36558         * sysdeps/arm/fegetexcept.c: Cleanup.
36559         * sysdeps/arm/fegetround.c: Cleanup.
36560         * sysdeps/arm/feholdexcpt.c: Cleanup.
36561         * sysdeps/arm/fesetenv.c: Cleanup.
36562         * sysdeps/arm/fesetround.c: Cleanup.
36563         * sysdeps/arm/feupdateenv.c: Cleanup.
36564         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36565         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36566         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36567         * sysdeps/arm/ftestexcept.c: Cleanup.
36568         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36569         * sysdeps/arm/setfpucw.c: Cleanup.
36571 2014-05-09  Will Newton  <will.newton@linaro.org>
36573         * sysdeps/arm/armv7/strcmp.S: New file.
36574         * NEWS: Mention addition of ARMv7 optimized strcmp.
36576 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36578         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36579         look for %.ac rather than %.in.
36581         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36582         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36583         * sysdeps/mach/hurd/configure: Regenerated.
36584         * sysdeps/unix/sysv/linux/configure: Regenerated.
36586         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36588 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36590         [BZ# 16922]
36591         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36592         (LONG_SUB): Ditto.
36593         (PTR_SUB): Ditto.
36595 2014-05-07  Andreas Schwab  <schwab@suse.de>
36597         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36598         when skipping over non-matching result from nscd.
36600 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36602         [BZ #16876]
36603         * nptl/sockperf.c (client): Check socket return value.
36605         [BZ #16877]
36606         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36607         nscd security class.
36609 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36611         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36612         * sysdeps/arm/unwind.h: ... here.
36614 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36616         [BZ# 16916]
36617         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36618         Define.
36620 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36622         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36623         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36624         multiarch strncpy for PPC64.
36625         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36626         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36628         multiarch optimizations.
36629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36630         (__libc_ifunc_impl_list): Likewise.
36631         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36632         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36633         multiarch stpncpy for PPC64.
36634         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36635         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36637 2014-05-06  Andreas Schwab  <schwab@suse.de>
36639         [BZ #16912]
36640         * gmon/mcount.c (_MCOUNT_DECL): Use
36641         atomic_compare_and_exchange_bool_acq instead of
36642         catomic_compare_and_exchange_bool_acq.
36644 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36646         * elf/Makefile (others, install-bin): Remove pldd.
36647         (pldd-modules): Variable removed.
36648         ($(objpfx)pldd): Target removed.
36649         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36650         (others, install-bin): Append pldd here.
36651         ($(objpfx)pldd): New target.
36653         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36654         to 0, so the first #if test emitted later doesn't see it undefined.
36655         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36656         * sysdeps/gnu/errlist.c: Regenerated.
36658 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36660         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36661         [libc_hidden_builtin_def]: Define to empty value.
36662         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36663         [libc_hidden_builtin_def]: Likewise.
36664         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36665         [libc_hidden_builtin_def]: Likewise.
36666         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36667         [libc_hidden_builtin_def]: Likewise.
36668         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36669         __redirect_memcpy and define ifunc as default hidden symbol.
36670         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36671         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36673 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36675         * locale/iso-4217.def: Reintroduce XDR currency.
36677 2014-05-04  Allan McRae  <allan@archlinux.org>
36679         * po/eo.po: Update Esperanto translation from translation project.
36681 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36683         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36684         and FEATURE_INDEX_MAX to 1.
36685         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36687 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36689         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36690         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36691         * iconvdata/big5.c (ONE_DIRECTION): Define.
36692         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36693         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36694         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36695         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36696         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36697         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36698         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36699         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36700         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36701         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36702         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36703         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36704         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36705         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36706         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36707         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36708         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36709         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36710         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36711         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36712         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36713         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36714         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36715         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36716         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36717         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36718         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36719         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36720         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36721         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36722         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36723         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36724         * iconvdata/johab.c (ONE_DIRECTION): Define.
36725         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36726         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36727         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36728         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36729         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36730         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36731         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36732         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36733         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36734         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36736 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36738         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36739         (_IO_JUMPS_OFFSET): Define to 0.
36741         * nptl/sysdeps/pthread/bits/libc-lock.h
36742         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36743         (__libc_lock_define_initialized_recursive): Always define using
36744         initializer.  Modern compilers treat uninitialized (implicit zero) and
36745         explicit zero initializers the same (i.e. put the datum in bss).
36747 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36749         * nscd/nscd-client.h: Include <string.h>.
36751 2014-05-01  David S. Miller  <davem@davemloft.net>
36753         [BZ #16885]
36754         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36755         multiple zero bytes exist at the end of a string.
36756         Reported by Aurelien Jarno <aurelien@aurel32.net>
36758         * string/test-strcmp.c (check): Add explicit test for situations where
36759         there are multiple zero bytes after the first.
36761 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36763         [BZ #16890]
36764         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36765         when compiling wprintf.
36766         * stdio-common/tstdiomisc.c (t3): New function.
36767         (main): Call it.
36769 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36771         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36772         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36773         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36774         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36776 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36778         * stdlib/longlong.h: Updated from GCC.
36780 2014-05-01  Will Newton  <will.newton@linaro.org>
36781             Bernard Ogden  <bernie.ogden@linaro.org>
36783         * NEWS: Update fixed bug list.
36785         [BZ #15119]
36786         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36788 2014-04-30  David S. Miller  <davem@davemloft.net>
36790         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36791         (libc_feholdexcept_setround_sparc_ctx): New function.
36792         (libc_fesetenv_sparc_ctx): Likewise.
36793         (libc_feupdateenv_sparc_ctx): Likewise.
36794         (libc_feholdsetround_sparc_ctx): Likewise.
36795         (libc_feholdexcept_setround_ctx): Define.
36796         (libc_feholdexcept_setroundf_ctx): Likewise.
36797         (libc_feholdexcept_setroundl_ctx): Likewise.
36798         (libc_fesetenv_ctx): Likewise.
36799         (libc_fesetenvf_ctx): Likewise.
36800         (libc_fesetenvl_ctx): Likewise.
36801         (libc_feupdateenv_ctx): Likewise.
36802         (libc_feupdateenvf_ctx): Likewise.
36803         (libc_feupdateenvl_ctx): Likewise.
36804         (libc_feresetround_ctx): Likewise.
36805         (libc_feresetroundf_ctx): Likewise.
36806         (libc_feresetroundl_ctx): Likewise.
36807         (libc_feholdsetround_ctx): Likewise.
36808         (libc_feholdsetroundf_ctx): Likewise.
36809         (libc_feholdsetroundl_ctx): Likewise.
36811         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36812         with __USE_GNU instead of XOPEN cpp guards.
36814         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36815         0.
36817         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36818         with XOPEN cpp guards.
36820 2014-04-30  Julian Brown  <julian@codesourcery.com>
36822         [BZ #16888]
36823         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36824         handling.
36826 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36828         [BZ #9894]
36829         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36830         Change to 2.6.32.
36831         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36832         * sysdeps/unix/sysv/linux/configure: Regenerated.
36833         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36834         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36835         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36836         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36837         * README: Update reference to required Linux kernel version.
36838         * manual/install.texi (Linux): Update reference to required Linux
36839         kernel headers version.
36840         * INSTALL: Regenerated.
36842         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36843         header inclusion.
36844         [POSIX] (limits.h): Likewise.
36845         [POSIX] (math.h): Likewise.
36846         [POSIX] (sys/wait.h): Likewise.
36847         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36848         function.
36849         [POSIX] (stddef.h): Do not allow header inclusion.
36851 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36853         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36855 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36857         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36858         Return immediately after lll_futex_wake.
36860 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36862         [BZ #16791]
36863         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36864         structure.
36865         (datahead_init_pos): Call datahead_init_common early.
36866         (datahead_init_neg): Likewise.
36868         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36869         datahead_init_neg): New functions.
36870         * nscd/aicache.c (addhstaiX): Use them.
36871         * nscd/grpcache.c (cache_addgr): Likewise.
36872         * nscd/hstcache.c (cache_addhst): Likewise.
36873         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36874         * nscd/netgroupcache.c (do_notfound): Likewise.
36875         (addgetnetgrentX): Likewise.
36876         (addinnetgrX): Likewise.
36877         * nscd/pwdcache.c (cache_addpw): Likewise.
36878         * nscd/servicescache.c (cache_addserv): Likewise.
36880 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36881             Atsushi Onoe  <atsushi@onoe.org>
36883         [BZ #14308]
36884         [BZ #12994]
36885         [BZ #13651]
36886         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36887         one response is valid.
36888         * resolv/res_send.c (send_dg): Check for validity of other
36889         response if the current response is a referral.
36891 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36893         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36895 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36897         [BZ #16823]
36898         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36899         Always divide by positive zero when computing -Inf result.
36900         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36901         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36903 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36905         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36906         FPSCR if value do not change.
36907         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36908         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36909         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36910         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36911         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36912         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36913         function.
36915 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36917         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36918         * sysdeps/unix/sysv/linux/hppa: Move directory from
36919         ports/systeps/unix/sysv/linux/hppa.
36920         * README: Update listing for hppa-*-linux-gnu.
36922 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36924         [BZ #16754]
36925         * manual/stdio.texi (Hook functions): Fix types of stream hook
36926         functions.
36927         [BZ #16854]
36928         * socket/sys/socket.h: Fix typo in comment.
36930 2014-04-28  Wilco  <wdijkstr@arm.com>
36932         * sysdeps/arm/fenv_private.h: New file.
36933         * sysdeps/arm/math_private.h: New file.
36934         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36936 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36938         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36939         with __int128_t.
36940         (La_x86_64_retval): Likewise.
36942 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36944         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36945         fpsr if value didn't change.
36946         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36947         to fpcr if value didn't change.
36948         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36949         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36950         fpsr or fpcr if value didn't change.
36951         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36952         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36953         fpcr if value didn't change.
36954         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36955         to fpsr if value didn't change.
36957 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36959         * nptl/tst-sem3.c: Use test-skeleton.c
36960         (main): Rename to do_test.  Use return instead of
36961         exit.
36962         * nptl/tst-sem4.c: Use test-skeleton.c
36963         (main): Rename to do_test.
36965 2014-04-22  David S. Miller  <davem@davemloft.net>
36967         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36968         (struct sigaction): New struct member __glibc_reserved0, change
36969         type of sa_flags to int.
36971 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36973         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36974         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36976 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36978         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36979         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36981 2014-04-22  Will Newton  <will.newton@linaro.org>
36982             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36984         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36985         (__longjmp): Add longjmp and longjmp_target SystemTap
36986         probes.
36987         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36988         (__sigsetjmp): Add setjmp SystemTap probe.
36990 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36992         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36993         match manual order.
36995 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36997         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36999         * sysdeps/powerpc/fpu/fenv_private.h
37000         (libc_feholdexcept_setroundl_ctx): Define to
37001         libc_feholdexcept_setround_ppc_ctx.
37002         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37003         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37004         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37005         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37007 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37009         * sysdeps/aarch64/math-tests.h: New file.
37011 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37013         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37014         New.
37015         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37016         Check and set bit_AVX2_Usable.
37017         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37018         macro.
37019         (bit_AVX2): Likewise.
37020         (index_AVX2_Usable): Likewise.
37021         (CPUID_AVX2): Likewise.
37022         (HAS_AVX2): Likewise.
37024 2014-04-17  Will Newton  <will.newton@linaro.org>
37026         * manual/setjmp.texi (System V contexts): Add note that
37027         calling setcontext on a context created by a call to a
37028         signal handler is undefined.  Update text to note that
37029         setcontext from a signal handler is possible but not
37030         recommended.
37032         [BZ #16629]
37033         * stdlib/tst-setcontext.c: Include signal.h.
37034         (main): Check that the signal stack before and
37035         after swapcontext is the same.
37037         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37038         Re-implement to restore registers in user code and avoid
37039         rt_sigreturn system call.
37041 2014-04-17  Wilco  <wdijkstr@arm.com>
37043         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37044         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37045         * math/test-fenv.c: Skip exception trap tests on targets which only
37046         support non-stop mode.
37048 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37049             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37051         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37052         (libc_feholdsetround_aarch64_ctx)
37053         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37054         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37055         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37056         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37057         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37058         (libc_feresetround_noexl_ctx): Define.
37060 2014-04-16  Richard Henderson  <rth@redhat.com>
37062         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37064         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37065         unwind tables.
37067         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37068         const from the non-libc, non-ldso copy.
37070         * sysdeps/alpha/libm-test-ulps: Regenerate.
37072 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37073             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37075         * sysdeps/aarch64/fpu/math_private.h: New file.
37077 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37079         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37081 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37083         [BZ #16275]
37084         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37085         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37086         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37087         Intel MPX bound registers before _dl_profile_fixup.
37088         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37089         registers after _dl_profile_fixup.  Save and restore bound
37090         registers bnd0/bnd1 when calling _dl_call_pltexit.
37091         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37092         (LR_BND_OFFSET): Likewise.
37093         (LRV_BND0_OFFSET): Likewise.
37094         (LRV_BND1_OFFSET): Likewise.
37096 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37098         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37099         to...
37100         * sysdeps/mach/hurd/i386/tls.h: ... here.
37101         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37102         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37103         fields.
37105 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37107         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37109 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37111         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37113 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37115         [BZ #14770]
37116         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37117         * sysdeps/s390/configure: Regenerate.
37119         [BZ #16824]
37120         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37121         Set round-to-nearest internally to reduce error accumulation.
37123 2014-04-16  Alan Modra  <amodra@gmail.com>
37125         [BZ #16740]
37126         [BZ #16619]
37127         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37128         * math/libm-test.inc (frexp_test_data): Add tests.
37129         * NEWS: Update fixed bug list.
37131 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37133         * benchtests/Makefile: Depend on libraries in build directory.
37134         (bench-math): Separate out math tests.
37135         (bench-pthread): Separate out pthread tests.
37136         (bench): Include math and pthread tests.
37138 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37140         [BZ #16831]
37141         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37142         _dl_debug_initialize.
37144         * configure.ac: Remove SELinux header check.
37145         * configure: Regenerate.
37146         * nscd/selinux.c (perms): Array of const char* to permission names.
37147         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37148         default policy. Call string_to_security_class and string_to_av_perm to
37149         translate strings. Enforce default policy and call avs_has_perm with
37150         results of translated strings.
37152 2014-04-13  David S. Miller  <davem@davemloft.net>
37154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37156 2014-04-12  Allan McRae  <allan@archlinux.org>
37158         [BZ #16838]
37159         * manual/string.texi (Collation Functions): Fix qsort argument
37160         order in example.
37161         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37163 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37165         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37166         Make the test a no-op if there are no exceptions defined.
37168 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37170         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37171         enable-hardcoded-path-in-tests
37173 2014-04-11  Will Newton  <will.newton@linaro.org>
37175         * benchtests/Makefile (extra-objs): Add json-lib.o.
37176         (bench-func): Tidy up JSON output.
37177         * benchtests/bench-skeleton.c: Include json-lib.h.
37178         (main): Use JSON library functions to do output of
37179         benchmark results.
37180         * benchtests/bench-timing-type.c (main): Output the
37181         timing type simply, leaving formatting to the user.
37182         * benchtests/json-lib.c: New file.
37183         * benchtests/json-lib.h: Likewise.
37185 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37187         [BZ #15215]
37188         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37189         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37190         memory barriers.  Add comments.
37191         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37192         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37193         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37194         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37195         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37196         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37198 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37200         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37201         * sysdeps/s390/s390-64/configure.ac: ... this ...
37202         * sysdeps/s390/configure.ac: ... to here.
37203         * sysdeps/s390/s390-32/configure: Delete file.
37204         * sysdeps/s390/s390-64/configure: Delete file.
37205         * sysdeps/s390/configure: Regenerate.
37207 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37209         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37211 2014-04-11  Will Newton  <will.newton@linaro.org>
37213         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37214         to zero if it is not defined elsewhere.  (mtrim): Test
37215         the value of MALLOC_DEBUG with #if rather than #ifdef.
37217 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37219         * benchtests/pthread_once-inputs: New file.
37220         * benchtests/pthread_once-source.c: New file.
37221         * benchtests/README: Update documentation.
37223 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37224             H.J. Lu  <hongjiu.lu@intel.com>
37226         [BZ #16275]
37227         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37228         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37229         * sysdeps/x86_64/configure: Regenerated.
37230         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37231         macro.
37232         (REGISTER_SAVE_RAX): Likewise.
37233         (REGISTER_SAVE_RCX): Likewise.
37234         (REGISTER_SAVE_RDX): Likewise.
37235         (REGISTER_SAVE_RSI): Likewise.
37236         (REGISTER_SAVE_RDI): Likewise.
37237         (REGISTER_SAVE_R8): Likewise.
37238         (REGISTER_SAVE_R9): Likewise.
37239         (REGISTER_SAVE_BND0): Likewise.
37240         (REGISTER_SAVE_BND1): Likewise.
37241         (REGISTER_SAVE_BND2): Likewise.
37242         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37243         bound registers when calling _dl_fixup.
37245 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37247         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37248         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37249         of its definition.
37250         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37251         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37252         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37253         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37254         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37255         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37256         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37258 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37260         [BZ #15514]
37261         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37262         pathconf(_PC_NAME_MAX).
37264 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37266         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37267         Remove macro usage.
37268         (__PTHREAD_SPINS): Move definition to ...
37269         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37270         (__PTHREAD_SPINS): ... here.
37271         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37272         (__PTHREAD_SPIN): Likewise.
37273         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37274         (__PTHREAD_SPIN): Likewise.
37275         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37276         (__PTHREAD_SPIN): Likewise.
37277         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37278         (__PTHREAD_SPIN): Likewise.
37279         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37280         (__PTHREAD_SPIN): Likewise.
37281         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37282         (__PTHREAD_SPIN): Likewise.
37283         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37284         (__PTHREAD_SPIN): Likewise.
37285         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37286         (__PTHREAD_SPIN): Likewise.
37287         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37288         (__PTHREAD_SPIN): Likewise.
37289         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37290         (__PTHREAD_SPIN): Likewise.
37291         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37292         (__PTHREAD_SPIN): Likewise.
37293         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37294         (__PTHREAD_SPIN): Likewise.
37296         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37297         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37298         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37299         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37300         imply folder.
37301         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37302         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37303         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37304         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37305         correct imply path.
37306         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37307         strlen symbol for non multi-arch builds.
37308         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37309         missing hidden_def and weak_alias.
37311 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37313         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37315 2014-04-07  Will Newton  <will.newton@linaro.org>
37317         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37318         and contents.  [!_LIBC] Remove #ifndef and contents.
37319         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37320         * string/memccpy.c (__memccpy): Use ANSI prototype.
37321         * string/memfrob.c (memfrob): Likewise.
37322         * string/strcoll.c (STRCOLL): Likewise.
37323         * string/strlen.c (strlen): Likewise.
37324         * string/strtok.c (STRTOK): Likewise.
37325         * string/strcat.c: Remove unused #include of memcopy.h.
37326         (strcat): Use ANSI prototype.
37327         * string/strchr.c: Remove unused #include of memcopy.h.
37328         (strchr): Use ANSI prototype.
37329         * string/strcmp.c: Remove unused #include of memcopy.h.
37330         (strcmp): Use ANSI prototype.
37331         * string/strcpy.c: Remove unused #include of memcopy.h.
37332         (strcpy): Use ANSI prototype.
37334 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37336         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37337         * config.make.in (config-extra-cppflags): Set it from
37338         libc_extra_cppflags.
37339         * configure.ac (libc_extra_cflags): Make it accumulate over
37340         configure fragments.
37341         (libc_extra_cppflags): New flag.
37342         * configure. Regenerate.
37343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37344         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37345         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37348         [BZ #16815]
37349         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37350         result for FE_DOWNWARD rounding mode.
37351         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37352         Likewise.
37353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37355 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37357         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37358         in function argument name.
37360 2014-04-03  David Svoboda  <svoboda@cert.org>
37362         [BZ #5666]
37363         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37364         explicitly.
37366 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37368         * elf/dl-unmap-segments.h: New file.
37369         * sysdeps/generic/ldsodefs.h
37370         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37371         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37372         * elf/dl-fptr.c: Likewise.
37373         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37374         * sysdeps/aarch64/tlsdesc.c: Likewise.
37375         * sysdeps/arm/tlsdesc.c: Likewise.
37376         * sysdeps/i386/tlsdesc.c: Likewise.
37377         * sysdeps/tile/dl-runtime.c: Likewise.
37378         * sysdeps/x86_64/tlsdesc.c: Likewise.
37379         * elf/dl-load.h: New file.
37380         * elf/dl-load.c: Include it.
37381         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37382         Macros moved to dl-load.h.
37383         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37384         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37385         Use _dl_unmap_segments in place of __munmap.
37386         Break out segment-mapping loop into ...
37387         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37389 2014-04-03  Will Newton  <will.newton@linaro.org>
37391         * elf/dl-lookup.c (do_lookup_x): Remove comment
37392         referring to nested function and move variable
37393         declarations down to before first use.
37395 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37397         [BZ #16799]
37398         [BZ #16800]
37399         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37400         with 0 numerator.
37401         * math/s_catanf.c (__catanf): Likewise.
37402         * math/s_catanh.c (__catanh): Likewise.
37403         * math/s_catanhf.c (__catanhf): Likewise.
37404         * math/s_catanhl.c (__catanhl): Likewise.
37405         * math/s_catanl.c (__catanl): Likewise.
37406         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37407         by positive zero when computing -Inf result.
37408         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37409         (catanh_test): Likewise.
37410         * sysdeps/i386/fpu/libm-test-ulps: Update.
37411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37413         [BZ #16789]
37414         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37415         instead of using underflowing value in computing result.
37416         * math/s_clog10.c (__clog10): Likewise.
37417         * math/s_clog10f.c (__clog10f): Likewise.
37418         * math/s_clog10l.c (__clog10l): Likewise.
37419         * math/s_clogf.c (__clogf): Likewise.
37420         * math/s_clogl.c (__clogl): Likewise.
37421         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37422         (clog10_test): Likewise.
37423         * sysdeps/i386/fpu/libm-test-ulps: Update.
37424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37426 2014-04-02  Alan Modra  <amodra@gmail.com>
37428         [BZ #16739]
37429         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37430         output when value is near a power of two.  Use int64_t for lx and
37431         remove casts.  Use decimal rather than hex exponent constants.
37432         Don't use long double multiplication when double will suffice.
37433         * math/libm-test.inc (nextafter_test_data): Add tests.
37434         * NEWS: Add 16739 and 16786 to bug list.
37436         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37438         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37440 2014-04-01  Will Newton  <will.newton@linaro.org>
37442         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37443         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37445 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37447         [BZ #13347]
37448         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37449         * nptl/tst-setuid2.c: New file.
37450         * nptl/Makefile (xtests): Add tst-setuid2.
37452 2014-04-01  Alan Modra  <amodra@gmail.com>
37454         [BZ #16786]
37455         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37457 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37459         [BZ #6803]
37460         [BZ #6804]
37461         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37462         set errno as appropriate.
37463         * math/w_scalbf.c (__scalbf): Likewise.
37464         * math/w_scalbl.c (__scalbl): Likewise.
37465         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37466         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37467         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37468         Add more NaN tests.
37470         [BZ #16349]
37471         * math/w_atan2.c: Include <errno.h>.
37472         (__atan2): Set errno for result underflowing to zero.
37473         * math/w_atan2f.c: Include <errno.h>.
37474         (__atan2f): Set errno for result underflowing to zero.
37475         * math/w_atan2l.c: Include <errno.h>.
37476         (__atan2l): Set errno for result underflowing to zero.
37477         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37478         tests.
37479         * math/auto-libm-test-out: Regenerated.
37481 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37483         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37484         Encode instruction correctly in little endian.
37485         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37486         Likewise.
37487         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37488         Likewise.
37489         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37490         Likewise.
37491         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37492         Likewise.
37494 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37496         [BZ #9894]
37497         * sysdeps/unix/sysv/linux/kernel-features.h
37498         [__sparc__ && !__arch64__ && !__sparc_v9__]
37499         (__ASSUME_SET_ROBUST_LIST): Do not define.
37500         [__sparc__ && !__arch64__ && !__sparc_v9__]
37501         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37502         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37503         Likewise.
37504         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37505         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37506         (__ASSUME_REQUEUE_PI): Likewise.
37507         (__ASSUME_SET_ROBUST_LIST): Likewise.
37508         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37509         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37510         Undefine.
37511         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37512         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37513         Likewise.
37514         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37515         Likewise.
37516         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37517         Likewise.
37518         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37519         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37520         Undefine.
37521         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37522         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37523         Likewise.
37525         [BZ #16648]
37526         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37527         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37528         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37530 2014-03-31  Will Newton  <will.newton@linaro.org>
37532         * benchtests/Makefile (bench): Add ffs and ffsll to list
37533         of tests.
37534         * benchtests/ffs-inputs: New file.
37535         * benchtests/ffsll-inputs: Likewise.
37537 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37539         [BZ #16770]
37540         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37541         too large before casting to int.
37542         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37543         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37544         * math/libm-test.inc (scalb_test_data): Add more tests.
37546 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37548         * benchtests/Makefile (DETAILED_OPT): New make option.
37549         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37550         set.
37551         * benchtests/bench-skeleton.c: Include stdbool.h.
37552         (main): Store and print timings per input.
37553         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37554         member to each argument value.
37555         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37556         (_print_arg_data): Initialize per-input timing to 0.
37558         * benchtests/Makefile (timing-type): New binary.
37559         (bench-clean): Also remove bench-timing-type.
37560         (bench): New target for timing-type.
37561         (bench-func): Print output in JSON format.
37562         * benchtests/bench-skeleton.c (main): Print output in JSON
37563         format.
37564         * benchtests/bench-timing-type.c: New file.
37565         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37566         (TIMING_PRINT_STATS): Remove.
37567         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37568         name separately.
37570         * benchtests/bench-modf.c: Remove.
37571         * benchtests/modf-inputs: New inputs file.
37573 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37575         [BZ #16362]
37576         * math/s_clog10.c (M_PI_LOG10E): New macro.
37577         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37578         imaginary parts are 0.
37579         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37580         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37581         imaginary parts are 0.
37582         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37583         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37584         imaginary parts are 0.
37585         * math/libm-test.inc (clog10_test_data): Update expected results
37586         for when real and imaginary parts are 0.
37588 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37590         * elf/dl-load.c: Finish conversion of __builtin_expect into
37591         __glibc_{un}likely.
37593 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37595         [BZ #16348]
37596         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37597         1+x for argument with exponent below -67.
37598         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37599         Likewise.
37600         * math/auto-libm-test-in: Add more tests of exp.
37601         * math/auto-libm-test-out: Regenerated.
37603 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37605         [BZ #16759]
37606         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37607         (nscd_getnetgrent): Use it.
37609         [BZ #16760]
37610         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37611         of stpcpy.
37613 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37615         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37616         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37617         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37618         (lll_robust_unlock): Remove out of line section. Use cfi
37619         intrinsics.
37620         (LLL_STUB_UNWIND_INFO*): Remove.
37621         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37622         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37623         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37624         (lll_robust_unlock): Remove out of line section. Use cfi
37625         intrinsics.
37626         (LLL_STUB_UNWIND_INFO*): Remove.
37628 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37630         [BZ #16758]
37631         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37632         blank values.
37634 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37636         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37638 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37640         [BZ #16198]
37641         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37642         fnstenv.
37643         * math/test-fenv-preserve.c: New file.
37644         * math/Makefile (tests): Add test-fenv-preserve.
37646 2014-03-26  Will Newton <will.newton@linaro.org>
37648         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37650 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37652         * scripts/versionlist.awk: Partition the version sets and emit all
37653         GLIBC_* (sorted) before all others (sorted).
37655 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37657         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37658         GLIBC_2.2.5 version.
37660 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37662         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37663         calls.
37665         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37666         previous change.
37668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37670 2014-03-25  Andreas Schwab  <schwab@suse.de>
37672         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37673         label to be used after in6ailist is initialized.
37675 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37677         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37678         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37680 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37682         [BZ #16357]
37683         [BZ #16599]
37684         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37685         min_plus_half.
37686         (fp_formats): Update initializers.
37687         (init_fp_formats): Initialize new field.
37688         (output_for_one_input_case): Allow underflow for results up to
37689         min_plus_half.
37690         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37691         * math/auto-libm-test-in: Don't mark some underflows from asin and
37692         atanh as spurious.
37693         * math/auto-libm-test-out: Regenerated.
37694         * sysdeps/i386/fpu/libm-test-ulps: Update.
37695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37697 2014-03-25  Andreas Schwab  <schwab@suse.de>
37699         * libio/Makefile (tst-ftell-partial-wide-ENV)
37700         (tst-ftell-active-handler-ENV): Define.
37702 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37704         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37706 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37708         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37710 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37712         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37713         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37714         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37716 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37718         [BZ #16634]
37719         * elf/dl-load.c (open_verify): Add mode parameter.
37720         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37721         (open_path): Change from boolean 'secure' to complete flag 'mode'
37722         (_dl_map_object): Adjust.
37723         * elf/Makefile (tests): Add tst-dlopen-aout.
37724         * elf/tst-dlopen-aout.c: New test.
37726 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37728         [BZ #16714]
37729         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37730         (struct stat): Rename member pad0 to __glibc_reserved0.
37732         [BZ #16712]
37733         * sysdeps/s390/s390-32/bits/wordsize.h
37734         (__WORDSIZE32_SIZE_ULONG): New define.
37735         * sysdeps/s390/s390-64/bits/wordsize.h
37736         (__WORDSIZE32_SIZE_ULONG): Likewise.
37737         * sysdeps/generic/stdint.h (SIZE_MAX):
37738         Define as UL if __WORDSIZE32_SIZE_ULONG.
37740         [BZ #16713]
37741         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37742         (__glibc_reserved0): New variable.
37743         (sa_flags): Change type to int.
37745         * posix/Makefile (before-compile): Use += before-compile instead
37746         of a :=.
37748         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37749         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37751 2014-03-20  Andreas Schwab  <schwab@suse.de>
37753         [BZ #16743]
37754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37755         non-matching result from nscd.
37757 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37759         * scripts/bench.py: Moved to ...
37760         * benchtests/scripts/bench.py: ... here.
37761         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37763 2014-03-24  Andreas Schwab  <schwab@suse.de>
37765         [BZ #16002]
37766         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37767         alloca_account and account alloca use for struct in6ailist.
37769 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37771         [BZ #16284]
37772         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37773         rounding mode to recompute results that overflow to infinity or
37774         underflow to zero.
37775         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37776         bug 16284.
37777         * math/auto-libm-test-out: Regenerated.
37778         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37779         (ccosh_test): Likewise.
37780         (csin_test_data): Use plus_oflow.
37781         (csin_test): Use ALL_RM_TEST.
37782         (csinh_test_data): Use plus_oflow.
37783         (csinh_test): Use ALL_RM_TEST.
37784         * sysdeps/i386/fpu/libm-test-ulps: Update.
37785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37787 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37789         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37790         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37791         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37793         [BZ #16731]
37794         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37795         when x - 1 is zero.
37796         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37797         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37798         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37799         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37800         argument is 1.
37801         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37802         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37803         zero.
37804         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37805         * sysdeps/i386/fpu/libm-test-ulps: Update.
37806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37808 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37810         * scripts/bench.pl: Remove file.
37811         * scripts/bench.py: New benchmark script.
37812         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37813         * benchtests/README: Mention python dependency.
37814         * scripts/pylintrc: New file.
37815         * scripts/pylint: New file.
37817         * bits/mathdef.h: Use #ifdef instead of #if.
37818         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37819         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37820         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37821         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37822         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37823         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37825 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37826             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37828         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37830         and strpbrk-ppc64 objects.
37831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37832         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37833         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37834         multiarch strpbrk for POWER7.
37835         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37836         multiarch strpbrk for PPC64.
37837         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37838         ifunc selector.
37839         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37840         strpbrk for POWER7.
37842 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37844         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37845         (atan_test): Likewise.
37846         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37847         (atanh_test): Use ALL_RM_TEST.
37848         (atan2_test_data): Likewise.
37849         (cabs_test): Likewise.
37850         (cacosh_test): Likewise.
37851         (carg_test): Likewise.
37852         (casin_test): Likewise.
37853         (casinh_test): Likewise.
37854         (cbrt_test): Likewise.
37855         (csqrt_test): Likewise.
37856         (erf_test): Likewise.
37857         (erfc_test): Likewise.
37858         (pow10_test): Likewise.
37859         (exp2_test): Likewise.
37860         (hypot_test): Likewise.
37861         (j0_test): Likewise.
37862         (j1_test): Likewise.
37863         (lgamma_test): Likewise.
37864         (gamma_test): Likewise.
37865         (sincos_test): Likewise.
37866         (tanh_test): Likewise.
37867         (y0_test): Likewise.
37868         (y1_test): Likewise.
37869         * sysdeps/i386/fpu/libm-test-ulps: Update.
37870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37872 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37874         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37876         and strcspn-ppc64 objects.
37877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37878         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37879         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37880         multiarch strcspn for POWER7.
37881         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37882         multiarch strcspn for PPC64.
37883         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37884         ifunc selector.
37885         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37886         strcspn for POWER7.
37888 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37890         * math/gen-libm-test.pl (generate_testfile): Expect only function
37891         name as argument to AUTO_TESTS_* and pass results for all rounding
37892         modes to parse_args.
37893         (parse_auto_input): Separate inputs of automatic tests from
37894         outputs before storing in %auto_tests.
37895         * math/libm-test.inc (acos_test_data): Update call to
37896         AUTO_TESTS_f_f.
37897         (acos_test): Use ALL_RM_TEST.
37898         (acos_tonearest_test_data): Remove.
37899         (acos_test_tonearest): Likewise.
37900         (acos_towardzero_test_data): Likewise.
37901         (acos_test_towardzero): Likewise.
37902         (acos_downward_test_data): Likewise.
37903         (acos_test_downward): Likewise.
37904         (acos_upward_test_data): Likewise.
37905         (acos_test_upward): Likewise.
37906         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37907         (asin_test_data): Likewise.
37908         (asin_test): Use ALL_RM_TEST.
37909         (asin_tonearest_test_data): Remove.
37910         (asin_test_tonearest): Likewise.
37911         (asin_towardzero_test_data): Likewise.
37912         (asin_test_towardzero): Likewise.
37913         (asin_downward_test_data): Likewise.
37914         (asin_test_downward): Likewise.
37915         (asin_upward_test_data): Likewise.
37916         (asin_test_upward): Likewise.
37917         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37918         (atan_test_data): Likewise.
37919         (atanh_test_data): Likewise.
37920         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37921         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37922         (carg_test_data): Likewise.
37923         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37924         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37925         (ccosh_test_data): Likewise.
37926         (cexp_test_data): Likewise.
37927         (clog_test_data): Likewise.
37928         (clog10_test_data): Likewise.
37929         (cos_test_data): Update call to AUTO_TESTS_f_f.
37930         (cos_test): Use ALL_RM_TEST.
37931         (cos_tonearest_test_data): Remove.
37932         (cos_test_tonearest): Likewise.
37933         (cos_towardzero_test_data): Likewise.
37934         (cos_test_towardzero): Likewise.
37935         (cos_downward_test_data): Likewise.
37936         (cos_test_downward): Likewise.
37937         (cos_upward_test_data): Likewise.
37938         (cos_test_upward): Likewise.
37939         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37940         (cosh_test): Use ALL_RM_TEST.
37941         (cosh_tonearest_test_data): Remove.
37942         (cosh_test_tonearest): Likewise.
37943         (cosh_towardzero_test_data): Likewise.
37944         (cosh_test_towardzero): Likewise.
37945         (cosh_downward_test_data): Likewise.
37946         (cosh_test_downward): Likewise.
37947         (cosh_upward_test_data): Likewise.
37948         (cosh_test_upward): Likewise.
37949         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37950         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37951         (ctan_test_data): Likewise.
37952         (ctan_test): Use ALL_RM_TEST.
37953         (ctan_tonearest_test_data): Remove.
37954         (ctan_test_tonearest): Likewise.
37955         (ctan_towardzero_test_data): Likewise.
37956         (ctan_test_towardzero): Likewise.
37957         (ctan_downward_test_data): Likewise.
37958         (ctan_test_downward): Likewise.
37959         (ctan_upward_test_data): Likewise.
37960         (ctan_test_upward): Likewise.
37961         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37962         (ctanh_test): Use ALL_RM_TEST.
37963         (ctanh_tonearest_test_data): Remove.
37964         (ctanh_test_tonearest): Likewise.
37965         (ctanh_towardzero_test_data): Likewise.
37966         (ctanh_test_towardzero): Likewise.
37967         (ctanh_downward_test_data): Likewise.
37968         (ctanh_test_downward): Likewise.
37969         (ctanh_upward_test_data): Likewise.
37970         (ctanh_test_upward): Likewise.
37971         (erf_test_data): Update call to AUTO_TESTS_f_f.
37972         (erfc_test_data): Likewise.
37973         (exp_test_data): Likewise.
37974         (exp_test): Use ALL_RM_TEST.
37975         (exp_tonearest_test_data): Remove.
37976         (exp_test_tonearest): Likewise.
37977         (exp_towardzero_test_data): Likewise.
37978         (exp_test_towardzero): Likewise.
37979         (exp_downward_test_data): Likewise.
37980         (exp_test_downward): Likewise.
37981         (exp_upward_test_data): Likewise.
37982         (exp_test_upward): Likewise.
37983         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37984         (exp10_test): Use ALL_RM_TEST.
37985         (exp10_tonearest_test_data): Remove.
37986         (exp10_test_tonearest): Likewise.
37987         (exp10_towardzero_test_data): Likewise.
37988         (exp10_test_towardzero): Likewise.
37989         (exp10_downward_test_data): Likewise.
37990         (exp10_test_downward): Likewise.
37991         (exp10_upward_test_data): Likewise.
37992         (exp10_test_upward): Likewise.
37993         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37994         (expm1_test_data): Likewise.
37995         (expm1_test): Use ALL_RM_TEST.
37996         (expm1_tonearest_test_data): Remove.
37997         (expm1_test_tonearest): Likewise.
37998         (expm1_towardzero_test_data): Likewise.
37999         (expm1_test_towardzero): Likewise.
38000         (expm1_downward_test_data): Likewise.
38001         (expm1_test_downward): Likewise.
38002         (expm1_upward_test_data): Likewise.
38003         (expm1_test_upward): Likewise.
38004         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38005         (fma_test): Use ALL_RM_TEST.
38006         (fma_towardzero_test_data): Remove.
38007         (fma_test_towardzero): Likewise.
38008         (fma_downward_test_data): Likewise.
38009         (fma_test_downward): Likewise.
38010         (fma_upward_test_data): Likewise.
38011         (fma_test_upward): Likewise.
38012         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38013         (j0_test_data): Update call to AUTO_TESTS_f_f.
38014         (j1_test_data): Likewise.
38015         (jn_test_data): Update call to AUTO_TESTS_if_f.
38016         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38017         (log_test_data): Update call to AUTO_TESTS_f_f.
38018         (log10_test_data): Likewise.
38019         (log1p_test_data): Likewise.
38020         (log2_test_data): Likewise.
38021         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38022         (pow_tonearest_test_data): Likewise.
38023         (sin_test_data): Update call to AUTO_TESTS_f_f.
38024         (sin_test): Use ALL_RM_TEST.
38025         (sin_tonearest_test_data): Remove.
38026         (sin_test_tonearest): Likewise.
38027         (sin_towardzero_test_data): Likewise.
38028         (sin_test_towardzero): Likewise.
38029         (sin_downward_test_data): Likewise.
38030         (sin_test_downward): Likewise.
38031         (sin_upward_test_data): Likewise.
38032         (sin_test_upward): Likewise.
38033         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38034         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38035         (sinh_test): Use ALL_RM_TEST.
38036         (sinh_tonearest_test_data): Remove.
38037         (sinh_test_tonearest): Likewise.
38038         (sinh_towardzero_test_data): Likewise.
38039         (sinh_test_towardzero): Likewise.
38040         (sinh_downward_test_data): Likewise.
38041         (sinh_test_downward): Likewise.
38042         (sinh_upward_test_data): Likewise.
38043         (sinh_test_upward): Likewise.
38044         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38045         (sqrt_test): Use ALL_RM_TEST.
38046         (sqrt_tonearest_test_data): Remove.
38047         (sqrt_test_tonearest): Likewise.
38048         (sqrt_towardzero_test_data): Likewise.
38049         (sqrt_test_towardzero): Likewise.
38050         (sqrt_downward_test_data): Likewise.
38051         (sqrt_test_downward): Likewise.
38052         (sqrt_upward_test_data): Likewise.
38053         (sqrt_test_upward): Likewise.
38054         (tan_test_data): Update call to AUTO_TESTS_f_f.
38055         (tan_test): Use ALL_RM_TEST.
38056         (tan_tonearest_test_data): Remove.
38057         (tan_test_tonearest): Likewise.
38058         (tan_towardzero_test_data): Likewise.
38059         (tan_test_towardzero): Likewise.
38060         (tan_downward_test_data): Likewise.
38061         (tan_test_downward): Likewise.
38062         (tan_upward_test_data): Likewise.
38063         (tan_test_upward): Likewise.
38064         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38065         (tgamma_test_data): Likewise.
38066         (y0_test_data): Likewise.
38067         (y1_test_data): Likewise.
38068         (yn_test_data): Update call to AUTO_TESTS_if_f.
38069         (main): Do not call removed functions.
38071 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38073         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38074         (ldexp_test_data): Remove.
38075         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38076         scalbn_test_data.
38077         (scalb_test): Use ALL_RM_TEST.
38079 2014-03-19  Andreas Schwab  <schwab@suse.de>
38081         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38083 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38085         [BZ #16649]
38086         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38087         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38088         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38089         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38090         (__ASSUME_PREADV): Undefine.
38091         (__ASSUME_PWRITEV): Likewise.
38093 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38095         * bits/mman-linux.h: Add comment about non-Linux use.
38096         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38097         bits/mman-linux.h resting place.
38099         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38100         * bits/mman-linux.h: ... here.
38102 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38104         * conform/conformtest.pl: Add standard definition when calling C
38105         preprocessor on data files.
38106         (checknamespace): Remove unused variable.
38108 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38110         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38111         minus_oflow, plus_uflow and minus_uflow in expected results.
38112         * math/libm-test.inc (scalbn_test_data): Add more tests of
38113         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38114         minus_uflow.
38115         (scalbn_test): Use ALL_RM_TEST.
38116         (scalbln_test_data): Add more tests of negative arguments.  Use
38117         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38118         (scalbln_test): Use ALL_RM_TEST.
38120 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38122         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38124 2014-03-18  Will Newton  <will.newton@linaro.org>
38126         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38127         inaccurate comment.
38129 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38131         * Makerules [!subdir] (check-abi): Exit with error status if a
38132         test failed.
38134 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38136         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38137         for rint.  Include results for all rounding modes.
38138         (nearbyint_test): Use ALL_RM_TEST.
38139         (rint_test_data): Include all tests used for nearbyint.
38141 2014-03-17  Will Newton  <will.newton@linaro.org>
38143         * nptl/sysdeps/pthread/pthread.h: Revert previous
38144         change.
38146         * sysdeps/generic/ldsodefs.h: Revert previous
38147         change.
38149         * libio/genops.c: Revert previous change.
38150         * libio/libioP.h: Likewise.
38151         * stdio-common/vfprintf.c: Likewise.
38153         * sysdeps/generic/math_private.h: Revert previous
38154         change.
38156         * sysdeps/generic/math_private.h: Check whether
38157         HAVE_RM_CTX is defined with #ifdef rather
38158         than #if.
38160         * argp/argp-fmtstream.h: Check whether
38161         __STRICT_ANSI__ is defined with #ifdef rather
38162         than #if.
38163         * argp/argp.h: Likewise.
38165         * libio/genops.c: Check whether
38166         _IO_JUMPS_OFFSET is defined with #ifdef rather
38167         than #if.
38168         * libio/libioP.h: Likewise.
38169         * stdio-common/vfprintf.c: Likewise.
38171         * sysdeps/generic/ldsodefs.h: Check whether
38172         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38173         than #if.
38175         * nptl/sysdeps/pthread/pthread.h: Check
38176         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38177         its value.
38179 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38181         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38182         setting O_APPEND.
38183         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38184         test case.
38186         [BZ #16680]
38187         * libio/fileops.c (_IO_file_open): Seek to end of file but
38188         don't cache the offset.
38189         (get_file_offset): Remove function.
38190         (do_ftell): Use cached offset when available.
38191         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38192         don't cache the offset.
38193         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38194         case.
38195         (do_one_test): Call it.
38196         (do_ftell_test): Fix up expected old offset for a+ mode.
38197         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38198         available.
38200         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38201         up test status with function return status.
38202         (do_write_test): Likewise.
38203         (do_append_test): Likewise.
38205         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38206         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38207         Remove.
38209 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38211         * math/gen-libm-test.pl (parse_args): Handle results specified for
38212         each rounding mode separately.
38213         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38214         tests and results from lrint_tonearest_test_data,
38215         lrint_towardzero_test_data, lrint_downward_test_data and
38216         lrint_upward_test_data.
38217         (lrint_test): Use ALL_RM_TEST.
38218         (lrint_tonearest_test_data): Remove.
38219         (lrint_test_tonearest): Likewise.
38220         (lrint_towardzero_test_data): Likewise.
38221         (lrint_test_towardzero): Likewise.
38222         (lrint_downward_test_data): Likewise.
38223         (lrint_test_downward): Likewise.
38224         (lrint_upward_test_data): Likewise.
38225         (lrint_test_upward): Likewise.
38226         (llrint_test_data): Merge in per-rounding-mode tests and results
38227         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38228         llrint_downward_test_data and llrint_upward_test_data.
38229         (llrint_test): Use ALL_RM_TEST.
38230         (llrint_tonearest_test_data): Remove.
38231         (llrint_test_tonearest): Likewise.
38232         (llrint_towardzero_test_data): Likewise.
38233         (llrint_test_towardzero): Likewise.
38234         (llrint_downward_test_data): Likewise.
38235         (llrint_test_downward): Likewise.
38236         (llrint_upward_test_data): Likewise.
38237         (llrint_test_upward): Likewise.
38238         (rint_test_data): Merge in per-rounding-mode tests and results
38239         from rint_tonearest_test_data, rint_towardzero_test_data,
38240         rint_downward_test_data and rint_upward_test_data.  Add
38241         per-rounding-mode results for tests not in those arrays.
38242         (rint_test): Use ALL_RM_TEST.
38243         (rint_tonearest_test_data): Remove.
38244         (rint_test_tonearest): Likewise.
38245         (rint_towardzero_test_data): Likewise.
38246         (rint_test_towardzero): Likewise.
38247         (rint_downward_test_data): Likewise.
38248         (rint_test_downward): Likewise.
38249         (rint_upward_test_data): Likewise.
38250         (rint_test_upward): Likewise.
38251         (main): Don't call removed functions.
38253 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38255         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38256         "Compiled on ..." crapola.  It is anti-useful.
38258 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38260         * scripts/evaluate-test.sh: Handle fourth argument to determine
38261         whether test run should stop on failure.
38262         * Makeconfig (stop-on-test-failure): New variable.
38263         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38264         $(stop-on-test-failure).
38265         * Makefile (tests): Give a summary of results from testing and
38266         exit with failure status if they include an ERROR or FAIL.
38267         (xtests): Likewise.
38268         * manual/install.texi (Configuring and compiling): Mention
38269         stop-on-test-failure=y.
38270         * INSTALL: Regenerated.
38272 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38274         * scripts/versionlist.awk: New file.
38275         * Makerules [$(build-shared) = yes]
38276         (postclean-generated): Add Versions.def, not Versions.def.v and
38277         Versions.def.v.i.
38278         ($(common-objpfx)Versions.def.v.i): Target removed.
38279         ($(common-objpfx)Versions.def): New target.
38280         ($(common-objpfx)Versions.all): Depend on that rather that
38281         $(common-objpfx)Versions.def.v.
38282         * Versions.def: File removed.
38284         * Makeconfig (+gccwarn): Add -Wundef.
38285         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38286         a dl-sysdep.h breaking its contract.
38287         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38288         * include/stackinfo.h: New file.
38289         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38290         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38291         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38292         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38293         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38294         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38295         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38296         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38297         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38298         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38299         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38300         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38301         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38302         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38303         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38305 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38307         [BZ #16707]
38308         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38309         implementation.
38310         * math/libm-test.inc (round_test_data): Add more tests.
38312         [BZ #16706]
38313         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38314         implementation.
38315         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38317         [BZ #16701]
38318         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38319         implementation.
38320         * math/libm-test.inc (ceil_test_data): Add more tests.
38322         * math/libm-test.inc (trunc_test_data): Add more tests related to
38323         BZ#16414.
38325 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38327         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38328         with #if rather than #ifdef.
38329         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38331 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38333         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38334         first.  Disable AVX-512 GCC support if assembler doesn't support
38335         it.
38336         * sysdeps/x86_64/configure: Regenerated.
38338 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38340         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38341         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38342         (__old_pthread_attr_setstack): Likewise.
38343         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38344         [!_STACK_GROWS_DOWN]: Likewise.
38346 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38348         * config.make.in (have-bash2): Delete.
38349         * configure.ac (libc_cv_have_bash2): Delete.
38350         * configure: Regenerate.
38351         * elf/Makefile (common-ldd-rewrite): Rename to ...
38352         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38353         (sh-ldd-rewrite): Delete.
38354         (bash-ldd-rewrite): Delete.
38355         (have-bash2): Delete checks.
38356         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38357         ldd-rewrite.
38359         * config.make.in (have-ksh): Delete.
38360         (KSH): Delete.
38361         * configure.ac (libc_cv_have_ksh): Delete.
38362         * configure: Regenerate.
38364         * elf/Makefile: Delete $(have-ksh) check.
38365         ($(objpfx)sotruss): Change KSH to BASH.
38366         * elf/sotruss.ksh: Rename to ...
38367         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38368         function style to match POSIX.  Drop ksh vim mode setting.
38370         * manual/time.texi (Specifying the Time Zone with TZ): Change
38371         Tuesday to Thursday.
38373         * debug/tst-longjmp_chk2.c: Update header comment.
38374         (stackoverflow_handler): Add comment.  Call assert on pass value.
38376 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38378         [BZ #16194]
38379         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38380         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38381         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38382         (La_x86_64_vector): Add zmm.
38383         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38384         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38385         ($(objpfx)tst-audit10): New target.
38386         ($(objpfx)tst-audit10.out): Likewise.
38387         (tst-audit10-ENV): New.
38388         (AVX512-CFLAGS): Likewise.
38389         (CFLAGS-tst-audit10.c): Likewise.
38390         (CFLAGS-tst-auditmod10a.c): Likewise.
38391         (CFLAGS-tst-auditmod10b.c): Likewise.
38392         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38393         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38394         * sysdeps/x86_64/configure: Regenerated.
38395         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38396         AVX-512 zmm register support.
38397         (_dl_x86_64_save_sse): Likewise.
38398         (_dl_x86_64_restore_sse): Likewise.
38399         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38400         size vector registers.
38401         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38402         (ZMM_SIZE): Likewise.
38403         * sysdeps/x86_64/tst-audit10.c: New file.
38404         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38405         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38407 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38409         * configure.ac (HAVE_EHDR_START): New check.
38410         * configure: Regenerated.
38411         * config.h.in (HAVE_EHDR_START): New #undef.
38412         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38413         assuming the lowest-addressed segment maps the start of the file.
38415 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38417         * INSTALL: Regenerated.
38419 2014-03-13  Will Newton  <will.newton@linaro.org>
38421         * manual/setjmp.texi (System V contexts): Improve
38422         clarity and grammar of documentation.
38424 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38426         [BZ #16381]
38427         * elf/Makefile (tests): Add tst-pie2.
38428         (tests-pie): Add tst-pie2.
38429         * elf/tst-pie2.c: New file.
38430         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38431         for ET_EXEC.
38432         * elf/rtld.c (map_doit): Load executable as lt_executable.
38433         (dl_main): Likewise.
38435 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38437         [BZ #16642]
38438         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38439         (__ASSUME_PSELECT): Undefine.
38441 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38443         [BZ #16689]
38444         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38445         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38446         static build.
38447         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38448         selector for static builds.
38450 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38452         [BZ #16695]
38453         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38454         key in the buffer.
38456 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38458         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38459         IFUNC selector for static builds.
38461 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38463         * sysdeps/mips/math_private.h [__mips_hard_float]
38464         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38465         libc_feresetround_mips_ctx.
38466         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38467         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38468         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38470         [BZ #16677]
38471         * math/s_nextafter.c (__nextafter): Do not return value from
38472         overflowing computation.
38473         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38474         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38475         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38476         Likewise.
38477         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38478         Likewise.
38479         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38480         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38482 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38484         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38485         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38486         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38487         the new mov targetting sp.
38489 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38491         [BZ #16683]
38492         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38493         Define it for static builds as well.
38494         (NO_BZERO_IMPL): Likewise.
38496 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38498         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38499         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38500         multiarch strspn for PPC64.
38501         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38502         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38504         (__libc_ifunc_impl_list): Likewise.
38505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38506         multiarch optimizations
38507         * string/strspn.c (strspn): Using macro to redefine symbol name.
38509 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38510             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38512         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38513         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38514         multiarch strncat for PPC64.
38515         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38516         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38518         (__libc_ifunc_impl_list): Likewise.
38519         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38520         multiarch optimizations
38522 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38524         [BZ #16639]
38525         * nscd/nscd.service: Make service type forking.
38527 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38529         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38530         sign in non default rounding modes.
38531         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38533 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38535         * math/libm-test.inc (ALL_RM_TEST): New macro.
38536         (ceil_test): Use ALL_RM_TEST.
38537         (cimag_test): Likewise.
38538         (conj_test): Likewise.
38539         (copysign_test): Likewise.
38540         (cproj_test): Likewise.
38541         (creal_test): Likewise.
38542         (fabs_test): Likewise.
38543         (floor_test): Likewise.
38544         (fmax_test): Likewise.
38545         (fmin_test): Likewise.
38546         (fmod_test): Likewise.
38547         (fpclassify_test): Likewise.
38548         (frexp_test): Likewise.
38549         (ilogb_test): Likewise.
38550         (isfinite_test): Likewise.
38551         (finite_test): Likewise.
38552         (isgreater_test): Likewise.
38553         (isgreaterequal_test): Likewise.
38554         (isinf_test): Likewise.
38555         (isless_test): Likewise.
38556         (islessequal_test): Likewise.
38557         (islessgreater_test): Likewise.
38558         (isnan_test): Likewise.
38559         (isnormal_test): Likewise.
38560         (issignaling_test): Likewise.
38561         (isunordered_test): Likewise.
38562         (logb_test): Likewise.
38563         (logb_downward_test_data): Remove.
38564         (logb_test_downward): Likewise.
38565         (lround_test): Use ALL_RM_TEST.
38566         (llround_test): Likewise.
38567         (modf_test): Likewise.
38568         (nexttoward_test): Likewise.
38569         (remainder_test): Likewise.
38570         (drem_test): Likewise.
38571         (remainder_tonearest_test_data): Likewise.
38572         (remainder_test_tonearest): Likewise.
38573         (drem_test_tonearest): Likewise.
38574         (remainder_towardzero_test_data): Likewise.
38575         (remainder_test_towardzero): Likewise.
38576         (drem_test_towardzero): Likewise.
38577         (remainder_downward_test_data): Likewise.
38578         (remainder_test_downward): Likewise.
38579         (drem_test_downward): Likewise.
38580         (remainder_upward_test_data): Likewise.
38581         (remainder_test_upward): Likewise.
38582         (drem_test_upward): Likewise.
38583         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38584         (round_test): Use ALL_RM_TEST.
38585         (signbit_test): Likewise.
38586         (trunc_test): Likewise.
38587         (significand_test): Likewise.
38588         (main): Don't call removed functions.
38590 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38592         [BZ #16674]
38593         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38594         || __USE_XOPEN2K8].
38595         (ILL_ILLOPN): Likewise.
38596         (ILL_ILLADR): Likewise.
38597         (ILL_ILLTRP): Likewise.
38598         (ILL_PRVOPC): Likewise.
38599         (ILL_PRVREG): Likewise.
38600         (ILL_COPROC): Likewise.
38601         (ILL_BADSTK): Likewise.
38602         (FPE_INTDIV): Likewise.
38603         (FPE_INTOVF): Likewise.
38604         (FPE_FLTDIV): Likewise.
38605         (FPE_FLTOVF): Likewise.
38606         (FPE_FLTUND): Likewise.
38607         (FPE_FLTRES): Likewise.
38608         (FPE_FLTINV): Likewise.
38609         (FPE_FLTSUB): Likewise.
38610         (SEGV_MAPERR): Likewise.
38611         (SEGV_ACCERR): Likewise.
38612         (BUS_ADRALN): Likewise.
38613         (BUS_ADRERR): Likewise.
38614         (BUS_OBJERR): Likewise.
38615         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38616         (TRAP_TRACE): Likewise.
38617         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38618         __USE_XOPEN2K8].
38619         (CLD_KILLED): Likewise.
38620         (CLD_DUMPED): Likewise.
38621         (CLD_TRAPPED): Likewise.
38622         (CLD_STOPPED): Likewise.
38623         (CLD_CONTINUED): Likewise.
38624         (POLL_IN): Likewise.
38625         (POLL_OUT): Likewise.
38626         (POLL_MSG): Likewise.
38627         (POLL_ERR): Likewise.
38628         (POLL_PRI): Likewise.
38629         (POLL_HUP): Likewise.
38630         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38631         Likewise.
38632         (ILL_ILLOPN): Likewise.
38633         (ILL_ILLADR): Likewise.
38634         (ILL_ILLTRP): Likewise.
38635         (ILL_PRVOPC): Likewise.
38636         (ILL_PRVREG): Likewise.
38637         (ILL_COPROC): Likewise.
38638         (ILL_BADSTK): Likewise.
38639         (FPE_INTDIV): Likewise.
38640         (FPE_INTOVF): Likewise.
38641         (FPE_FLTDIV): Likewise.
38642         (FPE_FLTOVF): Likewise.
38643         (FPE_FLTUND): Likewise.
38644         (FPE_FLTRES): Likewise.
38645         (FPE_FLTINV): Likewise.
38646         (FPE_FLTSUB): Likewise.
38647         (SEGV_MAPERR): Likewise.
38648         (SEGV_ACCERR): Likewise.
38649         (BUS_ADRALN): Likewise.
38650         (BUS_ADRERR): Likewise.
38651         (BUS_OBJERR): Likewise.
38652         (BUS_MCEERR_AR): Likewise.
38653         (BUS_MCEERR_AO): Likewise.
38654         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38655         (TRAP_TRACE): Likewise.
38656         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38657         __USE_XOPEN2K8].
38658         (CLD_KILLED): Likewise.
38659         (CLD_DUMPED): Likewise.
38660         (CLD_TRAPPED): Likewise.
38661         (CLD_STOPPED): Likewise.
38662         (CLD_CONTINUED): Likewise.
38663         (POLL_IN): Likewise.
38664         (POLL_OUT): Likewise.
38665         (POLL_MSG): Likewise.
38666         (POLL_ERR): Likewise.
38667         (POLL_PRI): Likewise.
38668         (POLL_HUP): Likewise.
38669         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38670         (ILL_ILLOPN): Likewise.
38671         (ILL_ILLADR): Likewise.
38672         (ILL_ILLTRP): Likewise.
38673         (ILL_PRVOPC): Likewise.
38674         (ILL_PRVREG): Likewise.
38675         (ILL_COPROC): Likewise.
38676         (ILL_BADSTK): Likewise.
38677         (FPE_INTDIV): Likewise.
38678         (FPE_INTOVF): Likewise.
38679         (FPE_FLTDIV): Likewise.
38680         (FPE_FLTOVF): Likewise.
38681         (FPE_FLTUND): Likewise.
38682         (FPE_FLTRES): Likewise.
38683         (FPE_FLTINV): Likewise.
38684         (FPE_FLTSUB): Likewise.
38685         (SEGV_MAPERR): Likewise.
38686         (SEGV_ACCERR): Likewise.
38687         (BUS_ADRALN): Likewise.
38688         (BUS_ADRERR): Likewise.
38689         (BUS_OBJERR): Likewise.
38690         (BUS_MCEERR_AR): Likewise.
38691         (BUS_MCEERR_AO): Likewise.
38692         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38693         (TRAP_TRACE): Likewise.
38694         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38695         __USE_XOPEN2K8].
38696         (CLD_KILLED): Likewise.
38697         (CLD_DUMPED): Likewise.
38698         (CLD_TRAPPED): Likewise.
38699         (CLD_STOPPED): Likewise.
38700         (CLD_CONTINUED): Likewise.
38701         (POLL_IN): Likewise.
38702         (POLL_OUT): Likewise.
38703         (POLL_MSG): Likewise.
38704         (POLL_ERR): Likewise.
38705         (POLL_PRI): Likewise.
38706         (POLL_HUP): Likewise.
38707         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38708         Likewise.
38709         (ILL_ILLOPN): Likewise.
38710         (ILL_ILLADR): Likewise.
38711         (ILL_ILLTRP): Likewise.
38712         (ILL_PRVOPC): Likewise.
38713         (ILL_PRVREG): Likewise.
38714         (ILL_COPROC): Likewise.
38715         (ILL_BADSTK): Likewise.
38716         (ILL_BADIADDR): Likewise.
38717         (ILL_BREAK): Likewise.
38718         (FPE_INTDIV): Likewise.
38719         (FPE_INTOVF): Likewise.
38720         (FPE_FLTDIV): Likewise.
38721         (FPE_FLTOVF): Likewise.
38722         (FPE_FLTUND): Likewise.
38723         (FPE_FLTRES): Likewise.
38724         (FPE_FLTINV): Likewise.
38725         (FPE_FLTSUB): Likewise.
38726         (FPE_DECOVF): Likewise.
38727         (FPE_DECDIV): Likewise.
38728         (FPE_DECERR): Likewise.
38729         (FPE_INVASC): Likewise.
38730         (FPE_INVDEC): Likewise.
38731         (SEGV_MAPERR): Likewise.
38732         (SEGV_ACCERR): Likewise.
38733         (SEGV_PSTKOVF): Likewise.
38734         (BUS_ADRALN): Likewise.
38735         (BUS_ADRERR): Likewise.
38736         (BUS_OBJERR): Likewise.
38737         (BUS_MCEERR_AR): Likewise.
38738         (BUS_MCEERR_AO): Likewise.
38739         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38740         (TRAP_TRACE): Likewise.
38741         (TRAP_BRANCH): Likewise.
38742         (TRAP_HWBKPT): Likewise.
38743         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38744         __USE_XOPEN2K8].
38745         (CLD_KILLED): Likewise.
38746         (CLD_DUMPED): Likewise.
38747         (CLD_TRAPPED): Likewise.
38748         (CLD_STOPPED): Likewise.
38749         (CLD_CONTINUED): Likewise.
38750         (POLL_IN): Likewise.
38751         (POLL_OUT): Likewise.
38752         (POLL_MSG): Likewise.
38753         (POLL_ERR): Likewise.
38754         (POLL_PRI): Likewise.
38755         (POLL_HUP): Likewise.
38756         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38757         (ILL_ILLOPN): Likewise.
38758         (ILL_ILLADR): Likewise.
38759         (ILL_ILLTRP): Likewise.
38760         (ILL_PRVOPC): Likewise.
38761         (ILL_PRVREG): Likewise.
38762         (ILL_COPROC): Likewise.
38763         (ILL_BADSTK): Likewise.
38764         (FPE_INTDIV): Likewise.
38765         (FPE_INTOVF): Likewise.
38766         (FPE_FLTDIV): Likewise.
38767         (FPE_FLTOVF): Likewise.
38768         (FPE_FLTUND): Likewise.
38769         (FPE_FLTRES): Likewise.
38770         (FPE_FLTINV): Likewise.
38771         (FPE_FLTSUB): Likewise.
38772         (SEGV_MAPERR): Likewise.
38773         (SEGV_ACCERR): Likewise.
38774         (BUS_ADRALN): Likewise.
38775         (BUS_ADRERR): Likewise.
38776         (BUS_OBJERR): Likewise.
38777         (BUS_MCEERR_AR): Likewise.
38778         (BUS_MCEERR_AO): Likewise.
38779         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38780         (TRAP_TRACE): Likewise.
38781         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38782         __USE_XOPEN2K8].
38783         (CLD_KILLED): Likewise.
38784         (CLD_DUMPED): Likewise.
38785         (CLD_TRAPPED): Likewise.
38786         (CLD_STOPPED): Likewise.
38787         (CLD_CONTINUED): Likewise.
38788         (POLL_IN): Likewise.
38789         (POLL_OUT): Likewise.
38790         (POLL_MSG): Likewise.
38791         (POLL_ERR): Likewise.
38792         (POLL_PRI): Likewise.
38793         (POLL_HUP): Likewise.
38794         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38795         (ILL_ILLOPN): Likewise.
38796         (ILL_ILLADR): Likewise.
38797         (ILL_ILLTRP): Likewise.
38798         (ILL_PRVOPC): Likewise.
38799         (ILL_PRVREG): Likewise.
38800         (ILL_COPROC): Likewise.
38801         (ILL_BADSTK): Likewise.
38802         (FPE_INTDIV): Likewise.
38803         (FPE_INTOVF): Likewise.
38804         (FPE_FLTDIV): Likewise.
38805         (FPE_FLTOVF): Likewise.
38806         (FPE_FLTUND): Likewise.
38807         (FPE_FLTRES): Likewise.
38808         (FPE_FLTINV): Likewise.
38809         (FPE_FLTSUB): Likewise.
38810         (SEGV_MAPERR): Likewise.
38811         (SEGV_ACCERR): Likewise.
38812         (BUS_ADRALN): Likewise.
38813         (BUS_ADRERR): Likewise.
38814         (BUS_OBJERR): Likewise.
38815         (BUS_MCEERR_AR): Likewise.
38816         (BUS_MCEERR_AO): Likewise.
38817         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38818         (TRAP_TRACE): Likewise.
38819         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38820         __USE_XOPEN2K8].
38821         (CLD_KILLED): Likewise.
38822         (CLD_DUMPED): Likewise.
38823         (CLD_TRAPPED): Likewise.
38824         (CLD_STOPPED): Likewise.
38825         (CLD_CONTINUED): Likewise.
38826         (POLL_IN): Likewise.
38827         (POLL_OUT): Likewise.
38828         (POLL_MSG): Likewise.
38829         (POLL_ERR): Likewise.
38830         (POLL_PRI): Likewise.
38831         (POLL_HUP): Likewise.
38832         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38833         (ILL_ILLOPN): Likewise.
38834         (ILL_ILLADR): Likewise.
38835         (ILL_ILLTRP): Likewise.
38836         (ILL_PRVOPC): Likewise.
38837         (ILL_PRVREG): Likewise.
38838         (ILL_COPROC): Likewise.
38839         (ILL_BADSTK): Likewise.
38840         (FPE_INTDIV): Likewise.
38841         (FPE_INTOVF): Likewise.
38842         (FPE_FLTDIV): Likewise.
38843         (FPE_FLTOVF): Likewise.
38844         (FPE_FLTUND): Likewise.
38845         (FPE_FLTRES): Likewise.
38846         (FPE_FLTINV): Likewise.
38847         (FPE_FLTSUB): Likewise.
38848         (SEGV_MAPERR): Likewise.
38849         (SEGV_ACCERR): Likewise.
38850         (BUS_ADRALN): Likewise.
38851         (BUS_ADRERR): Likewise.
38852         (BUS_OBJERR): Likewise.
38853         (BUS_MCEERR_AR): Likewise.
38854         (BUS_MCEERR_AO): Likewise.
38855         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38856         (TRAP_TRACE): Likewise.
38857         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38858         __USE_XOPEN2K8].
38859         (CLD_KILLED): Likewise.
38860         (CLD_DUMPED): Likewise.
38861         (CLD_TRAPPED): Likewise.
38862         (CLD_STOPPED): Likewise.
38863         (CLD_CONTINUED): Likewise.
38864         (POLL_IN): Likewise.
38865         (POLL_OUT): Likewise.
38866         (POLL_MSG): Likewise.
38867         (POLL_ERR): Likewise.
38868         (POLL_PRI): Likewise.
38869         (POLL_HUP): Likewise.
38870         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38871         (ILL_ILLOPN): Likewise.
38872         (ILL_ILLADR): Likewise.
38873         (ILL_ILLTRP): Likewise.
38874         (ILL_PRVOPC): Likewise.
38875         (ILL_PRVREG): Likewise.
38876         (ILL_COPROC): Likewise.
38877         (ILL_BADSTK): Likewise.
38878         (ILL_DBLFLT): Likewise.
38879         (ILL_HARDWALL): Likewise.
38880         (FPE_INTDIV): Likewise.
38881         (FPE_INTOVF): Likewise.
38882         (FPE_FLTDIV): Likewise.
38883         (FPE_FLTOVF): Likewise.
38884         (FPE_FLTUND): Likewise.
38885         (FPE_FLTRES): Likewise.
38886         (FPE_FLTINV): Likewise.
38887         (FPE_FLTSUB): Likewise.
38888         (SEGV_MAPERR): Likewise.
38889         (SEGV_ACCERR): Likewise.
38890         (BUS_ADRALN): Likewise.
38891         (BUS_ADRERR): Likewise.
38892         (BUS_OBJERR): Likewise.
38893         (BUS_MCEERR_AR): Likewise.
38894         (BUS_MCEERR_AO): Likewise.
38895         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38896         (TRAP_TRACE): Likewise.
38897         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38898         __USE_XOPEN2K8].
38899         (CLD_KILLED): Likewise.
38900         (CLD_DUMPED): Likewise.
38901         (CLD_TRAPPED): Likewise.
38902         (CLD_STOPPED): Likewise.
38903         (CLD_CONTINUED): Likewise.
38904         (POLL_IN): Likewise.
38905         (POLL_OUT): Likewise.
38906         (POLL_MSG): Likewise.
38907         (POLL_ERR): Likewise.
38908         (POLL_PRI): Likewise.
38909         (POLL_HUP): Likewise.
38910         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38911         (ILL_ILLOPN): Likewise.
38912         (ILL_ILLADR): Likewise.
38913         (ILL_ILLTRP): Likewise.
38914         (ILL_PRVOPC): Likewise.
38915         (ILL_PRVREG): Likewise.
38916         (ILL_COPROC): Likewise.
38917         (ILL_BADSTK): Likewise.
38918         (FPE_INTDIV): Likewise.
38919         (FPE_INTOVF): Likewise.
38920         (FPE_FLTDIV): Likewise.
38921         (FPE_FLTOVF): Likewise.
38922         (FPE_FLTUND): Likewise.
38923         (FPE_FLTRES): Likewise.
38924         (FPE_FLTINV): Likewise.
38925         (FPE_FLTSUB): Likewise.
38926         (SEGV_MAPERR): Likewise.
38927         (SEGV_ACCERR): Likewise.
38928         (BUS_ADRALN): Likewise.
38929         (BUS_ADRERR): Likewise.
38930         (BUS_OBJERR): Likewise.
38931         (BUS_MCEERR_AR): Likewise.
38932         (BUS_MCEERR_AO): Likewise.
38933         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38934         (TRAP_TRACE): Likewise.
38935         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38936         __USE_XOPEN2K8].
38937         (CLD_KILLED): Likewise.
38938         (CLD_DUMPED): Likewise.
38939         (CLD_TRAPPED): Likewise.
38940         (CLD_STOPPED): Likewise.
38941         (CLD_CONTINUED): Likewise.
38942         (POLL_IN): Likewise.
38943         (POLL_OUT): Likewise.
38944         (POLL_MSG): Likewise.
38945         (POLL_ERR): Likewise.
38946         (POLL_PRI): Likewise.
38947         (POLL_HUP): Likewise.
38948         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38949         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38951         [BZ #16670]
38952         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38953         before #include of <time.h>.
38954         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38955         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38956         (test-xfail-UNIX98/sched.h/conform): Likewise.
38958 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38960         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38961         error absence of trapping exception support.
38962         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38964 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38966         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38967         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38968         * timezone/Makefile (testdata): Move definition above include of
38969         Rules.
38970         (test-zones): New variable.
38971         (tests-special): Add zone files.
38972         (build-testdata): Use $(evaluate-test).
38974         * elf/Makefile (tests-special): Rename tests to end with .out.
38975         ($(objpfx)noload-mem): Likewise.
38976         ($(objpfx)tst-leaks1-mem): Likewise.
38977         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38978         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38979         $(objpfx)test-iconvconfig.out.
38980         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38981         set -e inside subshell and redirect output to file.
38982         * iconvdata/Makefile (generated): Rename tests to end with .out.
38983         Correct type.
38984         (tests-special): Rename tests to end with .out.
38985         ($(objpfx)mtrace-tst-loading): Likewise.
38986         * intl/Makefile (generated): Likewise.
38987         (tests-special): Likewise.
38988         ($(objpfx)mtrace-tst-gettext): Likewise.
38989         * misc/Makefile (generated): Likewise.
38990         (tests-special): Likewise.
38991         ($(objpfx)tst-error1-mem): Likewise.
38992         * nptl/Makefile (tests-special): Likewise.
38993         ($(objpfx)tst-stack3-mem): Likewise.
38994         (generated): Likewise.
38995         * posix/Makefile (generated): Likewise.
38996         (tests-special): Likewise.
38997         (xtests-special): Likewise.
38998         ($(objpfx)tst-fnmatch-mem): Likewise.
38999         ($(objpfx)bug-regex2-mem): Likewise.
39000         ($(objpfx)bug-regex14-mem): Likewise.
39001         ($(objpfx)bug-regex21-mem): Likewise.
39002         ($(objpfx)bug-regex31-mem): Likewise.
39003         ($(objpfx)tst-vfork3-mem): Likewise.
39004         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39005         ($(objpfx)tst-pcre-mem): Likewise.
39006         ($(objpfx)tst-boost-mem): Likewise.
39007         ($(objpfx)bug-ga2-mem): Likewise.
39008         ($(objpfx)bug-glob2-mem): Likewise.
39009         * resolv/Makefile (generate): Likewise.
39010         (tests-special): Likewise.
39011         (xtests-special): Likewise.
39012         (generated): Likewise.
39013         ($(objpfx)mtrace-tst-leaks): Likewise.
39014         ($(objpfx)mtrace-tst-leaks2): Likewise.
39016         * scripts/merge-test-results.sh: New file.
39017         * Makefile (tests-special-notdir): New variable.
39018         (tests): Run merge-test-results.sh.
39019         (xtests): Likewise.
39020         * Rules (tests-special-notdir): New variable.
39021         (xtests-special-notdir): Likewise.
39022         (tests): Run merge-test-results.sh
39023         (xtests): Likewise.
39025         * Makeconfig (test-xfail-name): New variable.
39026         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39027         compute variable name for expected failures.
39028         * conform/Makefile (conformtest-headers-data): New variable.
39029         (conformtest-standards): Likewise.
39030         (conformtest-headers-ISO): Likewise.
39031         (conformtest-headers-ISO99): Likewise.
39032         (conformtest-headers-ISO11): Likewise.
39033         (conformtest-headers-POSIX): Likewise.
39034         (conformtest-headers-XPG3): Likewise.
39035         (conformtest-headers-XPG4): Likewise.
39036         (conformtest-headers-UNIX98): Likewise.
39037         (conformtest-headers-XOPEN2K): Likewise.
39038         (conformtest-headers-POSIX2008): Likewise.
39039         (conformtest-headers-XOPEN2K8): Likewise.
39040         (conformtest-header-list-base): Likewise.
39041         (conformtest-header-list-tests): Likewise.
39042         (conformtest-header-base): Likewise.
39043         (conformtest-header-tests): Likewise.
39044         (tests-special): Add $(conformtest-header-list-tests).  If
39045         [$(fast-check) && !$(cross-compiling)], add
39046         $(conformtest-header-tests) instead of
39047         $(objpfx)run-conformtest.out.
39048         (generated): Add $(conformtest-header-list-base).  If
39049         [$(fast-check) && !$(cross-compiling)], add
39050         $(conformtest-header-base).  Remove previous setting.
39051         ($(conformtest-header-list-tests)): New target.
39052         (test-xfail-run-conformtest): Remove variable.
39053         ($(objpfx)run-conformtest.out): Remove target.
39054         (test-xfail-ISO11/complex.h/conform): New variable.
39055         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39056         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39057         (test-xfail-XPG3/varargs.h/conform): Likewise.
39058         (test-xfail-XPG4/varargs.h/conform): Likewise.
39059         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39060         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39061         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39062         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39063         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39064         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39065         (test-xfail-XPG3/ftw.h/conform): Likewise.
39066         (test-xfail-XPG3/grp.h/conform): Likewise.
39067         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39068         (test-xfail-XPG3/limits.h/conform): Likewise.
39069         (test-xfail-XPG3/pwd.h/conform): Likewise.
39070         (test-xfail-XPG3/search.h/conform): Likewise.
39071         (test-xfail-XPG3/signal.h/conform): Likewise.
39072         (test-xfail-XPG3/stdio.h/conform): Likewise.
39073         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39074         (test-xfail-XPG3/string.h/conform): Likewise.
39075         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39076         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39077         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39078         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39079         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39080         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39081         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39082         (test-xfail-XPG3/termios.h/conform): Likewise.
39083         (test-xfail-XPG3/time.h/conform): Likewise.
39084         (test-xfail-XPG3/unistd.h/conform): Likewise.
39085         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39086         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39087         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39088         (test-xfail-XPG4/netdb.h/conform): Likewise.
39089         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39090         (test-xfail-XPG4/signal.h/conform): Likewise.
39091         (test-xfail-XPG4/stdio.h/conform): Likewise.
39092         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39093         (test-xfail-XPG4/stropts.h/conform): Likewise.
39094         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39095         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39096         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39097         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39098         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39099         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39100         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39101         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39102         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39103         (test-xfail-XPG4/termios.h/conform): Likewise.
39104         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39105         (test-xfail-XPG4/unistd.h/conform): Likewise.
39106         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39107         (test-xfail-POSIX/sched.h/conform): Likewise.
39108         (test-xfail-POSIX/signal.h/conform): Likewise.
39109         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39110         (test-xfail-POSIX/tar.h/conform): Likewise.
39111         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39112         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39113         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39114         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39115         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39116         (test-xfail-UNIX98/sched.h/conform): Likewise.
39117         (test-xfail-UNIX98/signal.h/conform): Likewise.
39118         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39119         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39120         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39121         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39122         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39123         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39124         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39125         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39126         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39127         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39128         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39129         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39130         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39131         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39132         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39133         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39134         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39135         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39136         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39137         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39138         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39139         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39140         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39141         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39142         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39143         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39144         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39145         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39146         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39147         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39148         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39149         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39150         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39151         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39152         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39153         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39154         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39155         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39156         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39157         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39158         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39159         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39160         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39161         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39162         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39163         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39164         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39165         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39166         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39167         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39168         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39169         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39170         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39171         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39172         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39173         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39174         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39175         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39176         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39177         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39178         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39179         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39180         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39181         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39182         (conformtest-cc-flags): Likewise.
39183         ($(conformtest-header-tests): New target.
39184         * conform/check-header-lists.sh: New file.
39185         * conform/run-conformtest.sh: Remove.
39187         * conform/conformtest.pl: Allow ' and \ in values given for
39188         constants.
39189         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39190         inclusion.
39191         [POSIX] (sys/types.h): Likewise.
39192         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39193         inclusion.
39194         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39195         inclusion.
39196         * conform/data/signal.h-data (SIGIO): Remove expectation.
39197         [XPG3] (SIGBUS): Do not expect.
39198         [POSIX || XPG3] (SIGPOLL): Likewise.
39199         [POSIX || XPG3] (SIGPROF): Likewise.
39200         [POSIX || XPG3] (SIGSYS): Likewise.
39201         [XPG3] (SIGTRAP): Likewise.
39202         [POSIX || XPG3] (SIGURG): Likewise.
39203         [POSIX || XPG3] (SIGVTALRM): Likewise.
39204         [POSIX || XPG3] (SIGXCPU): Likewise.
39205         [POSIX || XPG3] (SIGXFSZ): Likewise.
39206         [POSIX] (SA_SIGINFO): Expect.
39207         [XPG3] (siginfo_t): Do not expect type or contents.
39208         [POSIX] (si_pid): Do not expect element.
39209         [POSIX] (si_uid): Likewise.
39210         [POSIX] (si_addr): Likewise.
39211         [POSIX] (si_status): Likewise.
39212         [POSIX] (si_band): Likewise.
39213         [XPG4] (si_value): Likewise.
39214         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39215         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39216         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39217         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39218         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39219         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39220         [POSIX || XPG3] (ILL_COPROC): Likewise.
39221         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39222         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39223         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39224         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39225         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39226         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39227         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39228         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39229         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39230         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39231         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39232         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39233         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39234         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39235         [POSIX || XPG3] (CLD_EXITED): Likewise.
39236         [POSIX || XPG3] (CLD_KILLED): Likewise.
39237         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39238         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39239         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39240         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39241         [POSIX || XPG3] (POLL_IN): Likewise.
39242         [POSIX || XPG3] (POLL_OUT): Likewise.
39243         [POSIX || XPG3] (POLL_MSG): Likewise.
39244         [POSIX || XPG3] (POLL_ERR): Likewise.
39245         [POSIX || XPG3] (POLL_PRI): Likewise.
39246         [POSIX || XPG3] (POLL_HUP): Likewise.
39247         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39248         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39249         (SIG*): Do not allow.
39250         [XPG3] (si_*): Likewise.
39251         [XPG3] (SI_*): Likewise.
39252         [XPG3 || XPG4] (sigev_*): Likewise.
39253         [XPG3 || XPG4] (SIGEV_*): Likewise.
39254         [XPG3 || XPG4] (sival_*): Likewise.
39255         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39256         [POSIX || XPG3] (BUS_*): Likewise.
39257         [POSIX || XPG3] (CLD_*): Likewise.
39258         [POSIX || XPG3] (FPE_*): Likewise.
39259         [POSIX || XPG3] (ILL_*): Likewise.
39260         [POSIX || XPG3] (POLL_*): Likewise.
39261         [POSIX || XPG3] (SEGV_*): Likewise.
39262         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39263         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39264         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39265         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39266         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39267         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39268         Specify type and value.
39269         (TVERSLEN): Likewise.
39270         (REGTYPE): Likewise.
39271         (AREGTYPE): Likewise.
39272         (LNKTYPE): Likewise.
39273         (SYMTYPE): Likewise.
39274         (CHRTYPE): Likewise.
39275         (BLKTYPE): Likewise.
39276         (DIRTYPE): Likewise.
39277         (FIFOTYPE): Likewise.
39278         (CONTTYPE): Likewise.
39279         (TSUID): Likewise.
39280         (TSGID): Likewise.
39281         (TSVTX): Likewise.
39282         (TUREAD): Likewise.
39283         (TUWRITE): Likewise.
39284         (TUEXEC): Likewise.
39285         (TGREAD): Likewise.
39286         (TGWRITE): Likewise.
39287         (TGEXEC): Likewise.
39288         (TOREAD): Likewise.
39289         (TOWRITE): Likewise.
39290         (TOEXEC): Likewise.
39291         [POSIX] (TSVTX): Expect constant.
39293 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39295         * Makefile (tests): Change dependencies to ....
39296         (tests-special): ... additions to this variable.
39297         (tests): Depend on $(tests-special).
39298         * Makerules (check-abi-list): New variable.
39299         (check-abi): Depend on $(check-abi-list).
39300         [$(subdir) = elf] (tests-special): Add
39301         $(objpfx)check-abi-libc.out.
39302         [$(build-shared) = yes && subdir] (tests-special): Add
39303         $(check-abi-list).
39304         [$(build-shared) = yes && subdir] (tests): Do not depend on
39305         check-abi.
39306         * Rules (tests): Depend on $(tests-special).
39307         (xtests): Depend on $(xtests-special).
39308         * catgets/Makefile (tests): Change dependencies to ....
39309         (tests-special): ... additions to this variable.
39310         * conform/Makefile (tests): Change dependencies to ....
39311         (tests-special): ... additions to this variable.
39312         * elf/Makefile (tests): Change dependencies to ....
39313         (tests-special): ... additions to this variable.
39314         * grp/Makefile (tests): Change dependencies to ....
39315         (tests-special): ... additions to this variable.
39316         * iconv/Makefile (xtests): Change dependencies to ....
39317         (xtests-special): ... additions to this variable.
39318         * iconvdata/Makefile (tests): Change dependencies to ....
39319         (tests-special): ... additions to this variable.
39320         * intl/Makefile (tests): Change dependencies to ....
39321         (tests-special): ... additions to this variable.  Also add
39322         $(objpfx)tst-gettext.out.
39323         * io/Makefile (tests): Change dependencies to ....
39324         (tests-special): ... additions to this variable.
39325         * libio/Makefile (tests): Change dependencies to ....
39326         (tests-special): ... additions to this variable.
39327         * malloc/Makefile (tests): Change dependencies to ....
39328         (tests-special): ... additions to this variable.
39329         * misc/Makefile (tests): Change dependencies to ....
39330         (tests-special): ... additions to this variable.
39331         * nptl/Makefile (tests): Change dependencies to ....
39332         (tests-special): ... additions to this variable.
39333         * nptl_db/Makefile (tests): Change dependencies to ....
39334         (tests-special): ... additions to this variable.
39335         * posix/Makefile (tests): Change dependencies to ....
39336         (tests-special): ... additions to this variable.
39337         (xtests): Change dependencies to ....
39338         (xtests-special): ... additions to this variable.
39339         * resolv/Makefile (tests): Change dependencies to ....
39340         (tests-special): ... additions to this variable.
39341         (xtests): Change dependencies to ....
39342         (xtests-special): ... additions to this variable.
39343         * stdio-common/Makefile (tests): Change dependencies to ....
39344         (tests-special): ... additions to this variable.
39345         (do-tst-unbputc): Remove target.
39346         (do-tst-printf): Likewise.
39347         * stdlib/Makefile (tests): Change dependencies to ....
39348         (tests-special): ... additions to this variable.
39349         * string/Makefile (tests): Change dependencies to ....
39350         (tests-special): ... additions to this variable.
39351         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39352         (tests-special): ... additions to this variable.
39354         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39355         whole file.
39356         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39357         whole file.
39358         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39359         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39361         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39362         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39363         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39364         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39365         * conform/data/libgen.h-data [XPG3]: Likewise.
39366         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39367         * conform/data/ndbm.h-data [XPG3]: Likewise.
39368         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39369         * conform/data/netdb.h-data [XPG3]: Likewise.
39370         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39371         * conform/data/poll.h-data [XPG3]: Likewise.
39372         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39373         * conform/data/strings.h-data [XPG3]: Likewise.
39374         * conform/data/stropts.h-data [XPG3]: Likewise.
39375         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39376         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39377         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39378         Likewise.
39379         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39380         * conform/data/sys/time.h-data [XPG3]: Likewise.
39381         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39382         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39383         * conform/data/sys/un.h-data [XPG3]: Likewise.
39384         * conform/data/syslog.h-data [XPG3]: Likewise.
39385         * conform/data/ucontext.h-data [XPG3]: Likewise.
39386         * conform/data/utmpx.h-data [XPG3]: Likewise.
39387         * conform/data/varargs.h-data [UNIX98]: Enable file.
39389         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39391         * math/libm-test.inc (struct test_f_f_data): Move expected results
39392         into structure for each rounding mode.
39393         (struct test_ff_f_data): Likewise.
39394         (struct test_ff_f_data_nexttoward): Likewise.
39395         (struct test_fi_f_data): Likewise.
39396         (struct test_fl_f_data): Likewise.
39397         (struct test_if_f_data): Likewise.
39398         (struct test_fff_f_data): Likewise.
39399         (struct test_c_f_data): Likewise.
39400         (struct test_f_f1_data): Likewise.
39401         (struct test_fF_f1_data): Likewise.
39402         (struct test_ffI_f1_data): Likewise.
39403         (struct test_c_c_data): Likewise.
39404         (struct test_cc_c_data): Likewise.
39405         (struct test_f_i_data): Likewise.
39406         (struct test_ff_i_data): Likewise.
39407         (struct test_f_l_data): Likewise.
39408         (struct test_f_L_data): Likewise.
39409         (struct test_fFF_11_data): Likewise.
39410         (RM_): New macro.
39411         (RM_FE_DOWNWARD): Likewise.
39412         (RM_FE_TONEAREST): Likewise.
39413         (RM_FE_TOWARDZERO): Likewise.
39414         (RM_FE_UPWARD): Likewise.
39415         (RUN_TEST_LOOP_f_f): Update references to expected results.
39416         (RUN_TEST_LOOP_2_f): Likewise.
39417         (RUN_TEST_LOOP_fff_f): Likewise.
39418         (RUN_TEST_LOOP_c_f): Likewise.
39419         (RUN_TEST_LOOP_f_f1): Likewise.
39420         (RUN_TEST_LOOP_fF_f1): Likewise.
39421         (RUN_TEST_LOOP_fI_f1): Likewise.
39422         (RUN_TEST_LOOP_ffI_f1): Likewise.
39423         (RUN_TEST_LOOP_c_c): Likewise.
39424         (RUN_TEST_LOOP_cc_c): Likewise.
39425         (RUN_TEST_LOOP_f_i): Likewise.
39426         (RUN_TEST_LOOP_f_i_tg): Likewise.
39427         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39428         (RUN_TEST_LOOP_f_b): Likewise.
39429         (RUN_TEST_LOOP_f_b_tg): Likewise.
39430         (RUN_TEST_LOOP_f_l): Likewise.
39431         (RUN_TEST_LOOP_f_L): Likewise.
39432         (RUN_TEST_LOOP_fFF_11): Likewise.
39433         * math/gen-libm-test.pl (parse_args): Output four copies of
39434         expected results for each test.
39436         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39437         (__ASSUME_UTIMES): Remove.
39438         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39439         (__ASSUME_UTIMES): Likewise.
39441         * math/gen-auto-libm-tests.c: Update comment on output format.
39442         (output_for_one_input_case): Generate before-rounding and
39443         after-rounding information as conditions on output flags not
39444         floating-point format.
39445         * math/auto-libm-test-out: Regenerated.
39446         * math/gen-libm-test.pl (cond_value): New function.
39447         (or_cond_value): Use cond_value.
39448         (generate_testfile): Handle conditional exceptions.
39450 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39452         * math/libm-test.inc (max_valid_error): New variable.
39453         (init_max_error): Take new argument specifying whether function
39454         results are exactly determined.  Set max_valid_error and bound
39455         other variables for errors based on this argument.
39456         (set_max_error): Do not record results above max_valid_error.
39457         (check_float_internal): Only accept errors of up to 0.5ulps if
39458         also at most max_valid_error.
39459         (START): Take new argument EXACT and pass it to init_max_error.
39460         (acos_test): Update call to START.
39461         (acos_test_tonearest): Likewise.
39462         (acos_test_towardzero): Likewise.
39463         (acos_test_downward): Likewise.
39464         (acos_test_upward): Likewise.
39465         (acosh_test): Likewise.
39466         (asin_test): Likewise.
39467         (asin_test_tonearest): Likewise.
39468         (asin_test_towardzero): Likewise.
39469         (asin_test_downward): Likewise.
39470         (asin_test_upward): Likewise.
39471         (asinh_test): Likewise.
39472         (atan_test): Likewise.
39473         (atanh_test): Likewise.
39474         (atan2_test): Likewise.
39475         (cabs_test): Likewise.
39476         (cacos_test): Likewise.
39477         (cacosh_test): Likewise.
39478         (carg_test): Likewise.
39479         (casin_test): Likewise.
39480         (casinh_test): Likewise.
39481         (catan_test): Likewise.
39482         (catanh_test): Likewise.
39483         (cbrt_test): Likewise.
39484         (ccos_test): Likewise.
39485         (ccosh_test): Likewise.
39486         (ceil_test): Likewise.
39487         (cexp_test): Likewise.
39488         (cimag_test): Likewise.
39489         (clog_test): Likewise.
39490         (clog10_test): Likewise.
39491         (conj_test): Likewise.
39492         (copysign_test): Likewise.
39493         (cos_test): Likewise.
39494         (cos_test_tonearest): Likewise.
39495         (cos_test_towardzero): Likewise.
39496         (cos_test_downward): Likewise.
39497         (cos_test_upward): Likewise.
39498         (cosh_test): Likewise.
39499         (cosh_test_tonearest): Likewise.
39500         (cosh_test_towardzero): Likewise.
39501         (cosh_test_downward): Likewise.
39502         (cosh_test_upward): Likewise.
39503         (cpow_test): Likewise.
39504         (cproj_test): Likewise.
39505         (creal_test): Likewise.
39506         (csin_test): Likewise.
39507         (csinh_test): Likewise.
39508         (csqrt_test): Likewise.
39509         (ctan_test): Likewise.
39510         (ctan_test_tonearest): Likewise.
39511         (ctan_test_towardzero): Likewise.
39512         (ctan_test_downward): Likewise.
39513         (ctan_test_upward): Likewise.
39514         (ctanh_test): Likewise.
39515         (ctanh_test_tonearest): Likewise.
39516         (ctanh_test_towardzero): Likewise.
39517         (ctanh_test_downward): Likewise.
39518         (ctanh_test_upward): Likewise.
39519         (erf_test): Likewise.
39520         (erfc_test): Likewise.
39521         (exp_test): Likewise.
39522         (exp_test_tonearest): Likewise.
39523         (exp_test_towardzero): Likewise.
39524         (exp_test_downward): Likewise.
39525         (exp_test_upward): Likewise.
39526         (exp10_test): Likewise.
39527         (exp10_test_tonearest): Likewise.
39528         (exp10_test_towardzero): Likewise.
39529         (exp10_test_downward): Likewise.
39530         (exp10_test_upward): Likewise.
39531         (pow10_test): Likewise.
39532         (exp2_test): Likewise.
39533         (expm1_test): Likewise.
39534         (expm1_test_tonearest): Likewise.
39535         (expm1_test_towardzero): Likewise.
39536         (expm1_test_downward): Likewise.
39537         (expm1_test_upward): Likewise.
39538         (fabs_test): Likewise.
39539         (fdim_test): Likewise.
39540         (floor_test): Likewise.
39541         (fma_test): Likewise.
39542         (fma_test_towardzero): Likewise.
39543         (fma_test_downward): Likewise.
39544         (fma_test_upward): Likewise.
39545         (fmax_test): Likewise.
39546         (fmin_test): Likewise.
39547         (fmod_test): Likewise.
39548         (fpclassify_test): Likewise.
39549         (frexp_test): Likewise.
39550         (hypot_test): Likewise.
39551         (ilogb_test): Likewise.
39552         (isfinite_test): Likewise.
39553         (finite_test): Likewise.
39554         (isgreater_test): Likewise.
39555         (isgreaterequal_test): Likewise.
39556         (isinf_test): Likewise.
39557         (isless_test): Likewise.
39558         (islessequal_test): Likewise.
39559         (islessgreater_test): Likewise.
39560         (isnan_test): Likewise.
39561         (isnormal_test): Likewise.
39562         (issignaling_test): Likewise.
39563         (isunordered_test): Likewise.
39564         (j0_test): Likewise.
39565         (j1_test): Likewise.
39566         (jn_test): Likewise.
39567         (ldexp_test): Likewise.
39568         (lgamma_test): Likewise.
39569         (gamma_test): Likewise.
39570         (lrint_test): Likewise.
39571         (lrint_test_tonearest): Likewise.
39572         (lrint_test_towardzero): Likewise.
39573         (lrint_test_downward): Likewise.
39574         (lrint_test_upward): Likewise.
39575         (llrint_test): Likewise.
39576         (llrint_test_tonearest): Likewise.
39577         (llrint_test_towardzero): Likewise.
39578         (llrint_test_downward): Likewise.
39579         (llrint_test_upward): Likewise.
39580         (log_test): Likewise.
39581         (log10_test): Likewise.
39582         (log1p_test): Likewise.
39583         (log2_test): Likewise.
39584         (logb_test): Likewise.
39585         (logb_test_downward): Likewise.
39586         (lround_test): Likewise.
39587         (llround_test): Likewise.
39588         (modf_test): Likewise.
39589         (nearbyint_test): Likewise.
39590         (nextafter_test): Likewise.
39591         (nexttoward_test): Likewise.
39592         (pow_test): Likewise.
39593         (pow_test_tonearest): Likewise.
39594         (pow_test_towardzero): Likewise.
39595         (pow_test_downward): Likewise.
39596         (pow_test_upward): Likewise.
39597         (remainder_test): Likewise.
39598         (drem_test): Likewise.
39599         (remainder_test_tonearest): Likewise.
39600         (drem_test_tonearest): Likewise.
39601         (remainder_test_towardzero): Likewise.
39602         (drem_test_towardzero): Likewise.
39603         (remainder_test_downward): Likewise.
39604         (drem_test_downward): Likewise.
39605         (remainder_test_upward): Likewise.
39606         (drem_test_upward): Likewise.
39607         (remquo_test): Likewise.
39608         (rint_test): Likewise.
39609         (rint_test_tonearest): Likewise.
39610         (rint_test_towardzero): Likewise.
39611         (rint_test_downward): Likewise.
39612         (rint_test_upward): Likewise.
39613         (round_test): Likewise.
39614         (scalb_test): Likewise.
39615         (scalbn_test): Likewise.
39616         (scalbln_test): Likewise.
39617         (signbit_test): Likewise.
39618         (sin_test): Likewise.
39619         (sin_test_tonearest): Likewise.
39620         (sin_test_towardzero): Likewise.
39621         (sin_test_downward): Likewise.
39622         (sin_test_upward): Likewise.
39623         (sincos_test): Likewise.
39624         (sinh_test): Likewise.
39625         (sinh_test_tonearest): Likewise.
39626         (sinh_test_towardzero): Likewise.
39627         (sinh_test_downward): Likewise.
39628         (sinh_test_upward): Likewise.
39629         (sqrt_test): Likewise.
39630         (sqrt_test_tonearest): Likewise.
39631         (sqrt_test_towardzero): Likewise.
39632         (sqrt_test_downward): Likewise.
39633         (sqrt_test_upward): Likewise.
39634         (tan_test): Likewise.
39635         (tan_test_tonearest): Likewise.
39636         (tan_test_towardzero): Likewise.
39637         (tan_test_downward): Likewise.
39638         (tan_test_upward): Likewise.
39639         (tanh_test): Likewise.
39640         (tgamma_test): Likewise.
39641         (trunc_test): Likewise.
39642         (y0_test): Likewise.
39643         (y1_test): Likewise.
39644         (yn_test): Likewise.
39645         (significand_test): Likewise.
39647         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39648         individual tests in comment.
39649         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39650         (prev_max_error): New variable.
39651         (prev_real_max_error): Likewise.
39652         (prev_imag_max_error): Likewise.
39653         (compare_ulp_data): Don't refer to test names in comment.
39654         (find_test_ulps): Remove function.
39655         (find_function_ulps): Likewise.
39656         (find_complex_function_ulps): Likewise.
39657         (init_max_error): Take function name as argument.  Look up ulps
39658         for that function.
39659         (print_ulps): Remove function.
39660         (print_max_error): Use prev_max_error instead of calling
39661         find_function_ulps.
39662         (print_complex_max_error): Use prev_real_max_error and
39663         prev_imag_max_error instead of calling find_complex_function_ulps.
39664         (check_float_internal): Take max_ulp parameter instead of calling
39665         find_test_ulps.  Don't call print_ulps.
39666         (check_float): Update call to check_float_internal.
39667         (check_complex): Update calls to check_float_internal.
39668         (START): Pass argument to init_max_error.
39669         * math/gen-libm-test.pl (%results): Don't include "kind"
39670         information.
39671         (parse_ulps): Don't handle ulps of individual tests.
39672         (print_ulps_file): Likewise.
39673         (output_ulps): Likewise.
39674         * math/README.libm-test: Update.
39675         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39676         individual tests.
39677         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39678         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39679         * sysdeps/arm/libm-test-ulps: Likewise.
39680         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39681         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39682         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39683         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39684         * sysdeps/microblaze/libm-test-ulps: Likewise.
39685         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39686         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39687         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39688         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39689         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39690         * sysdeps/sh/libm-test-ulps: Likewise.
39691         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39692         * sysdeps/tile/libm-test-ulps: Likewise.
39693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39695 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39697         * math/libm-test.inc (print_complex_max_error): Check separately
39698         whether real and imaginary errors are within allowed range and
39699         pass 0 to print_complex_function_ulps instead of value within
39700         allowed range.
39702 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39704         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39705         formatting.
39706         (get_handles_fopen): Likewise.
39707         (do_write_test): Likewise.
39709         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39711         * libio/fileops.c (do_ftell): Use cached offset when
39712         available.
39713         * libio/iofwide.c (do_ftell_wide): Likewise.
39714         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39715         _IO_file_attach.
39716         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39718         [BZ #16532]
39719         * libio/libioP.h (get_file_offset): New function.
39720         * libio/fileops.c (get_file_offset): Likewise.
39721         (do_ftell): Likewise.
39722         (_IO_new_file_seekoff): Split out ftell logic.
39723         * libio/wfileops.c (do_ftell_wide): Likewise.
39724         (_IO_wfile_seekoff): Split out ftell logic.
39725         * libio/tst-ftell-active-handler.c: New test case.
39726         * libio/Makefile (tests): Add it.
39728 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39730         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39731         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39733 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39735         [BZ #16639]
39736         * nscd/connections.c (nscd_init): Call do_exit.
39737         (start_threads): Call do_exit and notify_parent.
39738         (begin_drop_privileges): Call do_exit.
39739         (finish_drop_privileges): Likewise.
39740         * nscd/selinux.c (preserve_capabilities): Likewise.
39741         (install_real_capabilities): Likewise.
39742         (nscd_selinux_enabled): Likewise.
39743         (avc_create_thread): Likewise.
39744         (avc_alloc_lock): Likewise.
39745         (nscd_avc_init): Likewise.
39746         * nscd/nscd.c (parent_fd): New static variable.
39747         (main): Create a pipe between parent and child processes.
39748         Skip closing parent_fd.
39749         (monitor_child): New function.
39750         (do_exit): Likewise.
39751         (notify_parent): Likewise.
39752         * nscd/nscd.h (notify_parent): Likewise.
39753         (do_exit): Likewise.
39755 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39757         * malloc/malloc.c (__libc_calloc): Revert last change.
39759 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39763 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39765         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39767         implementation.
39768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39769         (__libc_ifunc_impl_list): Likewise.
39770         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39771         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39772         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39773         * string/strrchr.c: Define STRRCHR.
39775 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39777         * benchtest/bench-strtok.c (simple_strtok): Delete.
39778         (strtok_string): Use as benchmark.
39779         * string/strtok (STRTOK): New macro.
39781 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39783         * manual/threads.texi: Add header and standard comments to all
39784         functions.
39786         * elf/dl-lookup.c (check_match): New function.
39787         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39788         (do_lookup_x): Remove nested function check_match. Use non-nested
39789         function check_match.
39791 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39793         * csu/Makefile (generated, before-compile): Use += rather than =.
39794         * catgets/Makefile (generated, generated-dirs): Likewise.
39795         * debug/Makefile (generated): Likewise.
39796         * dlfcn/Makefile (generated): Likewise.
39797         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39798         * iconvdata/Makefile (before-compile, generated): Likewise.
39799         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39800         * libio/Makefile (generated): Likewise.
39801         * malloc/Makefile (generated): Likewise.
39802         * manual/Makefile (generated, generated-dirs): Likewise.
39803         * misc/Makefile (generated): Likewise.
39804         * posix/Makefile (generated): Likewise.
39805         * resolv/Makefile (generated): Likewise.
39806         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39807         * timezone/Makefile (generated, generated-dirs): Likewise.
39809         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39811 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39814         power8 implementation.
39815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39816         file: POWER8 llround ifunc implementation.
39817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39818         (__lllround): Add POWER8 implementation.
39819         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39820         POWER8 llround implementation.
39822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39823         power8 implementation.
39824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39825         file: POWER8 llrint ifunc implementation.
39826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39827         Add POWER8 implementation.
39828         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39829         POWER8 llrint implementation.
39831         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39832         power8 implementation.
39833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39834         file: POWER8 finite ifunc implementation.
39835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39836         Add POWER8 implementation.
39837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39838         Likewise.
39839         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39840         POWER8 finite implementation.
39841         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39843         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39844         power8 implementation.
39845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39846         file: POWER8 isinf ifunc implementation.
39847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39848         POWER8 implementation.
39849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39850         Likewise.
39851         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39852         isinf implementation.
39853         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39855         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39856         (INIT_ARCH): Add hwcap2 initialization.
39857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39858         power8 implementation.
39859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39860         file: POWER8 isnan ifunc implementation.
39861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39862         POWER8 implementation.
39863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39864         Likewise.
39865         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39866         isnan implementation.
39867         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39869 2014-02-27  Joey Ye  <joey.ye@arm.com>
39871         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39872         (_FP_NANFRAC_Q): Set to zero.
39874 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39876         [BZ #16623]
39877         * math/auto-libm-test-in: New test inputs.
39878         * math/auto-libm-test-out: Regenerate.
39879         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39880         and DA.
39881         (__cos): Likewise.
39882         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39884 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39886         * scripts/evaluate-test.sh: Take new argument indicating whether
39887         failure is expected.
39888         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39889         indicating whether failure is expected.
39890         * conform/Makefile (test-xfail-run-conformtest): New variable.
39891         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39892         level.
39893         * posix/Makefile (test-xfail-annexc): New variable.
39894         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39896 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39898         * argp/Makefile: Include Makeconfig immediately after defining
39899         subdir.
39900         * assert/Makefile: Likewise.
39901         * benchtests/Makefile: Likewise.
39902         * catgets/Makefile: Likewise.
39903         * conform/Makefile: Likewise.
39904         * crypt/Makefile: Likewise.
39905         * csu/Makefile: Likewise.
39906         (all): Remove target.
39907         * ctype/Makefile: Include Makeconfig immediately after defining
39908         subdir.
39909         * debug/Makefile: Likewise.
39910         * dirent/Makefile: Likewise.
39911         * dlfcn/Makefile: Likewise.
39912         * gmon/Makefile: Likewise.
39913         * gnulib/Makefile: Likewise.
39914         * grp/Makefile: Likewise.
39915         * gshadow/Makefile: Likewise.
39916         * hesiod/Makefile: Likewise.
39917         * hurd/Makefile: Likewise.
39918         (all): Remove target.
39919         * iconvdata/Makefile: Include Makeconfig immediately after
39920         defining subdir.
39921         * inet/Makefile: Likewise.
39922         * intl/Makefile: Likewise.
39923         * io/Makefile: Likewise.
39924         * libio/Makefile: Likewise.
39925         (all): Remove target.
39926         * locale/Makefile: Include Makeconfig immediately after defining
39927         subdir.
39928         * login/Makefile: Likewise.
39929         * mach/Makefile: Likewise.
39930         (all): Remove target.
39931         * malloc/Makefile: Include Makeconfig immediately after defining
39932         subdir.
39933         (all): Remove target.
39934         * manual/Makefile: Include Makeconfig immediately after defining
39935         subdir.
39936         * math/Makefile: Likewise.
39937         * misc/Makefile: Likewise.
39938         * nis/Makefile: Likewise.
39939         * nss/Makefile: Likewise.
39940         * po/Makefile: Likewise.
39941         (all): Remove target.
39942         * posix/Makefile: Include Makeconfig immediately after defining
39943         subdir.
39944         * pwd/Makefile: Likewise.
39945         * resolv/Makefile: Likewise.
39946         * resource/Makefile: Likewise.
39947         * rt/Makefile: Likewise.
39948         * setjmp/Makefile: Likewise.
39949         * shadow/Makefile: Likewise.
39950         * signal/Makefile: Likewise.
39951         * socket/Makefile: Likewise.
39952         * soft-fp/Makefile: Likewise.
39953         * stdio-common/Makefile: Likewise.
39954         * stdlib/Makefile: Likewise.
39955         * streams/Makefile: Likewise.
39956         * string/Makefile: Likewise.
39957         * sunrpc/Makefile: Likewise.
39958         (all): Remove target.
39959         * sysvipc/Makefile: Include Makeconfig immediately after defining
39960         subdir.
39961         * termios/Makefile: Likewise.
39962         * time/Makefile: Likewise.
39963         * timezone/Makefile: Likewise.
39964         (all): Remove target.
39965         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39966         subdir.
39967         * wctype/Makefile: Likewise.
39969 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39971         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39972         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39973         (libc_feholdexcept_setround_mips): Ditto.
39974         (libc_feholdsetround): New.
39975         (libc_feholdsetroundf): New.
39976         (libc_feholdsetroundl): New.
39977         (libc_feupdateenv_test_mips): New.
39978         (libc_feupdateenv_test): New.
39979         (libc_feupdateenv_testf): New.
39980         (libc_feupdateenv_testl): New.
39981         (libc_feresetround): New.
39982         (libc_feresetroundf): New.
39983         (libc_feresetroundl): New.
39984         (libc_fetestexcept_mips): New.
39985         (libc_fetestexcept): New.
39986         (libc_fetestexceptf): New.
39987         (libc_fetestexceptl): New.
39988         (HAVE_RM_CTX): New.
39989         (libc_feholdexcept_setround_mips_ctx): New.
39990         (libc_feholdexcept_setround_ctx): New.
39991         (libc_feholdexcept_setroundf_ctx): New.
39992         (libc_feholdexcept_setroundl_ctx): New.
39993         (libc_fesetenv_mips_ctx): New.
39994         (libc_fesetenv_ctx): New.
39995         (libc_fesetenv_ctxf): New.
39996         (libc_fesetenv_ctxl): New.
39997         (libc_feupdateenv_mips_ctx): New.
39998         (libc_feupdateenv_ctx): New.
39999         (libc_feupdateenvf_ctx): New.
40000         (libc_feupdateenvl_ctx): New.
40001         (libc_feholdsetround_mips_ctx): New.
40002         (libc_feholdsetround_ctx): New.
40003         (libc_feholdsetroundf_ctx): New.
40004         (libc_feholdsetroundl_ctx): New.
40005         (libc_feresetround_mips_ctx): New.
40006         (libc_feresetround_ctx): New.
40007         (libc_feresetroundf_ctx): New.
40008         (libc_feresetroundl_ctx): New.
40010 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40012         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40014         * manual/ipc.texi: New file.
40015         * manual/Makefile (chapters): Add ipc.
40016         * manual/job.texi: Add "Inter-Process Communication" to next.
40017         * manual/process.texi: Add "Inter-Process Communication" to prev.
40019 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40023 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40025         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40027         * manual/arith.texi: Fix spaces after sentences.
40028         * manual/charset.texi: Likewise.
40029         * manual/errno.texi: Likewise.
40030         * manual/install.texi: Likewise.
40031         * manual/llio.texi: Likewise.
40032         * manual/locale.texi: Likewise.
40033         * manual/maint.texi: Likewise.
40034         * manual/math.texi: Likewise.
40035         * manual/memory.texi: Likewise.
40036         * manual/message.texi: Likewise.
40037         * manual/probes.texi: Likewise.
40038         * manual/resource.texi: Likewise.
40039         * manual/signal.texi: Likewise.
40040         * manual/socket.texi: Likewise.
40041         * manual/stdio.texi: Likewise.
40042         * manual/string.texi: Likewise.
40043         * manual/time.texi: Likewise.
40044         * manual/users.texi: Likewise.
40046 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40048         [BZ #16632]
40049         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40050         _DEFAULT_SOURCE is defined.
40052 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40053             Carlos O'Donell  <carlos@redhat.com>
40055         [BZ #16613]
40056         * elf/dl-tls.c (_dl_count_modids): New function.
40057         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40058         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40059         audit library and increment generation counter.
40060         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40061         * elf/tst-audit9.c: New file.
40062         * elf/tst-auditmod9a.c: New file.
40063         * elf/tst-auditmod9b.c: New file.
40064         * elf/Makefile: Add rules to build and run tst-audit9.
40066 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40068         [BZ #15347]
40069         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40071 2014-02-25  Will Newton  <will.newton@linaro.org>
40073         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40074         (__longjmp): Restore sp and lr before restoring callee
40075         saved registers.  Add longjmp and longjmp_target
40076         SystemTap probe point.
40077         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40078         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40079         Define to zero to match jmpbuf layout.
40080         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40081         (__sigsetjmp): Save sp and lr before saving callee
40082         saved registers.  Add setjmp SystemTap probe point.
40084 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40086         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40088 2014-02-24  Andreas Schwab  <schwab@suse.de>
40090         [BZ #15804]
40091         * elf/pldd.c (wait_for_ptrace_stop): New function.
40092         (main): Call it after attaching.
40094 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40096         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40097         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40098         Versions files is now verboten.
40099         * hurd/Versions (libc: GLIBC_2.0):
40100         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40101         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40102         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40103         * mach/Versions: Likewise.
40105         * csu/Versions: Remove unused %include.
40106         * resolv/Versions: Likewise.
40108 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40110         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40111         ($(objpfx)check-local-headers.out): Likewise.
40112         ($(objpfx)begin-end-check.out): Likewise.
40113         * Makerules (check-abi-%.out): Likewise.
40114         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40115         ($(objpfx)test2.cat): Likewise.
40116         ($(objpfx)de/libc.cat): Likewise.
40117         ($(objpfx)test-gencat.out): Likewise.
40118         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40119         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40120         ($(objpfx)noload-mem): Likewise.
40121         ($(objpfx)tst-pathopt.out): Likewise.
40122         ($(objpfx)tst-rtld-load-self.out): Likewise.
40123         ($(objpfx)tst-array1-cmp.out): Likewise.
40124         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40125         ($(objpfx)tst-array2-cmp.out): Likewise.
40126         ($(objpfx)tst-array3-cmp.out): Likewise.
40127         ($(objpfx)tst-array4-cmp.out): Likewise.
40128         ($(objpfx)tst-array5-cmp.out): Likewise.
40129         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40130         ($(objpfx)check-textrel.out): Likewise.
40131         ($(objpfx)check-execstack.out): Likewise.
40132         ($(objpfx)check-localplt.out): Likewise.
40133         ($(objpfx)order2-cmp.out): Likewise.
40134         ($(objpfx)tst-leaks1-mem): Likewise.
40135         ($(objpfx)tst-leaks1-static-mem): Likewise.
40136         ($(objpfx)tst-initorder-cmp.out): Likewise.
40137         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40138         ($(objpfx)tst-unused-dep.out): Likewise.
40139         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40140         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40141         * iconv/Makefile (test-iconvconfig): Likewise.
40142         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40143         ($(objpfx)iconv-test.out): Likewise.
40144         ($(objpfx)tst-tables.out): Likewise.
40145         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40146         ($(objpfx)tst-gettext.out): Likewise.
40147         ($(objpfx)tst-translit.out): Likewise.
40148         ($(objpfx)tst-gettext2.out): Likewise.
40149         ($(objpfx)tst-gettext4.out): Likewise.
40150         ($(objpfx)tst-gettext6.out): Likewise.
40151         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40152         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40153         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40154         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40155         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40156         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40157         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40158         ($(objpfx)wordexp-tst.out): Likewise.
40159         ($(objpfx)annexc.out): Likewise.
40160         ($(objpfx)tst-fnmatch-mem): Likewise.
40161         ($(objpfx)bug-regex2-mem): Likewise.
40162         ($(objpfx)bug-regex14-mem): Likewise.
40163         ($(objpfx)bug-regex21-mem): Likewise.
40164         ($(objpfx)bug-regex31-mem): Likewise.
40165         ($(objpfx)tst-vfork3-mem): Likewise.
40166         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40167         ($(objpfx)tst-pcre-mem): Likewise.
40168         ($(objpfx)tst-boost-mem): Likewise.
40169         ($(objpfx)tst-getconf.out): Likewise.
40170         ($(objpfx)bug-ga2-mem): Likewise.
40171         ($(objpfx)bug-glob2-mem): Likewise.
40172         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40173         ($(objpfx)mtrace-tst-leaks2): Likewise.
40174         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40175         ($(objpfx)tst-printf.out): Likewise.
40176         ($(objpfx)tst-setvbuf1.out): Likewise.
40177         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40178         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40179         ($(objpfx)tst-fmtmsg.out): Likewise.
40180         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40181         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40183         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40184         * bits/sigaction.h [__USE_MISC]: Likewise.
40185         * bits/waitstatus.h: Update #endif comments.
40186         * ctype/ctype.h: Likewise.
40187         * dirent/dirent.h: Likewise.
40188         [__USE_MISC]: Remove redundant conditionals.
40189         * grp/grp.h: Update #endif comments.
40190         [__USE_GNU]: Remove redundant conditionals.
40191         [__USE_MISC]: Likewise.
40192         * inet/netinet/in.h [__USE_GNU]: Likewise.
40193         * io/sys/stat.h [__USE_MISC]: Likewise.
40194         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40195         * libio/bits/stdio.h: Update #endif comments.
40196         [__USE_MISC]: Remove redundant conditionals.
40197         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40198         * libio/stdio.h: Update #endif comments.
40199         [__USE_MISC]: Remove redundant conditionals.
40200         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40201         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40202         * math/math.h: Update #else and #endif comments.
40203         [__USE_MISC]: Remove redundant conditionals.
40204         * misc/sys/uio.h: Update #endif comments.
40205         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40206         * posix/glob.h [__USE_MISC]: Likewise.
40207         * posix/sys/types.h: Update #endif comments.
40208         [__USE_MISC]: Remove redundant conditionals.
40209         * posix/sys/wait.h: Update #endif comments.
40210         [__USE_MISC]: Remove redundant conditionals.
40211         * posix/unistd.h: Update #endif comments.
40212         [__USE_MISC]: Remove redundant conditionals.
40213         * pwd/pwd.h [__USE_GNU]: Likewise.
40214         [__USE_MISC]: Likewise.
40215         * resolv/netdb.h [__USE_GNU]: Likewise.
40216         * signal/signal.h: Update #endif comments.
40217         [__USE_MISC]: Remove redundant conditionals.
40218         * stdlib/stdlib.h: Update #else and #endif comments.
40219         [__USE_MISC]: Remove redundant conditionals.
40220         [__USE_GNU]: Likewise.
40221         * string/bits/string2.h [__USE_MISC]: Likewise.
40222         * string/string.h: Update #endif comments.
40223         [__USE_MISC]: Remove redundant conditionals.
40224         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40225         Likewise.
40226         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40227         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40228         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40229         Likewise.
40230         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40231         Likewise.
40232         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40233         comments.
40234         [__USE_MISC]: Remove redundant conditionals.
40235         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40236         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40237         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40238         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40239         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40240         Likewise.
40241         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40242         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40243         Likewise.
40244         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40245         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40246         Likewise.
40247         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40248         Likewise.
40249         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40250         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40251         Likewise.
40252         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40253         Likewise.
40254         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40255         * sysdeps/x86/bits/string.h: Update #endif comments.
40256         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40257         conditionals.
40258         * time/sys/time.h: Update #endif comments.
40259         * time/time.h: Likewise.
40260         [__USE_MISC]: Remove redundant conditionals.
40262 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40264         [BZ #16600]
40265         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40267 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40269         * Versions.def (librt): Add GLIBC_2.17.
40271 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40273         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40274         synonym for _SYS_AUXV_H to allow direct inclusion.
40275         * sysdeps/sparc/bits/hwcap.h: Likewise.
40276         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40277         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40278         * sysdeps/sparc/sysdep.h: Likewise.
40280 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40282         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40284 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40286         * benchtests/bench-strrchr.c: Print length instead of position.
40288 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40290         [BZ #16611]
40291         * sysdeps/unix/sysv/linux/kernel-features.h
40292         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40293         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40294         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40295         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40296         Likewise.
40297         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40298         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40299         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40300         (__ASSUME_SENDMMSG): Define instead of using previous
40301         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40302         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40303         (__ASSUME_SENDMMSG_SYSCALL): Define.
40304         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40305         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40306         Likewise.
40307         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40308         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40309         Likewise.
40310         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40311         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40312         Likewise.
40313         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40314         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40315         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40316         [__ASSUME_SENDMMSG]: Change conditionals to
40317         [__ASSUME_SENDMMSG_SOCKETCALL].
40318         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40319         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40320         Define.
40321         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40322         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40323         Likewise.
40324         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40325         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40326         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40327         [!__ASSUME_SENDMMSG]: Change conditional to
40328         [!__ASSUME_SENDMMSG_SOCKETCALL].
40329         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40330         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40331         Define.
40333         [BZ #16610]
40334         * sysdeps/unix/sysv/linux/kernel-features.h
40335         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40336         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40337         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40338         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40339         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40340         [__i386__ || __sparc__]
40341         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40342         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40343         (__ASSUME_RECVMMSG): Define instead of using previous
40344         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40345         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40346         (__ASSUME_RECVMMSG_SYSCALL): Define.
40347         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40348         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40349         Likewise.
40350         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40351         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40352         Likewise.
40353         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40354         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40355         Likewise.
40356         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40357         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40358         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40359         [__ASSUME_RECVMMSG]: Change condition to
40360         [__ASSUME_RECVMMSG_SOCKETCALL].
40361         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40362         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40363         Define.
40364         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40365         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40366         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40367         Likewise.
40368         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40369         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40370         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40371         [!__ASSUME_RECVMMSG]: Change condition to
40372         [!__ASSUME_RECVMMSG_SOCKETCALL].
40373         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40374         (__ASSUME_RECVMMSG_SYSCALL): Define.
40376         [BZ #16609]
40377         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40378         __powerpc__ || __s390__ || __sh__ || __sparc__]
40379         (__ASSUME_SOCKETCALL): Define.
40380         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40381         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40382         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40383         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40384         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40385         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40386         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40387         (__ASSUME_ACCEPT4): Define instead of using previous
40388         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40389         __powerpc__ || __sparc__ || __s390__)] condition.
40390         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40391         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40392         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40393         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40394         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40395         [!__ASSUME_ACCEPT4]: Change condition to
40396         [!__ASSUME_ACCEPT4_SOCKETCALL].
40397         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40398         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40399         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40400         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40401         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40402         __ASSUME_ACCEPT4_SYSCALL.
40403         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40404         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40405         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40406         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40407         __ASSUME_ACCEPT4_SYSCALL.
40408         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40409         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40410         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40411         [__ASSUME_ACCEPT4]: Change condition to
40412         [__ASSUME_ACCEPT4_SOCKETCALL].
40413         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40414         (__ASSUME_SOCKETCALL): Define.
40415         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40416         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40417         (__ASSUME_SOCKETCALL): Define.
40418         (__ASSUME_ACCEPT4): Remove.
40419         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40420         Define.
40421         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40422         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40423         Likewise.
40424         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40425         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40427         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40428         macro.
40429         (HWCAP_ARM_LPAE): Likewise.
40430         (HWCAP_ARM_EVTSTRM): Likewise.
40431         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40432         Add vpfd32, lpae and evtstrm.
40433         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40434         Increase to 22.
40436 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40438         * math/auto-libm-test-in: Add tests of clog10.
40439         * math/auto-libm-test-out: Regenerated.
40440         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40441         * sysdeps/i386/fpu/libm-test-ulps: Update.
40442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40444 2014-02-18  Andreas Schwab  <schwab@suse.de>
40446         [BZ #16574]
40447         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40448         Store non-zero if the second buffer was newly allocated.
40449         (send_dg): Likewise.
40450         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40451         to send_vc and send_dg.
40452         (res_nsend): Pass NULL for ansp2_malloced.
40453         * resolv/res_query.c (__libc_res_nquery): Add parameter
40454         answerp2_malloced and pass it down to __libc_res_nsend.
40455         (res_nquery): Pass additional NULL to __libc_res_nquery.
40456         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40457         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40458         second answer buffer if answerp2_malloced was set.
40459         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40460         (__libc_res_nquerydomain): Add parameter
40461         answerp2_malloced and pass it down to __libc_res_nquery.
40462         (res_nquerydomain): Pass additional NULL to
40463         __libc_res_nquerydomain.
40464         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40465         additional NULL to __libc_res_nsend and __libc_res_nquery.
40466         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40467         additional NULL to __libc_res_nsearch.
40468         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40469         parameter of __libc_res_nsearch to check for separately allocated
40470         second buffer.
40471         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40472         __libc_res_nquery.
40473         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40474         additional NULL to __libc_res_nquery.
40475         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40476         __libc_res_nsearch.
40477         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40478         * include/resolv.h: Update prototypes of __libc_res_nquery,
40479         __libc_res_nsearch, __libc_res_nsend.
40481 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40483         * math/auto-libm-test-in: Add tests of fma.
40484         * math/auto-libm-test-out: Regenerated.
40485         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40486         (fma_towardzero_test_data): Likewise.
40487         (fma_downward_test_data): Likewise.
40488         (fma_upward_test_data): Likewise.
40489         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40490         mpc_mode.
40491         (rounding_modes): Add values for new field.
40492         (func_calc_method): Add value mpfr_fff_f.
40493         (func_calc_desc): Add mpfr_fff_f union field.
40494         (test_function): Add field exact_args.
40495         (FUNC): Add macro argument EXACT_ARGS.
40496         (FUNC_mpfr_f_f): Update call to FUNC.
40497         (FUNC_mpfr_f_f): Likewise.
40498         (FUNC_mpfr_ff_f): Likewise.
40499         (FUNC_mpfr_if_f): Likewise.
40500         (FUNC_mpc_c_f): Likewise.
40501         (FUNC_mpc_c_c): Likewise.
40502         (test_functions): Add fma.  Update calls to FUNC.
40503         (handle_input_arg): Add argument exact_args.
40504         (add_test): Update call to handle_input_arg.
40505         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40506         (output_for_one_input_case): Update call to calc_generic_results.
40507         Recalculate exact zero results in each rounding mode.
40509         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40510         non-negative before setting low bit.
40511         * math/auto-libm-test-in: Mark one asin test possibly having
40512         spurious underflow.
40513         * math/auto-libm-test-out: Regenerated.
40514         * sysdeps/i386/fpu/libm-test-ulps: Update.
40515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40517 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40519         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40520         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40521         ports/sysdeps/unix/sysv/linux/microblaze.
40522         * README: Add missing listing for microblaze*-*-linux-gnu.
40524 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40526         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40527         duplicate code
40529 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40531         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40532         * sysdeps/unix/sysv/linux/ia64: Move directory from
40533         ports/sysdeps/unix/sysv/linux/ia64.
40534         * README: Update listing for ia64-*-linux-gnu.
40536 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40537             Joseph Myers  <joseph@codesourcery.com>
40539         * Makeconfig (test-name): New variable.
40540         (evaluate-test): Likewise.
40541         * Makerules (do-test-clean): Remove .test-result files.
40542         (common-mostlyclean): Likewise.
40543         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40544         * scripts/evaluate-test.sh: New file.
40546 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40548         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40549         separate $(objpfx)tst-fopenloc-cmp.out and
40550         $(objpfx)tst-fopenloc-mem.out targets.
40551         (tests): Update dependencies.
40552         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40553         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40554         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40555         (tst-rxspencer-no-utf8-ARGS): New variable.
40556         (tst-rxspencer-no-utf8-ENV): Likewise.
40557         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40558         instead of $(objpfx)tst-rxspencer-mem.
40559         ($(objpfx)tst-rxspencer-mem): Change target to
40560         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40561         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40562         * posix/tst-rxspencer-no-utf8.c: New file.
40564         * elf/Makefile ($(objpfx)order.out): Remove rule.
40565         [$(run-built-tests) = yes] (tests): Depend on
40566         $(objpfx)order-cmp.out.
40567         ($(objpfx)order-cmp.out): New rule.
40568         [$(run-built-tests) = yes] (tests): Depend on
40569         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40570         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40571         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40572         $(objpfx)tst-array5-static-cmp.out.
40573         ($(objpfx)tst-array1.out): Remove rule.
40574         ($(objpfx)tst-array1-cmp.out): New rule.
40575         ($(objpfx)tst-array1-static.out): Remove rule.
40576         ($(objpfx)tst-array1-static-cmp.out): New rule.
40577         ($(objpfx)tst-array2.out): Remove rule.
40578         ($(objpfx)tst-array2-cmp.out): New rule.
40579         ($(objpfx)tst-array3.out): Remove rule.
40580         ($(objpfx)tst-array3-cmp.out): New rule.
40581         ($(objpfx)tst-array4.out): Remove rule.
40582         ($(objpfx)tst-array4-cmp.out): New rule.
40583         ($(objpfx)tst-array5.out): Remove rule.
40584         ($(objpfx)tst-array5-cmp.out): New rule.
40585         ($(objpfx)tst-array5-static.out): Remove rule.
40586         ($(objpfx)tst-array5-static-cmp.out): New rule.
40587         [$(run-built-tests) = yes] (tests): Depend on
40588         $(objpfx)order2-cmp.out.
40589         ($(objpfx)order2.out): Remove rule.
40590         ($(objpfx)order2-cmp.out): New rule.
40591         ($(objpfx)tst-initorder.out): Remove rule.
40592         [$(run-built-tests) = yes] (tests): Depend on
40593         $(objpfx)tst-initorder-cmp.out.
40594         ($(objpfx)tst-initorder-cmp.out): New rule.
40595         ($(objpfx)tst-initorder2.out): Remove rule.
40596         [$(run-built-tests) = yes] (tests): Depend on
40597         $(objpfx)tst-initorder2-cmp.out.
40598         ($(objpfx)tst-initorder2-cmp.out): New rule.
40599         [$(run-built-tests) = yes] (tests): Depend on
40600         $(objpfx)tst-unused-dep-cmp.out.
40601         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40602         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40603         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40604         on $(objpfx)tst-setvbuf1-cmp.out.
40605         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40606         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40607         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40608         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40609         ($(objpfx)tst-svc.out): Remove rule.
40610         ($(objpfx)tst-svc-cmp.out): New rule.
40612 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40614         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40615         * ctype/ctype.h [__USE_MISC]: Likewise.
40616         * dirent/dirent.h [__USE_MISC]: Likewise.
40617         * grp/grp.h [__USE_MISC]: Likewise.
40618         * io/fcntl.h [__USE_MISC]: Likewise.
40619         * io/sys/stat.h [__USE_MISC]: Likewise.
40620         * libio/stdio.h [__USE_MISC]: Likewise.
40621         * posix/unistd.h [__USE_MISC]: Likewise.
40622         * pwd/pwd.h [__USE_MISC]: Likewise.
40623         * stdlib.h [__USE_MISC]: Likewise.
40624         * string/bits/string2.h [__USE_MISC]: Likewise.
40625         * string/string.h [__USE_MISC]: Likewise.
40626         * time/time.h [__USE_MISC]: Likewise.
40628 2014-02-13  Andreas Schwab  <schwab@suse.de>
40630         [BZ #16574]
40631         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40632         second answer buffer if it was separately allocated.
40634 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40636         * sysdeps/mips/math-tests.h: Include <features.h>.
40637         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40638         (ROUNDING_TESTS_long_double): Do not define.
40639         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40640         (EXCEPTION_TESTS_long_double): Likewise.
40641         * sysdeps/mips/mips64/libm-test-ulps: Update.
40643         * include/features.h (__USE_BSD): Remove macro definitions.
40644         (__USE_SVID): Likewise.
40645         (_BSD_SOURCE): Likewise.
40646         (_SVID_SOURCE): Likewise.
40647         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40648         from definition of _DEFAULT_SOURCE.
40649         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40650         [_DEFAULT_SOURCE].
40651         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40652         * bits/mman.h [__USE_BSD]: Likewise.
40653         * bits/termios.h [__USE_BSD]: Likewise.
40654         * bits/waitstatus.h [__USE_BSD]: Likewise.
40655         * ctype/ctype.h [__USE_SVID]: Likewise.
40656         * dirent/dirent.h [__USE_BSD]: Likewise.
40657         * grp/grp.h [__USE_SVID]: Likewise.
40658         [__USE_BSD]: Likewise.
40659         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40660         * io/fcntl.h [__USE_BSD]: Likewise.
40661         * io/ftw.h [__USE_BSD]: Likewise.
40662         * io/sys/stat.h [__USE_BSD]: Likewise.
40663         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40664         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40665         * libio/stdio.h [__USE_SVID]: Likewise.
40666         [__USE_BSD]: Likewise.
40667         * math/math.h [__USE_SVID]: Likewise.
40668         [__USE_BSD]: Likewise.
40669         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40670         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40671         * misc/search.h [__USE_SVID]: Likewise.
40672         * misc/sys/mman.h [__USE_BSD]: Likewise.
40673         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40674         * misc/sys/uio.h [__USE_BSD]: Likewise.
40675         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40676         * posix/glob.h [__USE_BSD]: Likewise.
40677         * posix/regex.h [__USE_BSD]: Likewise.
40678         * posix/sys/types.h [__USE_BSD]: Likewise.
40679         [__USE_SVID]: Likewise.
40680         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40681         * posix/sys/wait.h [__USE_BSD]: Likewise.
40682         [__USE_SVID]: Likewise.
40683         * posix/unistd.h [__USE_BSD]: Likewise.
40684         [__USE_SVID]: Likewise.
40685         * pwd/pwd.h [__USE_SVID]: Likewise.
40686         * resolv/netdb.h [__USE_BSD]: Likewise.
40687         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40688         * signal/signal.h [__USE_BSD]: Likewise.
40689         [__USE_SVID]: Likewise.
40690         * socket/sys/socket.h [__USE_BSD]: Likewise.
40691         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40692         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40693         [__USE_SVID]: Likewise.
40694         * string/bits/string2.h [__USE_BSD]: Likewise.
40695         [__USE_SVID]: Likewise.
40696         * string/bits/string3.h [__USE_BSD]: Likewise.
40697         * string/endian.h [__USE_BSD]: Likewise.
40698         * string/string.h [__USE_SVID]: Likewise.
40699         [__USE_BSD]: Likewise.
40700         * string/strings.h [__USE_BSD]: Likewise.
40701         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40702         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40703         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40704         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40705         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40706         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40707         Likewise.
40708         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40709         Likewise.
40710         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40711         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40712         Likewise.
40713         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40714         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40715         Likewise.
40716         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40717         Likewise.
40718         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40719         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40720         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40721         Likewise.
40722         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40723         Likewise.
40724         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40725         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40726         * termios/termios.h [__USE_BSD]: Likewise.
40727         * time/sys/time.h [__USE_BSD]: Likewise.
40728         * time/time.h [__USE_BSD]: Likewise.
40729         [__USE_SVID]: Likewise.
40731         * Makefile (subdir_targets): Remove subdir_lint.out.
40733         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40734         (do-tst-printf): Likewise.
40735         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40736         $(objpfx)tst-printf.out.
40738         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40740         * Makerules (check-abi-%): Change target to
40741         $(objpfx)check-abi-%.out.
40742         (check-abi target): Update dependencies.
40743         (check-abi-pattern variable): Redirect output of diff to $@.
40744         (check-abi variable): Likewise.
40745         * elf/Makefile (check-abi): Update dependencies.
40747         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40748         unused.
40749         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40750         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40751         subnormal range.
40752         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40753         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40754         value has largest subnormal exponent.
40755         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40756         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40757         * sysdeps/aarch64/soft-fp/sfp-machine.h
40758         (_FP_TININESS_AFTER_ROUNDING): New macro.
40759         * sysdeps/alpha/soft-fp/sfp-machine.h
40760         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40761         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40762         Likewise.
40763         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40764         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40765         * sysdeps/mips/soft-fp/sfp-machine.h
40766         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40767         * sysdeps/powerpc/soft-fp/sfp-machine.h
40768         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40769         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40770         Likewise.
40771         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40772         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40773         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40774         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40775         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40776         Likewise.
40778 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40780         [BZ #16545]
40781         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40782         model 1.
40784 2014-02-12  Richard Henderson  <rth@redhat.com>
40786         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40787         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40788         * sysdeps/unix/sysv/linux/alpha: Move directory from
40789         ports/sysdeps/unix/sysv/linux/alpha.
40790         * README: Update listing for alpha-*-linux-gnu.
40792 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40794         * include/features.h: Update comment documenting feature test
40795         macros.
40796         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40797         _DEFAULT_SOURCE.
40798         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40799         (_SVID_SOURCE): Likewise.
40800         (_DEFAULT_SOURCE): Update description of default features.
40801         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40802         with _GNU_SOURCE.
40803         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40804         (S_ISVTX): Likewise.
40805         * manual/math.texi (Mathematical Constants): Likewise.
40806         * manual/signal.texi (Interrupted Primitives): Likewise.
40807         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40808         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40809         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40810         Don't refer to _SVID_SOURCE in warning text.
40812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40814         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40815         already defined.
40816         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40817         * sysdeps/mips/dl-lookup.c: Remove.
40818         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40820 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40822         [BZ #16447]
40823         * math/auto-libm-test-in: Add testcase for expl.
40824         * math/auto-libm-test-out: Regenerate.
40825         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40826         calculation of unsafe.
40827         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40829 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40831         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40832         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40833         ports/sysdeps/unix/sysv/linux/aarch64.
40834         * README: Update listing for aarch64*-*-linux-gnu.
40836 2014-02-11  Will Newton  <will.newton@linaro.org>
40838         * manual/probes.texi (Mathematical Function Probes): Use
40839         "triggered" instead of "hit".
40841         * manual/probes.texi (Internal Probes): Add documentation
40842         of setjmp, longjmp and longjmp_target probes.
40844         * include/stap-probe.h: Add comment about probe argument
40845         format.
40847         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40848         definition.  (tr_where, tr_freehook, tr_mallochook,
40849         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40851 2014-02-11  David S. Miller  <davem@davemloft.net>
40853         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40854         processing int_tests.
40856 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40858         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40859         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40860         * sysdeps/unix/sysv/linux/mips: Move directory from
40861         ports/sysdeps/unix/sysv/linux/mips.
40862         * README: Update listing for mips-*-linux-gnu and
40863         mips64-*-linux-gnu.
40865 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40867         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40868         * sysdeps/unix/sysv/linux/m68k: Move directory from
40869         ports/sysdeps/unix/sysv/linux/m68k.
40870         * README: Update listing for m68k-*-linux-gnu.
40872 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40874         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40875         * sysdeps/unix/sysv/linux/generic: Move directory from
40876         ports/sysdeps/unix/sysv/linux/generic.
40877         * sysdeps/unix/sysv/linux/tile: Move directory from
40878         ports/sysdeps/unix/sysv/linux/tile.
40879         * README: Update listing for tile*-*-linux-gnu.
40881 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40883         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40884         __builtin_expect.
40885         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40886         * catgets/open_catalog.c (__open_catalog): Likewise.
40887         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40888         * debug/confstr_chk.c: Likewise.
40889         * debug/fread_chk.c (__fread_chk): Likewise.
40890         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40891         * debug/getgroups_chk.c: Likewise.
40892         * debug/mbsnrtowcs_chk.c: Likewise.
40893         * debug/mbsrtowcs_chk.c: Likewise.
40894         * debug/mbstowcs_chk.c: Likewise.
40895         * debug/memcpy_chk.c: Likewise.
40896         * debug/memmove_chk.c: Likewise.
40897         * debug/mempcpy_chk.c: Likewise.
40898         * debug/memset_chk.c: Likewise.
40899         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40900         * debug/strcat_chk.c (__strcat_chk): Likewise.
40901         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40902         * debug/strncat_chk.c (__strncat_chk): Likewise.
40903         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40904         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40905         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40906         * debug/wcpncpy_chk.c: Likewise.
40907         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40908         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40909         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40910         * debug/wcsncpy_chk.c: Likewise.
40911         * debug/wcsnrtombs_chk.c: Likewise.
40912         * debug/wcsrtombs_chk.c: Likewise.
40913         * debug/wcstombs_chk.c: Likewise.
40914         * debug/wmemcpy_chk.c: Likewise.
40915         * debug/wmemmove_chk.c: Likewise.
40916         * debug/wmempcpy_chk.c: Likewise.
40917         * debug/wmemset_chk.c: Likewise.
40918         * dirent/scandirat.c (SCANDIRAT): Likewise.
40919         * dlfcn/dladdr1.c (dladdr1): Likewise.
40920         * dlfcn/dladdr.c (dladdr): Likewise.
40921         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40922         * dlfcn/dlerror.c (__dlerror): Likewise.
40923         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40924         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40925         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40926         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40927         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40928         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40929         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40930         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40931         Likewise.
40932         * elf/dl-conflict.c: Likewise.
40933         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40934         * elf/dl-dst.h: Likewise.
40935         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40936         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40937         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40938         * elf/dl-init.c (call_init, _dl_init): Likewise.
40939         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40940         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40941         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40942         Likewise.
40943         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40944         Likewise.
40945         * elf/dl-minimal.c (__libc_memalign): Likewise.
40946         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40947         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40948         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40949         * elf/dl-sym.c (do_sym): Likewise.
40950         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40951         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40952         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40953         * elf/dl-writev.h (_dl_writev): Likewise.
40954         * elf/ldconfig.c (search_dir): Likewise.
40955         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40956         (dl_main): Likewise.
40957         * elf/setup-vdso.h (setup_vdso): Likewise.
40958         * grp/compat-initgroups.c (compat_call): Likewise.
40959         * grp/fgetgrent.c (fgetgrent): Likewise.
40960         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40961         * grp/putgrent.c (putgrent): Likewise.
40962         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40963         Likewise.
40964         * hurd/hurdinit.c: Likewise.
40965         * iconvdata/8bit-gap.c (struct): Likewise.
40966         * iconvdata/ansi_x3.110.c : Likewise.
40967         * iconvdata/big5.c : Likewise.
40968         * iconvdata/big5hkscs.c : Likewise.
40969         * iconvdata/cp1255.c: Likewise.
40970         * iconvdata/cp1258.c : Likewise.
40971         * iconvdata/cp932.c : Likewise.
40972         * iconvdata/euc-cn.c: Likewise.
40973         * iconvdata/euc-jisx0213.c : Likewise.
40974         * iconvdata/euc-jp.c: Likewise.
40975         * iconvdata/euc-jp-ms.c : Likewise.
40976         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40977         * iconvdata/gb18030.c : Likewise.
40978         * iconvdata/gbbig5.c (const): Likewise.
40979         * iconvdata/gbgbk.c: Likewise.
40980         * iconvdata/gbk.c : Likewise.
40981         * iconvdata/ibm1364.c : Likewise.
40982         * iconvdata/ibm930.c : Likewise.
40983         * iconvdata/ibm932.c: Likewise.
40984         * iconvdata/ibm933.c : Likewise.
40985         * iconvdata/ibm935.c : Likewise.
40986         * iconvdata/ibm937.c : Likewise.
40987         * iconvdata/ibm939.c : Likewise.
40988         * iconvdata/ibm943.c: Likewise.
40989         * iconvdata/iso_11548-1.c: Likewise.
40990         * iconvdata/iso-2022-cn.c : Likewise.
40991         * iconvdata/iso-2022-cn-ext.c : Likewise.
40992         * iconvdata/iso-2022-jp-3.c: Likewise.
40993         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40994         * iconvdata/iso-2022-kr.c : Likewise.
40995         * iconvdata/iso646.c (gconv_end): Likewise.
40996         * iconvdata/iso_6937-2.c : Likewise.
40997         * iconvdata/iso_6937.c : Likewise.
40998         * iconvdata/iso8859-1.c: Likewise.
40999         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41000         * iconvdata/shift_jisx0213.c : Likewise.
41001         * iconvdata/sjis.c : Likewise.
41002         * iconvdata/t.61.c : Likewise.
41003         * iconvdata/tcvn5712-1.c : Likewise.
41004         * iconvdata/tscii.c: Likewise.
41005         * iconvdata/uhc.c : Likewise.
41006         * iconvdata/unicode.c (gconv_end): Likewise.
41007         * iconvdata/utf-16.c (gconv_end): Likewise.
41008         * iconvdata/utf-32.c (gconv_end): Likewise.
41009         * iconvdata/utf-7.c (base64): Likewise.
41010         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41011         * iconv/gconv_close.c (__gconv_close): Likewise.
41012         * iconv/gconv_open.c (__gconv_open): Likewise.
41013         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41014         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41015         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41016         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41017         (ucs4le_internal_loop_single): Likewise.
41018         * iconv/iconv.c (iconv): Likewise.
41019         * iconv/iconv_close.c: Likewise.
41020         * iconv/loop.c (SINGLE): Likewise.
41021         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41022         * include/atomic.h: Likewise.
41023         * inet/inet6_option.c (option_alloc): Likewise.
41024         * intl/bindtextdom.c (set_binding_values): Likewise.
41025         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41026         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41027         * intl/localealias.c (read_alias_file): Likewise.
41028         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41029         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41030         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41031         * libio/fmemopen.c (fmemopen): Likewise.
41032         * libio/iofgets.c (_IO_fgets): Likewise.
41033         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41034         * libio/iofgetws.c (fgetws): Likewise.
41035         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41036         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41037         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41038         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41039         * locale/findlocale.c (_nl_find_locale): Likewise.
41040         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41041         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41042         Likewise.
41043         * locale/setlocale.c (setlocale): Likewise.
41044         * login/programs/pt_chown.c (main): Likewise.
41045         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41046         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41047         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41048         (mmap, mmap64, mremap, munmap): Likewise.
41049         * math/e_exp2l.c: Likewise.
41050         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41051         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41052         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41053         * math/s_catan.c (__catan): Likewise.
41054         * math/s_catanf.c (__catanf): Likewise.
41055         * math/s_catanh.c (__catanh): Likewise.
41056         * math/s_catanhf.c (__catanhf): Likewise.
41057         * math/s_catanhl.c (__catanhl): Likewise.
41058         * math/s_catanl.c (__catanl): Likewise.
41059         * math/s_ccosh.c (__ccosh): Likewise.
41060         * math/s_ccoshf.c (__ccoshf): Likewise.
41061         * math/s_ccoshl.c (__ccoshl): Likewise.
41062         * math/s_cexp.c (__cexp): Likewise.
41063         * math/s_cexpf.c (__cexpf): Likewise.
41064         * math/s_cexpl.c (__cexpl): Likewise.
41065         * math/s_clog10.c (__clog10): Likewise.
41066         * math/s_clog10f.c (__clog10f): Likewise.
41067         * math/s_clog10l.c (__clog10l): Likewise.
41068         * math/s_clog.c (__clog): Likewise.
41069         * math/s_clogf.c (__clogf): Likewise.
41070         * math/s_clogl.c (__clogl): Likewise.
41071         * math/s_csin.c (__csin): Likewise.
41072         * math/s_csinf.c (__csinf): Likewise.
41073         * math/s_csinh.c (__csinh): Likewise.
41074         * math/s_csinhf.c (__csinhf): Likewise.
41075         * math/s_csinhl.c (__csinhl): Likewise.
41076         * math/s_csinl.c (__csinl): Likewise.
41077         * math/s_csqrt.c (__csqrt): Likewise.
41078         * math/s_csqrtf.c (__csqrtf): Likewise.
41079         * math/s_csqrtl.c (__csqrtl): Likewise.
41080         * math/s_ctan.c (__ctan): Likewise.
41081         * math/s_ctanf.c (__ctanf): Likewise.
41082         * math/s_ctanh.c (__ctanh): Likewise.
41083         * math/s_ctanhf.c (__ctanhf): Likewise.
41084         * math/s_ctanhl.c (__ctanhl): Likewise.
41085         * math/s_ctanl.c (__ctanl): Likewise.
41086         * math/w_pow.c: Likewise.
41087         * math/w_powf.c: Likewise.
41088         * math/w_powl.c: Likewise.
41089         * math/w_scalb.c (sysv_scalb): Likewise.
41090         * math/w_scalbf.c (sysv_scalbf): Likewise.
41091         * math/w_scalbl.c (sysv_scalbl): Likewise.
41092         * misc/error.c (error_tail): Likewise.
41093         * misc/pselect.c (__pselect): Likewise.
41094         * nis/nis_callback.c (__nis_create_callback): Likewise.
41095         * nis/nis_call.c (__nisfind_server): Likewise.
41096         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41097         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41098         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41099         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41100         * nis/nis_lookup.c (nis_lookup): Likewise.
41101         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41102         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41103         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41104         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41105         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41106         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41107         * nis/nss_compat/compat-initgroups.c (add_group)
41108         (internal_getgrent_r): Likewise.
41109         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41110         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41111         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41112         (internal_getspnam_r): Likewise.
41113         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41114         (_nss_nis_getaliasbyname_r): Likewise.
41115         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41116         (_nss_nis_getntohost_r): Likewise.
41117         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41118         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41119         (_nss_nis_getgrgid_r): Likewise.
41120         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41121         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41122         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41123         (_nss_nis_gethostbyname4_r): Likewise.
41124         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41125         (initgroups_netid): Likewise.
41126         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41127         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41128         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41129         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41130         (_nss_nis_getprotobynumber_r): Likewise.
41131         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41132         (_nss_nis_getsecretkey): Likewise.
41133         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41134         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41135         (_nss_nis_getpwuid_r): Likewise.
41136         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41137         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41138         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41139         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41140         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41141         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41142         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41143         Likewise.
41144         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41145         (_nss_nisplus_getntohost_r): Likewise.
41146         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41147         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41148         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41149         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41150         Likewise.
41151         * nis/nss_nisplus/nisplus-initgroups.c
41152         (_nss_nisplus_initgroups_dyn): Likewise.
41153         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41154         (_nss_nisplus_getnetbyaddr_r): Likewise.
41155         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41156         (_nss_nisplus_getprotobynumber_r): Likewise.
41157         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41158         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41159         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41160         Likewise.
41161         * nis/nss_nisplus/nisplus-service.c
41162         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41163         (_nss_nisplus_getservbyport_r): Likewise.
41164         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41165         (_nss_nisplus_getspnam_r): Likewise.
41166         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41167         Likewise.
41168         * nscd/aicache.c (addhstaiX): Likewise.
41169         * nscd/cache.c (cache_search, prune_cache): Likewise.
41170         * nscd/connections.c (register_traced_file, send_ro_fd)
41171         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41172         (main_loop_epoll): Likewise.
41173         * nscd/grpcache.c (addgrbyX): Likewise.
41174         * nscd/hstcache.c (addhstbyX): Likewise.
41175         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41176         * nscd/mem.c (gc, mempool_alloc): Likewise.
41177         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41178         (addinnetgrX): Likewise.
41179         * nscd/nscd-client.h (__nscd_acquire_maplock)
41180         (__nscd_drop_map_ref): Likewise.
41181         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41182         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41183         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41184         Likewise.
41185         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41186         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41187         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41188         (__nscd_get_map_ref): Likewise.
41189         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41190         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41191         Likewise.
41192         * nscd/pwdcache.c (addpwbyX): Likewise.
41193         * nscd/selinux.c (preserve_capabilities): Likewise.
41194         * nscd/servicescache.c (addservbyX): Likewise.
41195         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41196         * posix/fnmatch.c (fnmatch): Likewise.
41197         * posix/getopt.c (_getopt_internal_r): Likewise.
41198         * posix/glob.c (glob, glob_in_dir): Likewise.
41199         * posix/wordexp.c (exec_comm_child): Likewise.
41200         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41201         (getanswer_r, gaih_getanswer_slice): Likewise.
41202         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41203         * resolv/res_init.c: Likewise.
41204         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41205         * resolv/res_query.c (__libc_res_nquery): Likewise.
41206         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41207         Likewise.
41208         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41209         * stdio-common/perror.c (perror): Likewise.
41210         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41211         * stdio-common/tmpnam.c (tmpnam): Likewise.
41212         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41213         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41214         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41215         Likewise.
41216         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41217         * stdlib/putenv.c (putenv): Likewise.
41218         * stdlib/setenv.c (__add_to_environ): Likewise.
41219         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41220         * stdlib/strtol_l.c (INTERNAL): Likewise.
41221         * string/memmem.c (memmem): Likewise.
41222         * string/strerror.c (strerror): Likewise.
41223         * string/strnlen.c (__strnlen): Likewise.
41224         * string/test-memmem.c (simple_memmem): Likewise.
41225         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41226         * sunrpc/pm_getport.c (__get_socket): Likewise.
41227         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41228         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41229         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41230         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41231         Likewise.
41232         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41233         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41234         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41235         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41236         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41237         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41238         Likewise.
41239         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41240         Likewise.
41241         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41242         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41243         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41244         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41245         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41247         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41248         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41249         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41250         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41251         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41252         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41253         Likewise.
41254         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41255         Likewise.
41256         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41257         Likewise.
41258         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41259         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41260         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41261         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41262         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41263         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41264         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41265         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41267         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41268         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41269         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41270         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41271         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41272         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41273         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41274         Likewise.
41275         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41276         Likewise.
41277         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41278         Likewise.
41279         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41280         Likewise.
41281         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41282         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41283         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41284         Likewise.
41285         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41286         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41287         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41288         * sysdeps/posix/sleep.c: Likewise.
41289         * sysdeps/posix/tempname.c: Likewise.
41290         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41291         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41292         Likewise.
41293         * sysdeps/powerpc/powerpc32/dl-machine.h
41294         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41295         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41296         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41297         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41298         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41299         Likewise.
41300         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41301         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41302         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41303         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41304         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41305         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41306         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41307         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41308         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41309         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41310         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41311         (elf_machine_lazy_rel): Likewise.
41312         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41313         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41314         (elf_machine_lazy_rel): Likewise.
41315         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41316         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41317         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41318         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41319         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41320         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41321         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41322         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41323         Likewise.
41324         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41325         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41326         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41327         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41328         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41329         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41330         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41331         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41332         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41333         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41334         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41335         Likewise.
41336         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41337         (__posix_fallocate64_l64): Likewise.
41338         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41339         (posix_fallocate): Likewise.
41340         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41341         Likewise.
41342         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41343         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41344         (getifaddrs_internal): Likewise.
41345         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41346         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41347         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41348         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41349         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41350         (__posix_fallocate64_l64): Likewise.
41351         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41352         Likewise.
41353         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41354         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41355         (__get_clockfreq): Likewise.
41356         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41357         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41358         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41359         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41360         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41361         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41362         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41363         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41364         Likewise.
41365         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41366         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41367         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41368         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41369         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41370         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41371         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41372         Likewise.
41373         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41374         (posix_fallocate): Likewise.
41375         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41376         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41377         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41378         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41379         (elf_machine_rela, elf_machine_rela_relative)
41380         (elf_machine_lazy_rel): Likewise.
41381         * time/asctime.c (asctime_internal): Likewise.
41382         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41383         * time/tzset.c (__tzset_parse_tz): Likewise.
41384         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41385         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41386         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41387         * wcsmbs/wcsmbsload.h: Likewise.
41389         [BZ #15894]
41390         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41392         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41393         (arena_get2): Remove THREAD_STATS conditionals.
41394         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41395         (__malloc_stats, int): Likewise.
41397 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41399         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41400         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41402         * manual/setjmp.texi: Fix typos/grammar errors.
41404         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41405         Only return early when n is <= 0.  Delete unused return statement.
41407         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41408         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41409         * debug/tst-longjmp_chk3.c: New file.
41411         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41412         (test_main): Replace code with set_fortify_handler call.
41413         * debug/test-strcpy_chk.c: Likewise.
41414         * debug/tst-chk1.c: Likewise.
41415         * debug/tst-longjmp_chk.c: Likewise.
41416         * test-skeleton.c: Include fcntl.h & paths.h
41417         (set_fortify_handler): Define.
41419         * debug/tst-longjmp_chk.c: Add header comment and include
41420         ../test-skeleton.c.
41421         (do_test): Mark static.
41422         (TEST_FUNCTION): Define.
41424         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41425         (IP_PMTUDISC_INTERFACE): Likewise.
41426         (IP_MULTICAST_IF): Likewise.
41427         (IP_MULTICAST_TTL): Likewise.
41428         (IP_MULTICAST_LOOP): Likewise.
41429         (IP_ADD_MEMBERSHIP): Likewise.
41430         (IP_DROP_MEMBERSHIP): Likewise.
41431         (IP_UNBLOCK_SOURCE): Likewise.
41432         (IP_BLOCK_SOURCE): Likewise.
41433         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41434         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41435         (IP_MSFILTER): Likewise.
41436         (MCAST_JOIN_GROUP): Likewise.
41437         (MCAST_BLOCK_SOURCE): Likewise.
41438         (MCAST_UNBLOCK_SOURCE): Likewise.
41439         (MCAST_LEAVE_GROUP): Likewise.
41440         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41441         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41442         (MCAST_MSFILTER): Likewise.
41443         (IP_MULTICAST_ALL): Likewise.
41444         (IP_UNICAST_IF): Likewise.
41446         * timezone/Makefile: Delete $(have-ksh) check.
41447         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41448         * timezone/tzselect.ksh: Add +x mode bits.
41450         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41451         (ANON_INODE_FS_MAGIC): Likewise.
41452         (BDEVFS_MAGIC): Likewise.
41453         (BINFMTFS_MAGIC): Likewise.
41454         (BTRFS_TEST_MAGIC): Likewise.
41455         (CRAMFS_MAGIC_WEND): Likewise.
41456         (DEBUGFS_MAGIC): Likewise.
41457         (ECRYPTFS_SUPER_MAGIC): Likewise.
41458         (EXT3_SUPER_MAGIC): Likewise.
41459         (EXT4_SUPER_MAGIC): Likewise.
41460         (FUTEXFS_SUPER_MAGIC): Likewise.
41461         (HOSTFS_SUPER_MAGIC): Likewise.
41462         (HUGETLBFS_MAGIC): Likewise.
41463         (MINIX3_SUPER_MAGIC): Likewise.
41464         (MTD_INODE_FS_MAGIC): Likewise.
41465         (NILFS_SUPER_MAGIC): Likewise.
41466         (OPENPROM_SUPER_MAGIC): Likewise.
41467         (PIPEFS_MAGIC): Likewise.
41468         (PSTOREFS_MAGIC): Likewise.
41469         (QNX6_SUPER_MAGIC): Likewise.
41470         (RAMFS_MAGIC): Likewise.
41471         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41472         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41473         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41474         (SECURITYFS_MAGIC): Likewise.
41475         (SELINUX_MAGIC): Likewise.
41476         (SMACK_MAGIC): Likewise.
41477         (SOCKFS_MAGIC): Likewise.
41478         (SQUASHFS_MAGIC): Likewise.
41479         (STACK_END_MAGIC): Likewise.
41480         (TMPFS_MAGIC): Likewise.
41481         (USBDEVICE_SUPER_MAGIC): Likewise.
41482         (V9FS_MAGIC): Likewise.
41483         (XENFS_SUPER_MAGIC): Likewise.
41484         (CRAMFS_MAGIC): Fix typo in comment.
41485         (EXT2_SUPER_MAGIC): Update comment.
41486         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41488 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41490         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41491         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41492         * sysdeps/unix/sysv/linux/arm: Move directory from
41493         ports/sysdeps/unix/sysv/linux/arm.
41494         * README: Update listing for arm-*-linux-gnueabi.
41496         * README: Remove mention of am33.
41498 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41500         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41501         than the comma operator, to avoid "rhs of comma has no effect"
41502         compiler warnings.
41503         (__sigfillset, __sigandset, __sigorset): Likewise.
41504         * include/signal.h (__sigemptyset): Likewise.
41505         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41507 2014-02-07  Allan McRae  <allan@archlinux.org>
41509         * version.h (RELEASE): Set to "development".
41510         (VERSION): Set to "2.19.90"
41511         * NEWS: Add 2.20 section.
41513 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41515         [BZ #16529]
41516         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41518 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41520         * manual/contrib.texi: Update entry for Carlos O'Donell,
41521         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41523 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41525         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41527         * sysdeps/unix/sysv/linux/kernel-features.h
41528         [__LINUX_KERNEL_VERSION >= 0x020621]
41529         (__ASSUME_PROC_PID_TASK_COMM): Define.
41531 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41533         [BZ #16398]
41534         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41535         conversion when destination buffer does not have enough space.
41536         * libio/tst-ftell-partial-wide.c: New test case.
41537         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41539         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41540         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41541         Leonard and Allan McRae.
41543 2014-02-04  David S. Miller  <davem@davemloft.net>
41545         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41546         32-bit.
41548 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41551         New file
41552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41553         New file
41554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41555         New file.
41556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41557         New file.
41558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41559         New file.
41560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41561         New file.
41562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41563         New file.
41564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41565         New file.
41566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41567         New file.
41568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41569         New file.
41570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41571         New file.
41572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41573         New file.
41574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41575         New file.
41577 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41579         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41580         * shlib-versions: Likewise.
41582 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41583             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41585         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41586         (abilist-pattern): New variable, set to %-le.abilist.
41588         * Makerules (abilist-pattern): New variable.
41589         (vpath): Use $(abilist-pattern) in place of %.abilist.
41590         (check-abi-% pattern rule): Likewise.
41591         (check-abi, update-abi): Likewise.
41593 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41597 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41599         * manual/startup.texi: Add next, previous, and top entries for
41600         the `Program Arguments' and `Environment Variables' nodes.
41602 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41604         * manual/macros.texi: Add comments before MTASC-safety macros.
41606         * manual/users.texi: Document MTASC-safety properties.
41608         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41609         (pthread_getspecific, pthread_setspecific): Format with
41610         @deftypefun, and add @safety note.
41611         * manual/signal.texi: Move comments that analyze the above
41612         functions to their home place.
41614 2014-02-03  Allan McRae  <allan@archlinux.org>
41616         * po/sl.po: Update Slovenian translation from translation project.
41618 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41620         * manual/time.texi (timegm): Add missing blank after @c.
41621         Reported by Joseph Myers <joseph@codesourcery.com>.
41623 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41625         * manual/check-safety.sh: New.
41626         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41628         * manual/terminal.texi: Document MTASC-safety properties.
41630         * manual/filesys.texi: Document MTASC-safety properties.
41632         * manual/errno.texi: Document MTASC-safety properties.
41634         * manual/intro.texi: Document safety identifiers and
41635         conditionals.
41637         * manual/string.texi (wcstok): Fix prototype.
41638         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41640         * manual/time.texi: Document MTASC-safety properties.
41642         * manual/string.texi: Document MTASC-safety properties.
41644         * manual/threads.texi: Document MTASC-safety properties.
41646         * manual/stdio.texi: Document MTASC-safety properties.
41648         * manual/syslog.texi: Document MTASC-safety properties.
41650         * manual/sysinfo.texi: Document MTASC-safety properties.
41652         * manual/startup.texi: Document MTASC-safety properties.
41654         * manual/socket.texi: Document MTASC-safety properties.
41656         * manual/signal.texi: Document MTASC-safety properties.
41658 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41660         * manual/setjmp.texi: Document MTASC-safety properties.
41662         * manual/search.texi: Document MTASC-safety properties.
41664         * manual/resource.texi: Document MTASC-safety properties.
41666         * manual/process.texi: Document MTASC-safety properties.
41668         * manual/platform.texi: Document MTASC-safety properties.
41670         * manual/pipe.texi: Document MTASC-safety properties.
41672         * manual/pattern.texi: Document MTASC-safety properties.
41674         * manual/message.texi: Document MTASC-safety properties.
41676         [BZ #12751]
41677         * manual/memory.texi: Document MTASC-safety properties.
41679         * manual/math.texi: Document MTASC-safety properties.
41681         * manual/locale.texi: Document MTASC-safety properties.
41683         * manual/llio.texi: Document MTASC-safety properties.
41685         * manual/libdl.texi: New.
41687         * manual/lang.texi: Document MTASC-safety properties.
41689         * manual/job.texi: Document MTASC-safety properties.
41691         * manual/getopt.texi: Document MTASC-safety properties.
41693         * manual/ctype.texi: Document MTASC-safety properties.
41695 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41697         [BZ #16046]
41698         * csu/libc-tls.c (static_map): Remove variable.
41699         (__libc_setup_tls): Use main executable's link map for TLS data.
41700         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41701         casing for LM_ID_BASE and GL(dl_nns).
41702         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41703         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41704         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41705         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41706         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41707         member.
41708         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41709         l_phnum members.
41711 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41713         * manual/debug.texi: Document MTASC-safety properties.
41715 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41717         [BZ #16510]
41718         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41719         of __x86_64__ when disabling x87 inline functions.
41721 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41723         * manual/charset.texi: Document MTASC-safety properties.
41725         * manual/crypt.texi: Document MTASC-safety properties.
41727         * manual/conf.texi: Document MTASC-safety properties.
41729         * manual/arith.texi: Document MTASC-safety properties.
41731         * manual/argp.texi: Document MTASC-safety properties.
41733         * manual/macros.texi: Introduce macros to document multi
41734         thread, asynchronous signal and asynchronous cancellation
41735         safety properties.
41736         * manual/intro.texi: Introduce the properties themselves.
41738 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41740         * sysdeps/sh/sh4/Makefile: New file.
41742 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41744         * math/gen-libm-test.pl ($srcdir): New variable.
41745         ($auto_input): Use it.
41747 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41749         [BZ #16506]
41750         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41751         access beyond array bounds when parsing netgroups file.
41753         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41754         the old buffer before realloc.
41756 2014-01-27  Allan McRae  <allan@archlinux.org>
41758         * po/fr.po: Update French translation from translation project.
41760 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41762         * sysdeps/sh/libm-test-ulps: Regenerate.
41764 2014-01-24  David S. Miller  <davem@davemloft.net>
41766         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41768 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41770         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41771         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41773 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41775         [BZ #16474]
41776         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41777         string pointers after reallocation.
41779 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41781         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41782         __SH4A__ instead of __SH_FPU_ANY__.
41784 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41786         * sysdeps/sh/fpu_control.h: New file.
41787         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41788         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41789         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41790         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41791         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41792         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41793         * sysdeps/sh/sys/ucontext.h: Remove.
41794         * sysdeps/sh/sys: Remove directory.
41796 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41798         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41799         s390/sys/ucontext.h.
41800         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41801         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41803 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41805         [BZ #15605]
41806         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41808 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41810         [BZ#16431]
41811         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41812         Adjust the vDSO correctly for internal calls.
41813         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41815 2014-01-20  Allan McRae  <allan@archlinux.org>
41817         * po/ca.po: Update Catalan translation from translation project.
41819 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41821         * sysdeps/s390/sotruss-lib.c: New file.
41823 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41825         [BZ#16430]
41826         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41827         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41828         local calls issues by not having a PLT stub required for IFUNC calls.
41829         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41831 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41833         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41834         * math/test-fpucw-static.c: Likewise.
41836 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41838         [BZ #16453]
41839         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41841 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41843         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41844         implementation for powerpc.
41846 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41848         [BZ #14782]
41849         * sysdeps/posix/system.c (__libc_system): Do not enable
41850         asynchronous cancellation.
41852 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41854         [BZ #16427]
41855         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41856         handling only for numbers special also in the IEEE case.
41858 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41860         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41862 2014-01-11  Allan McRae  <allan@archlinux.org>
41864         * po/bg.po: Update Bulgarian translation from translation project.
41866         * po/de.po: Update German translation from translation project.
41868 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41870         * sysdeps/generic/gcc-compat.h: New file.
41872 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41874         * benchtests/asin-inputs: Correct slow inputs.
41875         * benchtests/acos-inputs: Likewise.
41877 2014-01-10  Allan McRae  <allan@archlinux.org>
41879         * po:sv.po: Update Swedish translation from translation project.
41881         * po/vi.po: Update Vietnamese translation from translation project.
41883         * po/eo.po: Update Esperanto translation from translation project.
41885         * po/cs.po: Update Czech translation from translation project.
41887         * po/nl.po: Update Dutch translation from translation project.
41889         * po/pl.po: Update Polish translation from translation project.
41891         * po/ru.po: Update Russian translation from translation project.
41893         * po/uk.po: Update Ukrainian translation from translation project.
41895 2014-01-08  Brooks Moses  <bmoses@google.com>
41897         * elf/dl-load.c: Fix comment typo.
41899 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41901         * po/header.pot: Rename to...
41902         * po/pot.header: ... this.
41903         * po/Makefile: Use pot.header.
41905 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41906             Maxim Kuvyrkov  <maxim@kugelworks.com>
41908         [BZ #16394]
41909         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41910         SRC and DEST against LEN.
41912 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41914         [BZ #16414]
41915         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41916         implementation.
41917         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41919 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41923 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41925         [BZ #16408]
41926         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41927         for large positive arguments.
41929 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41931         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41933         * math/auto-libm-test-in: Mark various tests with
41934         xfail-rounding:ldbl-128ibm.
41935         * math/auto-libm-test-out: Regenerated.
41937         [BZ #16407]
41938         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41939         Increase overflow threshold.
41941 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41943         [BZ #14286]
41944         * stdio-common/vfprintf.c: Check for integer overflow.
41946 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41948         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41949         the first argument and return value of __tls_get_addr_internal.
41951 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41953         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41954         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41956 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41958         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41959         * sysdeps/s390/rtld-global-offsets.sym: New file.
41960         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41961         GLIBC_2.19 symbol.
41962         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41963         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41964         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41965         ... this.
41966         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41967         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41968         ... this.
41969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41970         Regenerate.
41971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41972         Regenerate.
41973         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41974         halfs of GPRs for high_gprs contexts.
41975         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41976         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41977         field.
41978         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41979         uc_flags field.
41980         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41981         64 bit versions:
41982         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41983         for high GPRs (uc_high_gprs) and for future extensions
41984         (__reserved).
41985         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41986         for future extensions (__reserved).
41987         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41988         64 bit versions:
41989         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41990         SC_HIGHGPRS offset definition.
41991         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41992         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41994         * Versions.def: Add GLIBC_2.19 for libpthread.
41995         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41996         siglongjmp for libpthread with GLIBC_2.19 symver.
41997         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41998         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41999         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42000         * sysdeps/s390/__longjmp.c: New file.
42001         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42002         * sysdeps/s390/longjmp.c: New file.
42003         * sysdeps/s390/setjmp.S: New file.
42004         * sysdeps/s390/sigjmp.S: New file.
42005         * sysdeps/s390/v1-longjmp.c: New file.
42006         * sysdeps/s390/v1-setjmp.h: New file.
42007         * sysdeps/s390/v1-sigjmp.c: New file.
42008         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42009         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42010         GLIBC_2.19 version.
42011         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42012         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42013         versioned symbols for ____longjmp_chk.
42014         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42015         Likewise.
42016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42017         Regenerate.
42018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42019         Regenerate.
42020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42021         Regenerate.
42022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42023         Regenerate.
42024         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42025         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42026         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42027         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42028         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42029         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42030         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42031         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42032         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42033         * sysdeps/s390/rtld-__longjmp.c: New file.
42034         * sysdeps/s390/rtld-setjmp.S: New file.
42036 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42038         [BZ #16400]
42039         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42040         Return -__logl (x) for small positive arguments without evaluating
42041         a polynomial.
42043 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42045         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42046         Rename to ...
42047         (__ptrace_peeksiginfo_args): ... this.
42048         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42049         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42050         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42052 2014-01-06  Allan McRae  <allan@archlinux.org>
42054         * inet/netinet/in.h: Fix typo in comment.
42056 2014-01-05  Andreas Jaeger  <aj@suse.de>
42058         * sysdeps/i386/fpu/libm-test-ulps: Update.
42060 2014-01-05  Allan McRae  <allan@archlinux.org>
42062         * po/libc.pot: Regenerated.
42064         * malloc/memusagestat.c: Fix gettext call formatting.
42066 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42068         * nscd/nscd.c: Improve usage() output.
42070 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42072         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42073         * sysdeps/unix/sysv/linux/configure: Regenerated.
42074         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42075         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42077 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42079         [BZ #16390]
42080         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42081         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42083 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42085         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42086         extra tokens at end of #undef directive.
42087         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42088         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42089         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42091 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42093         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42095         * math/auto-libm-test-in: Mark various tests with
42096         xfail-rounding:ldbl-128ibm.
42097         * math/auto-libm-test-out: Regenerated.
42099 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42101         [BZ #16386]
42102         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42103         numbers with subnormal high part when calculating exponent.
42105         [BZ #16385]
42106         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42107         fabs.
42109         [BZ #16384]
42110         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42111         M_LN2l.
42112         (__ieee754_acoshl): Use __log1pl not __log1p.
42114 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42116         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42117         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42118         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42119         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42120         (reused_arena, arena_get2): Convert to GNU style.
42121         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42122         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42123         (memalign_check, __malloc_set_state): Likewise.
42124         * malloc/mallocbug.c (main): Likewise.
42125         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42126         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42127         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42128         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42129         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42130         (__posix_memalign, malloc_info): Likewise.
42131         * malloc/malloc.h: Likewise.
42132         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42133         (mallochook, memalignhook, reallochook, mabort): Likewise.
42134         * malloc/mcheck.h: Likewise.
42135         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42136         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42137         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42138         * malloc/morecore.c (__default_morecore): Likewise.
42139         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42140         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42141         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42142         (print_and_abort): Likewise.
42143         * malloc/obstack.h: Likewise.
42144         * malloc/set-freeres.c (__libc_freeres): Likewise.
42145         * malloc/tst-mallocstate.c (main): Likewise.
42146         * malloc/tst-mtrace.c (main): Likewise.
42147         * malloc/tst-realloc.c (do_test): Likewise.
42149 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42151         [BZ #16366]
42152         * nscd/netgroupcache.c (do_notfound): New function.
42153         (addgetnetgrentX): Use it.
42155         [BZ # 16365]
42156         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42157         NSS_STATUS_NOTFOUND.
42159 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42161         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42164 2014-01-01  Allan McRae  <allan@archlinux.org>
42166         * scripts/update-copyrights: Update configure input file suffix.
42168         * NEWS: Update copyright year.
42169         * catgets/gencat.c: Likewise.
42170         * csu/version.c: Likewise.
42171         * debug/catchsegv.sh: Likewise.
42172         * debug/pcprofiledump.c: Likewise.
42173         * debug/xtrace.sh: Likewise.
42174         * elf/ldconfig.c: Likewise.
42175         * elf/ldd.bash.in: Likewise.
42176         * elf/pldd.c: Likewise.
42177         * elf/sotruss.ksh: Likewise.
42178         * elf/sprof.c: Likewise.
42179         * iconv/iconv_prog.c: Likewise.
42180         * iconv/iconvconfig.c: Likewise.
42181         * locale/programs/locale.c: Likewise.
42182         * locale/programs/localedef.c: Likewise.
42183         * login/programs/pt_chown.c: Likewise.
42184         * malloc/memusage.sh: Likewise.
42185         * malloc/memusagestat.c: Likewise.
42186         * malloc/mtrace.pl: Likewise.
42187         * manual/libc.texinfo: Likewise.
42188         * nscd/nscd.c: Likewise.
42189         * nss/getent.c: Likewise.
42190         * nss/makedb.c: Likewise.
42191         * posix/getconf.c: Likewise.
42192         * scripts/test-installation.pl: Likewise.
42194         * All files with FSF copyright notices: Update copyright dates
42195         using scripts/update-copyrights.
42196         * intl/plural.c: Regenerated.
42197         * locale/programs/charmap-kw.h: Likewise.
42198         * locale/programs/locfile-kw.h: Likewise.
42200 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42202         * sysdeps/unix/sysv/linux/configure: Regenerated.
42203         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42204         the linux/fanotify.h header.
42205         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42206         HAVE_LINUX_FANOTIFY_H is defined.
42208 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42210         * benchtests/cos-inputs: New inputs.
42211         * benchtests/sin-inputs: Likewise.
42213         * benchtests/atan-inputs: New inputs. Fix name of multiple
42214         precision fallback inputs.
42216         * benchtests/atanh-inputs: New inputs.
42217         * benchtests/tanh-inputs: Likewise.
42219         * benchtests/acosh-inputs: New inputs.
42220         * benchtests/asinh-inputs: Likewise.
42222         * benchtests/cosh-inputs: New inputs.
42223         * benchtests/sinh-inputs: Likewise.
42225         * benchtests/acos-inputs: Add more inputs.
42226         * benchtests/asin-inputs: Likewise.
42228 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42230         [BZ #16375]
42231         * manual/arith.texi: Fix spelling.
42232         * manual/charset.texi: Likewise.
42233         * manual/errno.texi: Likewise.
42234         * manual/filesys.texi: Likewise.
42235         * manual/lang.texi: Likewise.
42236         * manual/llio.texi: Likewise.
42237         * manual/locale.texi: Likewise.
42238         * manual/message.texi: Likewise.
42239         * manual/resource.texi: Likewise.
42240         * manual/search.texi: Likewise.
42241         * manual/setjmp.texi: Likewise.
42242         * manual/stdio.texi: Likewise.
42243         * manual/string.texi: Likewise.
42244         * manual/sysinfo.texi: Likewise.
42245         * manual/time.texi: Likewise.
42247 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42249         * po/sl.po: New file.
42251 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42253         * .gitignore: Add core/.gdbinit/.gdb_history.
42255 2013-12-27  Allan McRae  <allan@archlinux.org>
42257         [BZ #16369]
42258         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42259         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42261 2013-12-24  Brooks Moses  <bmoses@google.com>
42263         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42264         all compilers that claim C++98 compliance, not just GCC.
42265         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42266         Likewise.
42268 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42270         * NEWS: Restore accidentally deleted bug-fix entries.
42272 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42273             Ondřej Bílka  <neleai@seznam.cz>
42275         [BZ #15073]
42276         * malloc/malloc.c (_int_free): Perform sanity check only if we
42277         have_lock.
42279 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42281         [BZ #12986]
42282         * manual/stdio.texi (String Input Conversions): Clarify that character
42283         classes are not supported.
42285 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42289 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42291         [BZ #16337]
42292         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42293         Calculate results for small negative arguments directly rather
42294         than using reflection formula with special underflow handling.
42296         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42297         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42298         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42299         (fchflags): Likewise.
42300         (revoke): Likewise.
42301         (setlogin): Likewise.
42302         (sigaltstack): Likewise.
42303         (wait4): Likewise.
42304         (sigblock): Remove.
42305         (sigsetmask): Likewise.
42306         (wait3): Likewise.
42307         (waitpid): Likewise.
42308         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42309         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42310         file.
42311         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42312         * sysdeps/unix/bsd/Makefile: ... here.
42313         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42314         * sysdeps/unix/bsd/Versions: ... here.
42315         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42316         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42317         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42318         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42319         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42320         * sysdeps/unix/bsd/sigblock.c: ... here.
42321         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42322         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42323         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42324         * sysdeps/unix/bsd/sigvec.c: ... here.
42325         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42326         * sysdeps/unix/bsd/tcdrain.c: ... here.
42327         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42328         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42329         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42330         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42331         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42332         * sysdeps/unix/bsd/wait.c: ... here.
42333         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42334         * sysdeps/unix/bsd/wait3.c: ... here.
42335         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42336         * sysdeps/unix/bsd/waitpid.c: ... here.
42338 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42340         [BZ #16356]
42341         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42342         round-to-nearest for [!USE_AS_EXPM1L].
42343         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42344         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42345         more tests of exp and exp10.  Expect some exp10 tests to miss
42346         exceptions or fail in directed rounding modes.
42347         * math/auto-libm-test-out: Regenerated.
42348         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42349         (exp10_test_tonearest): New function.
42350         (exp10_towardzero_test_data): New array.
42351         (exp10_test_towardzero): New function.
42352         (exp10_downward_test_data): New array.
42353         (exp10_test_downward): New function.
42354         (exp10_upward_test_data): New array.
42355         (exp10_test_upward): New function.
42356         (main): Call the new functions.
42357         * sysdeps/i386/fpu/libm-test-ulps: Update.
42358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42360 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42362         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42363         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42364         * math/auto-libm-test-out: Regenerated.
42365         * math/libm-test.inc (acosh_test_data): Add more tests.
42366         (atanh_test_data): Likewise.
42367         (ceil_test_data): Likewise.
42368         (copysign_test_data): Likewise.
42369         * sysdeps/i386/fpu/libm-test-ulps: Update.
42370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42372         * timezone/checktab.awk: Update from tzcode 2013i.
42373         * timezone/private.h: Likewise.
42374         * timezone/scheck.c: Likewise.
42375         * timezone/tzfile.h: Likewise.
42376         * timezone/tzselect.ksh: Likewise.
42377         * timezone/zdump.c: Likewise.
42378         * timezone/zic.c: Likewise.
42380         * math/auto-libm-test-in: Add tests of cpow.
42381         * math/auto-libm-test-out: Regenerated.
42382         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42383         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42384         mpc_cc_c.
42385         (func_calc_desc): Add mpc_cc_c union field.
42386         (test_functions): Add cpow.
42387         (special_fill_2pi): New function.
42388         (special_real_inputs): Add 2pi.
42389         (calc_generic_results): Handle mpc_cc_c.
42390         * sysdeps/i386/fpu/libm-test-ulps: Update.
42391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42393         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42394         csqrt, ctan and ctanh.
42395         * math/auto-libm-test-out: Regenerated.
42396         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42397         (TEST_COND_x86): Likewise.
42398         (ccos_test_data): Use AUTO_TESTS_c_c.
42399         (ccosh_test_data): Likewise.
42400         (cexp_test_data): Likewise.
42401         (clog_test_data): Likewise.
42402         (csqrt_test_data): Likewise.
42403         (ctan_test_data): Likewise.
42404         (ctan_tonearest_test_data): Likewise.
42405         (ctan_towardzero_test_data): Likewise.
42406         (ctan_downward_test_data): Likewise.
42407         (ctan_upward_test_data): Likewise.
42408         (ctanh_test_data): Likewise.
42409         (ctanh_tonearest_test_data): Likewise.
42410         (ctanh_towardzero_test_data): Likewise.
42411         (ctanh_downward_test_data): Likewise.
42412         (ctanh_upward_test_data): Likewise.
42413         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42414         mpc_c_c.
42415         (func_calc_desc): Add mpc_c_c union field.
42416         (FUNC_mpc_c_c): New macro.
42417         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42418         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42419         ctanh.
42420         (special_fill_min_subnorm_p120): New function.
42421         (special_real_inputs): Add min_subnorm_p120.
42422         (calc_generic_results): Handle mpc_c_c.
42423         * sysdeps/i386/fpu/libm-test-ulps: Update.
42424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42426 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42428         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42429         (do_sin_slow): New functions.
42430         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42431         (cslow2, csloww1, csloww2): Use the new functions.
42433         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42434         Use M to change sign of result instead of X.  Assume X is
42435         positive.
42436         (csloww1): Likewise.
42437         (__sin): Adjust.
42438         (__cos): Adjust.
42440         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42441         arguments A and DA.
42442         (__sin): Adjust.
42443         (__cos): Likewise.
42445         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42446         (__cos): Likewise.
42447         (sloww1): Don't adjust sign of DX.
42448         (csloww1): Likewise.
42449         (sloww2): Use X directly and don't adjust sign of DX.
42450         (csloww2): Likewise.
42452 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42454         * math/auto-libm-test-in: Add tests of cabs and carg.
42455         * math/auto-libm-test-out: Regenerated.
42456         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42457         (carg_test_data): Likewise.
42458         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42459         mpc_c_f.
42460         (func_calc_desc): Add mpc_c_f union field.
42461         (test_functions): Add cabs and carg.
42462         (calc_generic_results): Handle mpc_c_f.
42464         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42465         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42466         as a macro and a compat symbol.
42467         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42468         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42469         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42470         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42471         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42472         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42473         not use .hidden.
42474         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42475         Likewise.
42476         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42477         Likewise.
42478         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42479         Likewise.
42480         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42481         Likewise.
42482         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42483         Likewise.
42484         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42485         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42486         from GLIBC_2.3.2.
42488 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42492 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42494         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42495         trailing whitespace removed.
42496         * scripts/config.guess: Update to version 2013-11-29.
42497         * scripts/config.sub: Update to version 2013-10-01.
42499         * math/auto-libm-test-in: Add tests of sincos.
42500         * math/auto-libm-test-out: Regenerated.
42501         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42502         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42503         mpfr_f_11.
42504         (func_calc_desc): Add mpfr_f_11 union field.
42505         (test_functions): Add sincos.
42506         (calc_generic_results): Handle mpfr_f_11.
42507         * sysdeps/i386/fpu/libm-test-ulps: Update.
42508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42510 2013-12-19  Andreas Schwab  <schwab@suse.de>
42512         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42513         CALL_MCOUNT.
42514         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42515         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42516         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42518 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42520         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42521         * sysdeps/i386/fpu/libm-test-ulps: Update.
42522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42524         [BZ #16293]
42525         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42526         round-to-nearest mode when using frndint.
42527         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42528         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42529         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42530         Likewise.
42531         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42532         sinh test to fail.
42533         * math/auto-libm-test-out: Regenerated.
42534         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42535         (TEST_COND_x86): Likewise.
42536         (expm1_tonearest_test_data): New array.
42537         (expm1_test_tonearest): New function.
42538         (expm1_towardzero_test_data): New array.
42539         (expm1_test_towardzero): New function.
42540         (expm1_downward_test_data): New array.
42541         (expm1_test_downward): New function.
42542         (expm1_upward_test_data): New array.
42543         (expm1_test_upward): New function.
42544         (main): Run the new test functions.
42545         * sysdeps/i386/fpu/libm-test-ulps: Update.
42546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42548         * include/features.h: Update comment documenting feature test
42549         macros.  Mention _DEFAULT_SOURCE in comment.
42550         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42551         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42552         _BSD_SOURCE and _SVID_SOURCE.
42553         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42554         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42555         !_SVID_SOURCE]: Likewise.
42556         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42557         (__USE_POSIX_IMPLICITLY): Define.
42558         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42559         (_POSIX_SOURCE): Undefine and redefine.
42560         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42561         (_POSIX_C_SOURCE): Likewise.
42562         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42563         (Feature Test Macros): Update documentation of default features.
42565 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42567         * benchtests/Makefile: Add bench-strtok.
42568         * benchtests/bench-strtok.c: New file: strtok benchtest.
42570 2013-12-19  Allan McRae  <allan@archlinux.org>
42572         * manual/install.texi: Suppress menu for plain text output.
42573         * INSTALL: Regenerated.
42575 2013-12-18  Brooks Moses  <bmoses@google.com>
42577         [BZ #15846]
42578         * misc/getauxval.c: Include errno.h.
42579         (__getauxval): Set errno to ENOENT if the requested type is not
42580         found.
42581         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42582         don't declare with __attribute_const__.
42583         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42584         * manual/startup.texi: Document that getauxval sets errno.
42586 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42588         * math/auto-libm-test-in: Add tests of jn and yn.
42589         * math/auto-libm-test-out: Regenerated.
42590         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42591         (yn_test_data): Likewise.
42592         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42593         mpfr_if_f.
42594         (func_calc_desc): Add mpfr_if_f union field.
42595         (FUNC_mpfr_if_f): New macro.
42596         (test_functions): Add jn and yn.
42597         (calc_generic_results): Assert type of second input for
42598         mpfr_ff_f.  Handle mpfr_if_f.
42599         (output_for_one_input_case): Disable all checking for arguments
42600         fitting floating-point types in case of an integer argument.
42601         * sysdeps/i386/fpu/libm-test-ulps: Update.
42602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42605         Don't expect fegetround reference in libm.so.
42607 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42609         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42610         $(config-cflags-nofma).
42612 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42614         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42615         * math/auto-libm-test-out: Regenerated.
42617         [BZ #16338]
42618         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42619         to determine exponent and adjust argument to have exponent of -1.
42620         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42621         log2.
42622         * math/auto-libm-test-out: Regenerated.
42623         * sysdeps/i386/fpu/libm-test-ulps: Update.
42624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42626 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42628         * manual/probes.texi: Remove cases when per-thread arenas are
42629         disabled.
42631 2013-12-18  Andreas Schwab  <schwab@suse.de>
42633         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42634         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42635         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42636         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42637         * sysdeps/i386/i686/multiarch/Makefile: Update.
42638         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42640 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42642         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42643         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42645 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42647         [BZ #15968]
42648         Support TZ transition times < 00:00:00.
42649         This is needed for version-3 tz-format files; it supports time
42650         stamps past 2037 for America/Godthab (the only entry in the tz
42651         database for which this change is relevant).
42652         * manual/time.texi (TZ Variable): Document transition times
42653         from -167:59:59 through -00:00:01.
42654         * time/tzset.c (tz_rule): Time of day is now signed.
42655         (__tzset_parse_tz): Parse negative time of day.
42657         Document TZ transition times >= 25:00:00.
42658         * manual/time.texi (TZ Variable): Document transition times from
42659         25:00:00 through 167:59:59.  These are already supported, and this
42660         support will help with version-3 tz-format files.
42662         * manual/time.texi (TZ Variable): Modernize North America example
42663         to reflect current (i.e., 2007-and-later) daylight saving rules.
42665         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42667 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42669         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42670         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42671         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42673         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42674         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42675         * sysdeps/unix/bsd/clock.c: Likewise.
42676         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42677         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42678         * sysdeps/unix/bsd/init-posix.c: Likewise.
42679         * sysdeps/unix/bsd/poll.c: Likewise.
42680         * sysdeps/unix/bsd/ptsname.c: Likewise.
42681         * sysdeps/unix/bsd/seekdir.c: Likewise.
42682         * sysdeps/unix/bsd/setegid.c: Likewise.
42683         * sysdeps/unix/bsd/seteuid.c: Likewise.
42684         * sysdeps/unix/bsd/setgid.c: Likewise.
42685         * sysdeps/unix/bsd/setrgid.c: Likewise.
42686         * sysdeps/unix/bsd/setruid.c: Likewise.
42687         * sysdeps/unix/bsd/setsid.c: Likewise.
42688         * sysdeps/unix/bsd/setuid.c: Likewise.
42689         * sysdeps/unix/bsd/sigaction.c: Likewise.
42690         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42691         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42692         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42693         * sysdeps/unix/bsd/telldir.c: Likewise.
42694         * sysdeps/unix/bsd/times.c: Likewise.
42695         * sysdeps/unix/bsd/usleep.c: Likewise.
42697         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42698         ($(objpfx)libbsd-compat.a): Remove rule.
42700         * include/features.h (__FAVOR_BSD): Do not define.
42701         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42702         features conflicting with POSIX.
42703         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42704         (_BSD_SOURCE): Remove description of not being a subset of other
42705         feature test macros.
42706         * manual/job.texi (getpgrp): Do not document BSD version.
42707         (getpgid): Do not document by reference to BSD getpgrp.
42708         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42709         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42710         * signal/signal.h [__FAVOR_BSD]: Likewise.
42711         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42712         instead of making contents conditional on [__FAVOR_BSD].
42713         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42715 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42719 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42721         [BZ #16314]
42722         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42723         values below 2**-450, not 2**-500.
42724         * math/auto-libm-test-in: Don't allow spurious underflow from
42725         hypot.
42726         * math/auto-libm-test-out: Regenerated.
42728         [BZ #16316]
42729         [BZ #16330]
42730         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42731         values of ha and hb and sort them after adjusting subnormal
42732         arguments.
42733         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42734         Likewise.
42735         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42736         values of ea and eb and sort them after adjusting subnormal
42737         arguments.
42738         * math/auto-libm-test-in: Do not expect some hypot tests of
42739         subnormals to fail.  Add more hypot tests.
42740         * math/auto-libm-test-out: Regenerated.
42742 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42744         [BZ #13304]
42745         * sysdeps/sh/s_fma.c: New file.
42746         * sysdeps/sh/s_fmaf.c: New file.
42747         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42748         version.
42749         * sysdeps/sh/Implies: Add sh/soft-fp.
42751 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42753         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42754         level of indirection to members `objname', `errstring', `malloced'.
42755         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42756         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42757         it as the __longjmp argument (just pass 1 instead).
42758         (_dl_catch_error): Initialize C with argument pointers and address of
42759         volatile local ERRCODE rather than copying values out of C at return.
42761 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42763         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42764         * math/auto-libm-test-out: Regenerated.
42765         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42766         (hypot_test_data): Likewise.
42767         (pow_test_data): Likewise.
42768         (pow_tonearest_test_data): Likewise.
42769         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42770         mpfr_ff_f.
42771         (func_calc_desc): Add mpfr_ff_f union field.
42772         (FUNC_mpfr_ff_f): New macro.
42773         (test_functions): Add atan2, hypot and pow.
42774         (special_fill_min): New function.
42775         (special_fill_minus_min): Likewise.
42776         (special_fill_min_subnorm): Likewise.
42777         (special_fill_minus_min_subnorm): Likewise.
42778         (special_real_inputs): Add min, -min, min_subnorm and
42779         -min_subnorm.
42780         (calc_generic_results): Handle mpfr_ff_f.
42781         * sysdeps/i386/fpu/libm-test-ulps: Update.
42782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42784 2013-12-16  Will Newton  <will.newton@linaro.org>
42786         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42787         (Aligned Memory Blocks): Add documentation for aligned_alloc
42788         and suggest it as an alternative to posix_memalign.
42789         (Hooks for Malloc): Document __memalign_hook is also called
42790         for aligned_alloc.  (Summary of Malloc): Add summary for
42791         aligned alloc.  Document __memalign_hook is also called
42792         for aligned_alloc.
42794 2013-12-16  Will Newton  <will.newton@linaro.org>
42796         * manual/memory.texi (Malloc Examples): Clarify default
42797         alignment documentation.  Suggest posix_memalign rather
42798         than memalign or valloc.
42799         (Aligned Memory Blocks): Remove suggestion to use memalign
42800         or valloc.  Remove obsolete comment about BSD.
42801         Document memalign errno values and mark the function obsolete.
42802         Document posix_memalign returned error codes.  Mark valloc
42803         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42804         called for posix_memalign and valloc.
42805         (Summary of Malloc): Add posix_memalign to function summary.
42806         __memalign_hook is also called for posix_memalign and valloc.
42808 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42810         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42811         TAYLOR_SIN.
42812         (__sin): Adjust.
42813         (__cos): Likewise.
42814         (sloww): Use mynumber union.  Expand ternary operator into
42815         if-else statements.
42816         (cslow): use mynumber union.
42818 2013-12-16  Allan McRae  <allan@archlinux.org>
42820         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42821         * configure: Regenerated.
42823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42825         [BZ #14120]
42826         * configure.ac: Added --enable-maintainer-mode. Check for
42827         autoconf when enabled.
42828         * configure: Regenerated.
42830         * nscd/nscd.service: New file.
42831         * nscd/nscd.tmpfiles: New file.
42833 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42835         [BZ #12100]
42836         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42837         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42838         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42839         (strstr): Add __strstr_sse2_unaligned ifunc.
42840         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42841         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42842         (strcasestr): Remove __strcasestr_sse42 ifunc.
42843         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42844         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42845         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42847 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42849         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42850         * sysdeps/sh/bits/fenv.h: ... here.
42851         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42853 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42855         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42858         hypotf multiarch implementations.
42859         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42860         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42861         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42862         multiarch hypot for PPC64.
42863         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42864         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42865         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42866         multiarch hypotf for PPC64.
42868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42869         modff multiarch implementations.
42870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42873         multiarch modf for PPC64.
42874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42877         multiarch modff for PPC64.
42879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42880         and logl multiarch implementations.
42881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42884         multiarch logb for PPC64.
42885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42888         multiarch logb for PPC64.
42889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42892         multiarch logb for PPC64.
42894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42895         isinff multiarch implementation.
42896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42897         file.
42898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42900         multiarch isinf for PPC64.
42901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42902         file.
42903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42904         multiarch isinff for PPC64.
42906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42907         finitef multiarch implementation.
42908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42909         file.
42910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42912         multiarch finite for PPC64.
42913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42914         file.
42915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42916         multiarch finitef for PPC64.
42918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42919         lrint multiarch implementation.
42920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42921         file.
42922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42924         multiarch llrint for PPC64.
42925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42926         multiarch lrint for PPC64.
42928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42929         copysignf multiarch implementation.
42930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42931         file.
42932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42933         file.
42934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42935         multiarch copysign for PPC64.
42936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42937         multiarch copysignf for PPC64.
42939         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42940         multiarch implementation.
42941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42942         file.
42943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42944         file.
42945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42946         file.
42947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42948         file.
42949         multiarch llround for PPC64.
42950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42951         multiarch trunc for PPC64.
42952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42953         multiarch truncf for PPC64.
42955         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42956         multiarch implementation.
42957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42958         file.
42959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42960         file.
42961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42962         file.
42963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42964         file.
42965         multiarch llround for PPC64.
42966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42967         multiarch round for PPC64.
42968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42969         multiarch roundf for PPC64.
42971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42972         multiarch implementation.
42973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42974         file.
42975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42976         file.
42977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42978         file.
42979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42980         file.
42981         multiarch llround for PPC64.
42982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42983         multiarch floor for PPC64.
42984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42985         multiarch floorf for PPC64.
42987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42988         multiarch implementation.
42989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42990         file.
42991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42992         file.
42993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42994         file.
42995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42996         file.
42997         multiarch llround for PPC64.
42998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42999         multiarch ceil for PPC64.
43000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43001         multiarch ceilf for PPC64.
43003         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43004         multiarch implementation.
43005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43006         file.
43007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43008         file.
43009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43010         file.
43011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43012         multiarch llround for PPC64.
43013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43014         multiarch lround for PPC64.
43016         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43017         multiarch implementation.
43018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43021         file.
43022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43025         multiarch isnan for PPC64.
43026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43027         multiarch isnanf for PPC64.
43029         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43030         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43031         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43032         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43033         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43036         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43037         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43038         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43039         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43042         multiarch implementations.
43043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43044         (__libc_ifunc_impl_list): Likewise.
43045         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43046         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43047         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43048         multiarch stpcpy for PPC64.
43050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43051         multiarch implementations.
43052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43053         (__libc_ifunc_impl_list): Likewise.
43054         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43055         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43056         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43057         multiarch strcpy for PPC64.
43059         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43060         redefine function name.
43061         (_wordcopy_fwd_dest_aligned): Likewise.
43062         (_wordcopy_bwd_aligned): Likewise.
43063         (_wordcopy_bwd_dest_aligned): Likewise.
43064         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43065         multiarch implementations.
43066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43067         (__libc_ifunc_impl_list): Likewise.
43068         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43069         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43070         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43071         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43072         multiarch wcscpy for PPC64.
43074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43075         multiarch implementations.
43076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43077         (__libc_ifunc_impl_list): Likewise.
43078         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43079         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43080         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43081         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43082         multiarch wcscpy for PPC64.
43084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43085         multiarch implementations.
43086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43087         (__libc_ifunc_impl_list): Likewise.
43088         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43089         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43090         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43091         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43092         multiarch wcsrchr for PPC64.
43094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43095         multiarch implementations.
43096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43097         (__libc_ifunc_impl_list): Likewise.
43098         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43099         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43100         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43101         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43102         multiarch wcschr for PPC64.
43104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43105         multiarch implementations.
43106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43107         (__libc_ifunc_impl_list): Likewise.
43108         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43109         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43110         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43111         multiarch strchrnul for PPC64.
43113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43114         implementations.
43115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43116         (__libc_ifunc_impl_list): Likewise.
43117         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43118         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43119         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43120         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43121         strchr for PPC64.
43123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43124         implementations.
43125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43126         (__libc_ifunc_impl_list): Likewise.
43127         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43128         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43129         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43130         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43131         strncmp for PPC64.
43133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43134         multiarch implementations.
43135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43136         (__libc_ifunc_impl_list): Likewise.
43137         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43138         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43139         strncasecmp for PPC64.
43140         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43141         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43142         multiarch strncasecmp_l for PPC64.
43144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43145         multiarch implementations.
43146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43147         (__libc_ifunc_impl_list): Likewise.
43148         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43149         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43150         multiarch strcasecmp for PPC64.
43151         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43152         file.
43153         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43154         multiarch strcasecmp_l for PPC64.
43156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43157         implementations.
43158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43159         (__libc_ifunc_impl_list): Likewise.
43160         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43161         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43162         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43163         strnlen for PPC64.
43165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43166         implementations.
43167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43168         (__libc_ifunc_impl_list): Likewise.
43169         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43170         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43171         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43172         strlen for PPC64.
43174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43175         implementations.
43176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43177         (__libc_ifunc_impl_list): Likewise.
43178         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43179         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43180         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43181         rawmemrchr for PPC64.
43183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43184         implementation.
43185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43186         (__libc_ifunc_impl_list): Likewise.
43187         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43188         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43189         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43190         memrchr for PPC64.
43192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43193         implementation.
43194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43195         (__libc_ifunc_impl_list): Likewise.
43196         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43197         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43198         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43199         memchr for PPC64.
43201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43202         implementation.
43203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43204         (__libc_ifunc_impl_list): Likewise.
43205         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43206         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43207         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43208         mempcpy for PPC64.
43210         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43211         avoid cretion of __bzero symbol.
43212         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43213         Likewise.
43214         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43215         Likewise.
43216         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43217         Likewise.
43218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43219         multiarch implementations.
43220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43221         (__libc_ifunc_impl_list): Likewise.
43222         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43223         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43224         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43225         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43226         bzero for PPC32.
43227         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43228         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43229         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43230         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43231         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43232         memset for PPC64.
43233         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43235         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43237         implementations.
43238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43239         (__libc_ifunc_impl_list): Likewise.
43240         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43241         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43242         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43243         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43244         memcmp for PPC64.
43246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43247         multiarch for POWER/PPC64.
43248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43249         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43250         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43251         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43252         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43253         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43254         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43255         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43256         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43257         memcpy for PPC64.
43259         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43260         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43261         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43262         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43263         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43264         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43265         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43266         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43267         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43268         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43269         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43270         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43271         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43272         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43273         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43282 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43284         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43286 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43288         * benchtests/Makefile (bench): Add exp2 and log2.
43289         (LDLIBS-bench-exp2): Add -lm.
43290         (LDLIBS-bench-log2): Likewise.
43291         * benchtests/exp2-inputs: New inputs file.
43292         * benchtests/log2-inputs: New inputs file.
43293         * benchtests/log-inputs: Add new inputs.
43294         * benchtests/tan-inputs: Likewise.
43296 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43298         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43299         definition...
43300         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43301         (csloww2): ... from here.
43303         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43304         instead of structures.
43305         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43306         (POLYNOMIAL): Likewise.
43307         (TAYLOR_SLOW): Likewise.
43308         (__sin): Likewise.
43309         (__cos): Likewise.
43310         (slow1): Likewise.
43311         (slow2): Likewise.
43312         (sloww): Likewise.
43313         (sloww1); Likewise.
43314         (sloww2): Likewise.
43315         (bsloww1): Likewise.
43316         (bsloww2): Likewise.
43317         (cslow2): Likewise.
43318         (csloww): Likewise.
43319         (csloww1): Likewise.
43320         (csloww2): Likewise.
43322 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43324         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43325         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43326         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43327         * malloc/hooks.c (realloc_check): Likewise.
43329         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43330         * malloc/arena.c: Remove PER_THREAD conditional.
43331         [!PER_THREAD]: Remove code.
43332         (ptmalloc_unlock_all2): Likewise.
43333         (ptmalloc_init): Likewise.
43334         (_int_new_arena): Likewise.
43335         (arena_get2): Likewise.
43336         * malloc/hooks.c (__malloc_get_state): Likewise.
43337         (__malloc_set_state): Likewise.
43338         * malloc/malloc.c: Likewise.
43339         (struct malloc_state): Likewise.
43340         (struct malloc_par): Likewise.
43341         (__libc_realloc): Likewise.
43342         (__libc_mallopt): Likewise.
43344 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43346         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43348 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43350         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43351         macro to a function.  Check for zero perturb_byte.
43352         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43354         * malloc/malloc.c: (force_reg): Remove.
43355         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43356         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43357         force_reg by atomic_forced_read.
43358         * malloc/arena.c (ptmalloc_init): Likewise.
43359         * malloc/hooks.c (top_check): Likewise.
43361 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43365 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43369 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43371         * math/auto-libm-test-in: Add tests of lgamma.
43372         * math/auto-libm-test-out: Regenerated.
43373         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43374         (M_LOG_2_SQRT_PIl): Likewise.
43375         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43376         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43377         mpfr_f_f1.
43378         (func_calc_desc): Add mpfr_f_f1 union field.
43379         (ARGS1): New macro.
43380         (ARGS2): Likewise.
43381         (ARGS3): Likewise.
43382         (ARGS4): Likewise.
43383         (RET1): Likewise.
43384         (RET2): Likewise.
43385         (CALC): Likewise.
43386         (FUNC): Likewise.
43387         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43388         (test_functions): Add lgamma.
43389         (calc_generic_results): Handle mpfr_f_f1.
43390         * sysdeps/i386/fpu/libm-test-ulps: Update.
43391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43393 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43395         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43396         __mpn_add_n for PowerPC64/POWER7.
43397         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43398         __mpn_sub_n for PowerPC64/POWER7.
43400         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43401         __mpn_addmul_1 for PowerPC64.
43402         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43403         __mpn_submul_1 for PowerPC64.
43404         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43405         for PowerPC64.
43406         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43407         for PowerPC64.
43409 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43411         [BZ #15089]
43412         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43414 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43416         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43418         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43419         add multiarch folders.
43420         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43421         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43422         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43423         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43424         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43425         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43426         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43427         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43428         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43429         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43430         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43439         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43441         New file.
43442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43443         New file.
43444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43445         multiarch __ieee754_hypot for PowerPC32.
43446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43447         New file.
43448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43449         New file.
43450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43451         multiarch __ieee754_hypotf for PowerPC32.
43453         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43454         long_double_symbol only if __logbl is defined.
43455         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43456         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43457         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43458         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43459         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43460         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43461         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43462         path for implementation.
43463         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43464         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43466         logb, and logbl multiarch implementations for PowerPC32.
43467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43468         file.
43469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43470         file.
43471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43472         multiarch logb for PowerPC32.
43473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43474         file.
43475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43476         file.
43477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43478         multiarch logbf for PowerPC32.
43479         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43481         file.
43482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43483         multiarch logbl implementation for PowerPC32.
43485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43486         and modff multiarch implementations.
43487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43488         New file.
43489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43490         New file.
43491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43492         multiarch modf for PowerPC32.
43493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43494         New file.
43495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43496         New file.
43497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43498         multiarch modff for PowerPC32.
43500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43501         and lrintf multiarch implementations.
43502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43503         New file.
43504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43505         New file.
43506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43507         multiarch lrint for PowerPC32.
43508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43509         file: multiarch lrintf for PowerPC32.
43511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43512         and lroundf multiarch implementations.
43513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43514         New file.
43515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43516         New file.
43517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43518         New file.
43519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43520         multiarch lround for PowerPC32.
43521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43522         file: multiarch lroundf for PowerPC32.
43524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43525         copysign and copysignf multiarch implementations.
43526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43527         New file.
43528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43529         New file.
43530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43531         file: multiarch copysign for PowerPC32.
43532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43533         file: multiarch copysignf for PowerPC32.
43535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43536         and truncf multiarch implementations.
43537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43538         New file.
43539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43540         file.
43541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43542         multiarch trunc for PowerPC32.
43543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43544         New file.
43545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43546         New file.
43547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43548         multiarch truncf for PowerPC32.
43550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43551         and roundf multiarch implementations.
43552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43553         New file.
43554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43555         file.
43556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43557         multiarch round for PowerPC32.
43558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43559         New file.
43560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43561         New file.
43562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43563         multiarch roundf for PowerPC32.
43565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43566         and floorf multiarch implementations.
43567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43568         New file.
43569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43570         file.
43571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43572         multiarch floor for PowerPC32.
43573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43574         New file.
43575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43576         New file.
43577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43578         multiarch floorf for PowerPC32.
43580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43581         and ceilf multiarch implementations.
43582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43583         New file.
43584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43585         file.
43586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43587         multiarch ceil for PowerPC32.
43588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43589         New file.
43590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43591         file.
43592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43593         multiarch ceilf for PowerPC32.
43595         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43596         is defined.
43597         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43598         FINITEF is defined.
43599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43600         and finitef multiarch implementations.
43601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43602         New file.
43603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43604         file.
43605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43606         multiarch finite for PowerPC32.
43607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43608         New file.
43609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43610         file: multiarch finitef for PowerPC32.
43612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43613         and isinff multiarch implementations.
43614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43615         file.
43616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43617         file.
43618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43619         multiarch isinf for PowerPC32.
43620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43621         New file.
43622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43623         multiarch isinff for PowerPC32.
43625         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43626         alias when __isnan is defined.
43627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43628         and isnanf multiarch implementations.
43629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43630         file.
43631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43632         file.
43633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43634         file.
43635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43636         file.
43637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43638         multiarch isnan for PowerPC32.
43639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43640         New file.
43641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43642         New file.
43643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43644         multiarch isnanf for PowerPC32.
43646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43647         and sqrtf multiarch implementations.
43648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43649         file.
43650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43651         file.
43652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43653         multiarch sqrt for PowerPC32.
43654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43655         file.
43656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43657         file.
43658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43659         multiarch sqrtf for PowerPC32.
43661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43662         and llroundf multiarch implementations.
43663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43664         New file.
43665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43666         New file.
43667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43668         New file.
43669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43670         file: multiarch llround for PowerPC32.
43671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43672         file: multiarch llroundf for PowerPC32.
43674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43675         multiarch PowerPC32 fpu implementations.
43676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43677         New file.
43678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43679         New file.
43680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43681         multiarch llrint for PowerPC32.
43682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43683         New file.
43684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43685         New file.
43686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43687         file.
43689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43691         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43692         file.
43693         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43694         file.
43695         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43696         file.
43697         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43698         multiarch wordcopy for PPC32.
43699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43700         wordcopy objects.
43701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43702         (__libc_ifunc_impl_list): Likewise.
43703         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43704         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43705         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43706         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43707         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43708         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43710         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43712         file.
43713         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43714         file.
43715         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43716         file.
43717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43718         multiarch wcscpy for PPC32.
43719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43720         multiarch objects.
43721         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43722         (__libc_ifunc_impl_list): Likewise.
43723         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43724         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43725         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43726         sysdeps/powerpc/power6/wcscpy.c.
43728         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43730         file.
43731         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43732         file.
43733         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43734         file.
43735         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43736         multiarch wcsrchr for PPC32.
43737         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43738         multiarch objects.
43739         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43740         (__libc_ifunc_impl_list): Likewise.
43741         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43742         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43743         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43744         sysdeps/powerpc/power6/wcsrchr.c.
43746         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43747         file.
43748         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43749         file.
43750         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43751         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43752         multiarch wcschr for PPc32.
43753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43754         multiarch objects.
43755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43756         (__libc_ifunc_impl_list): Likewise.
43757         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43758         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43759         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43760         sysdeps/powerpc/power6/wcschr.c.
43762         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43763         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43764         file.
43765         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43766         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43767         file: multiarch strchr for PPC32.
43768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43769         multiarch objects.
43770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43771         (__libc_ifunc_impl_list): Likewise.
43773         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43774         name.
43775         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43776         file.
43777         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43778         file.
43779         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43780         multiarch strchrnul for PPC32.
43781         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43782         multiarch objects.
43783         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43784         (__libc_ifunc_impl_list): Likewise.
43786         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43787         file.
43788         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43789         multiarch strncasecmp for PPC32.
43790         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43791         file.
43792         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43793         multiarch strncasecmp_l for PPC32.
43794         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43795         strncasecmp multiarch objects.
43796         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43797         (__libc_ifunc_impl_list): Likewise.
43799         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43800         file.
43801         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43802         multiarch strncasecmp for PPC32.
43803         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43804         New file.
43805         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43806         multiarch strcasecmp_l for PPC32.
43807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43808         multiarch objects.
43809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43810         (__libc_ifunc_impl_list): Likewise.
43812         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43813         file.
43814         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43815         file.
43816         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43817         multiarch strncmp for PPC32.
43818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43819         multiarch objects.
43820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43821         (__libc_ifunc_impl_list): Likewise.
43823         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43824         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43825         file.
43826         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43827         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43829         multiarch objects.
43830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43831         (__libc_ifunc_impl_list): Likewise.
43833         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43834         file.
43835         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43836         file.
43837         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43839         multiarch objects.
43840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43841         (__libc_ifunc_impl_list): Likewise.
43843         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43844         file.
43845         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43846         file.
43847         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43848         multiarch rawmemchr for PPC32.
43849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43850         multiarch objects.
43851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43852         (__libc_ifunc_impl_list): Likewise.
43854         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43855         file.
43856         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43857         file.
43858         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43859         file: memrchr multiarch for PPC32.
43860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43861         multiarch objects.
43862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43863         (__libc_ifunc_impl_list): Likewise.
43865         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43866         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43867         file.
43868         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43869         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43870         multiarch memchr for PPC32.
43871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43872         multiarch objects.
43873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43874         (__libc_ifunc_impl_list): Likewise.
43876         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43877         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43878         file.
43879         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43880         file.
43881         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43882         file: multiarch mempcpy for PPC32.
43883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43884         multiarch objects.
43885         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43886         (__libc_ifunc_impl_list): Likewise.
43888         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43889         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43890         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43891         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43892         multiarch bzero for PPC32.
43893         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43894         file.
43895         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43896         file.
43897         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43898         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43899         file: multiarch memset for PPC32.
43900         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43901         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43902         memset multiarch objects.
43903         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43904         (__libc_ifunc_impl_list): Likewise.
43906         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43907         file.
43908         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43909         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43910         memcmp for PPC32.
43911         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43913         multiarch objects.
43914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43915         (__libc_ifunc_impl_list): Likewise.
43917         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43918         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43919         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43920         file.
43921         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43922         file.
43923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43924         file.
43925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43926         multiarch memcpy for PPC32.
43927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43928         multiarch objects.
43929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43930         (__libc_ifunc_impl_list): Likewise.
43932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43933         support multiarch for POWER/PPC32.
43934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43935         Likewise.
43936         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43938         Implies file to make multiarch folder appers before the fpu and
43939         default folder for power4 configuration.
43941 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43943         * scripts/bench.pl: Append volatile keyword to type.
43945 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43947         * sysdeps/sh/sotruss-lib.c: New file.
43948         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43950 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43954 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43956         [BZ #6810]
43957         * math/w_tgamma.c: Include <errno.h>.
43958         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43959         * math/w_tgammaf.c: Include <errno.h>.
43960         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43961         * math/w_tgammal.c: Include <errno.h>.
43962         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43963         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43964         underflow.  Add more tgamma tests.
43965         * math/auto-libm-test-out: Regenerated.
43966         * sysdeps/i386/fpu/libm-test-ulps: Update.
43967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43969         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43970         sin, sinh, tan, tanh, tgamma, y0 and y1.
43971         * math/auto-libm-test-out: Regenerated.
43972         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43973         (TEST_COND_x86): Likewise.
43974         (M_E2l): Remove macro.
43975         (M_E3l): Likewise.
43976         (M_2_SQRT_PIl): Likewise.
43977         (M_SQRT_PIl): Likewise.
43978         (M_1_DIV_El): Likewise.
43979         (log_test_data): Use AUTO_TESTS_f_f.
43980         (log10_test_data): Likewise.
43981         (log1p_test_data): Likewise.
43982         (log2_test_data): Likewise.
43983         (sin_test_data): Likewise.
43984         (sin_tonearest_test_data): Likewise.
43985         (sin_towardzero_test_data): Likewise.
43986         (sin_downward_test_data): Likewise.
43987         (sin_upward_test_data): Likewise.
43988         (sinh_test_data): Likewise.
43989         (sinh_tonearest_test_data): Likewise.
43990         (sinh_towardzero_test_data): Likewise.
43991         (sinh_downward_test_data): Likewise.
43992         (sinh_upward_test_data): Likewise.
43993         (tan_test_data): Likewise.
43994         (tan_tonearest_test_data): Likewise.
43995         (tan_towardzero_test_data): Likewise.
43996         (tan_downward_test_data): Likewise.
43997         (tan_upward_test_data): Likewise.
43998         (tanh_test_data): Likewise.
43999         (tgamma_test_data): Likewise.
44000         (y0_test_data): Likewise.
44001         (y1_test_data): Likewise.
44002         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44003         (special_real_inputs): Add pi/4.
44004         * sysdeps/i386/fpu/libm-test-ulps: Update.
44005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44007 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44009         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44010         "longjmp_target" static probes.
44011         (__longjmp): Rename to __longjmp_symbol.
44012         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44013         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44014         on which longjmp to generate.
44015         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44016         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44017         probe.
44018         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44019         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44020         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44021         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44022         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44023         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44025         __longjmp_symbol based on which __longjmp to generate.
44026         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44027         probe.
44028         (setjmp): Rename to setjmp_symbol.
44029         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44030         (_setjmp): Rename to _setjmp_symbol.
44031         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44032         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44033         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44034         which setjmp to generate.
44035         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44036         "longjmp_target" static probes.
44038 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44040         * benchtests/README: Add note about output arguments.
44041         * benchtests/bench-sincos.c: Remove file.
44042         * benchtests/sincos-inputs: New file.
44043         * scripts/bench.pl: Identify output arguments and define
44044         static variables for them.
44046         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44048         [BZ #15941]
44049         * Makefile (INSTALL): Add install-plain.texi as the primary
44050         dependency.
44051         * manual/install-plain.texi: New file.
44052         * manual/install.texi: Include node directive only for
44053         non-plaintext output.
44055 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44057         * stdlib/longlong.h: Update from GCC.
44059         [BZ #6807]
44060         [BZ #15901]
44061         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44062         * math/w_j0f.c (y0f): Likewise.
44063         * math/w_j0l.c (__y0l): Likewise.
44064         * math/w_j1.c (y1): Likewise.
44065         * math/w_j1f.c (y1f): Likewise.
44066         * math/w_j1l.c (__y1l): Likewise.
44067         * math/w_jn.c (yn): Likewise.
44068         * math/w_jnf.c (ynf): Likewise.
44069         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44070         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44071         value for Bessel function domain errors outside _SVID_ mode.
44072         Adjust sign of return value for yn (negative integer, 0).
44073         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44074         by zero in return for negative x and set sign appropriately for
44075         negative n.
44076         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44077         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44078         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44079         expectations in error cases.
44080         (y1_test_data): Likewise.
44081         (yn_test_data): Likewise.
44082         * sysdeps/i386/fpu/libm-test-ulps: Update.
44083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44085 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44087         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44088         "64" to "64-v1".  Add "64-v2".
44089         (abi-64-options): Rename to ...
44090         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44091         (abi-64-condition): Rename to ...
44092         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44093         (abi-64-ld-soname): Rename to ...
44094         (abi-64-v1-ld-soname): ... this.
44095         (abi-64-v2-options): Define.
44096         (abi-64-v2-condition): Likewise.
44097         (abi-64-v2-ld-soname): Likewise.
44098         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44099         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44104 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44105             Alan Modra  <amodra@gmail.com>
44107         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44108         New versions for use with the ELFv2 ABI.
44109         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44110         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44111         declaration.
44112         (struct La_ppc64v2_retval): Likewise.
44113         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44114         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44115         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44116         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44117         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44118         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44119         Do not save or restore CR.
44120         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44121         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44122         return values for ELFv2 ABI.  Fix location of FPR return registers.
44123         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44124         updated values for _CALL_ELF == 2.
44125         (La_regs, La_retval, int_retval): Likewise.
44127 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44129         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44130         (FRAME_MIN_SIZE_PARM): Likewise.
44131         (FRAME_BACKCHAIN): Likewise.
44132         (FRAME_CR_SAVE): Likewise.
44133         (FRAME_LR_SAVE): Likewise.
44134         (FRAME_TOC_SAVE): Likewise.
44135         (FRAME_PARM_SAVE): Likewise.
44136         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44137         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44138         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44139         (call_mcount_parm_offset): New macro.
44140         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44141         (PROF): Use symbolic stack frame offsets.
44142         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44143         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44144         Redefine in terms of FRAME_MIN_SIZE.
44145         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44146         (_dl_profile_resolve): Likewise.  Update comment.
44147         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44148         symbols stack frame offsets.
44149         (__sigsetjmp): Likewise.
44150         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44151         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44152         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44153         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44156         (FRAME_BACKCHAIN): Remove.
44157         (FRAME_CR_SAVE): Likewise.
44158         (FRAME_LR_SAVE): Likewise.
44159         (FRAME_COMPILER_DW): Likewise.
44160         (FRAME_LINKER_DW): Likewise.
44161         (FRAME_TOC_SAVE): Likewise.
44162         (FRAME_PARM_SAVE): Likewise.
44163         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44164         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44165         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44167         (CHECK_SP): Use symbolic stack frame offsets.
44168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44169         zone" instead of caller's parameter save area for temp storage.
44170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44171         Likewise.  Also, use symbolic stack frame offsets.
44172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44173         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44174         our own stack frame instead of the caller's.
44175         (__socket): Use symbolic stack frame offsets.
44177 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44178             Alan Modra  <amodra@gmail.com>
44180         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44181         Define.
44182         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44183         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44184         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44185         New function.
44186         (elf_machine_fixup_plt): Call it.
44187         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44188         reloc arguments.
44189         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44190         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44191         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44192         r2 before calling target.
44194 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44195             Alan Modra  <amodra@gmail.com>
44197         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44198         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44199         versions of macros to support ELFv2 ABI.
44200         (LOCALENTRY): New macro.
44201         (ENTRY, EALIGN): Use it.
44202         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44203         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44204         fall through into ENTRY entry point.
44205         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44206         Only define if _CALL_ELF != 2.
44208         (elf_machine_matches_host): Verify ABI version matches.
44209         (RTLD_START): Use LOCALENTRY.
44210         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44211         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44212         (PLT_ENTRY_WORDS): New macro.
44213         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44214         (elf_machine_runtime_setup): Support ELFv2 ABI.
44215         (elf_machine_fixup_plt): Likewise.
44216         (elf_machine_plt_conflict): Likewise.
44217         (resolve_ifunc): Likewise.
44218         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44219         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44220         Likewise.
44221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44222         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44224         (makecontext): Support ELFv2 ABI.
44225         * elf/elf.h (EF_PPC64_ABI): Define.
44227 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44229         * sysdeps/powerpc/powerpc64/sysdep.h
44230         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44231         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44232         (ENTRY) [ASSEMBLER]: ... but instead here ...
44233         (EALIGN) [ASSEMBLER]: ... and here.
44234         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44235         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44236         (ENTRY_2) [!ASSEMBLER]: Use it.
44237         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44238         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44239         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44240         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44241         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44243         Use PPC64_LOAD_FUNCPTR.
44245         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44247 2013-12-04  Alan Modra  <amodra@gmail.com>
44249         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44250         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44251         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44252         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44254         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44255         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44256         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44257         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44258         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44259         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44261 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44264         (__makecontext): Fix incorrect CFI when backtracing out of
44265         context created via makecontext.
44266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44267         (__setcontext): Fix incorrect CFI during switch to new context.
44268         (__novec_setcontext): Likewise.
44270 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44272         [BZ #4772]
44273         * time/strptime_l.c (__strptime_internal): Allow modifiers
44274         in strptime.
44275         * time/tst-strptime.c (day_tests): Add testcase.
44277 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44279         * scripts/bench.pl: Skip over blank lines.
44281 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44283         [BZ #926]
44284         * manual/time.texi (Calendar Time): Clarify what timezone functions
44285         use.
44287 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44291 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44293         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44294         implementation.
44295         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44296         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44297         * debug/memset_chk.c (__memset_chk): Likewise.
44298         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44299         * debug/strncpy_chk.c: Likewise.
44301 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44303         [BZ #15268]
44304         [BZ #15425]
44305         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44306         (__ieee754_exp): For possibly underflowing results, check size of
44307         result and force underflow exception if required.
44308         * math/auto-libm-test-in: Add more tests of exp.
44309         * math/auto-libm-test-out: Regenerated.
44310         * sysdeps/i386/fpu/libm-test-ulps: Update.
44311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44313         [BZ #16283]
44314         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44315         * math/w_exp2f.c (__exp2f): Likewise.
44316         * math/w_exp2l.c (__exp2l): Likewise.
44317         * math/auto-libm-test-in: Do not allow missing errno on exp2
44318         underflow.
44319         * math/auto-libm-test-out: Regenerated.
44321 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44323         [BZ #16274]
44324         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44325         handle filename validation.
44326         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44327         (do_open): Delete.
44329 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44331         [BZ #6786]
44332         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44333         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44334         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44335         <float.h>.
44336         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44337         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44338         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44339         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44340         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44341         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44342         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44343         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44344         Add more erfc tests.
44345         * math/auto-libm-test-out: Regenerated.
44346         * sysdeps/i386/fpu/libm-test-ulps: Update.
44347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44349         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44350         exp2, expm1, j0 and j1.
44351         * math/auto-libm-test-out: Regenerated.
44352         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44353         (erfc_test_data): Likewise.
44354         (exp_test_data): Likewise.
44355         (exp_tonearest_test_data): Likewise.
44356         (exp_towardzero_test_data): Likewise.
44357         (exp_downward_test_data): Likewise.
44358         (exp_upward_test_data): Likewise.
44359         (exp10_test_data): Likewise.
44360         (exp2_test_data): Likewise.
44361         (expm1_test_data): Likewise.
44362         (j0_test_data): Likewise.
44363         (j1_test_data): Likewise.
44364         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44365         (input_flag_type): Add flag_xfail_rounding.
44366         (input_flags): Add xfail-rounding.
44367         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44368         (output_for_one_input_case): Handle flag_xfail_rounding.
44369         * sysdeps/i386/fpu/libm-test-ulps: Update.
44370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44372 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44374         [BZ #16289]
44375         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44376         division by 0.
44378 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44380         [BZ #16195]
44381         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44382         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44383         (STAP_PROBE0): New macro.
44384         (STAP_PROBE1): Likewise.
44385         (STAP_PROBE2): Likewise.
44386         (STAP_PROBE3): Likewise.
44387         (STAP_PROBE4): Likewise.
44389 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44391         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44393 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44395         * benchtests/Makefile (bench): Add sqrt.
44396         (LDLIBS-bench-sqrt): New.
44397         * benchtests/sqrt-input: New.
44399 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44401         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44402         (GAIH_EAI): Likewise.
44403         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44404         (gaih_inet): Likewise.
44405         (getaddrinfo): Don't use GAIH_EAI.
44407         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44408         (struct gaih): Remove definition.
44410 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44412         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44413         Use HERRNOP directly.
44415 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44419 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44421         * math/gen-auto-libm-tests.c (test_functions): Add more
44422         single-argument functions.
44423         (special_fill_pi_2): New function.
44424         (special_fill_minus_pi_2): Likewise.
44425         (special_fill_pi_6): Likewise.
44426         (special_fill_minus_pi_6): Likewise.
44427         (special_fill_pi_3): Likewise.
44428         (special_fill_2pi_3): Likewise.
44429         (special_fill_e): Likewise.
44430         (special_fill_1_e): Likewise.
44431         (special_fill_e_minus_1): Likewise.
44432         (special_real_inputs): Add more special inputs.
44433         (output_for_one_input_case): Do not require ERANGE on underflow to
44434         zero if round-to-nearest result does not underflow to zero, unless
44435         exact results required.
44436         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44437         atan, atanh, cbrt, cos and cosh.
44438         * math/auto-libm-test-out: Regenerated.
44439         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44440         (acos_tonearest_test_data): Likewise.
44441         (acos_towardzero_test_data): Likewise.
44442         (acos_downward_test_data): Likewise.
44443         (acos_upward_test_data): Likewise.
44444         (acosh_test_data): Likewise.
44445         (asin_test_data): Likewise.
44446         (asin_tonearest_test_data): Likewise.
44447         (asin_towardzero_test_data): Likewise.
44448         (asin_upward_test_data): Likewise.
44449         (asinh_test_data): Likewise.
44450         (atan_test_data): Likewise.
44451         (atanh_test_data): Likewise.
44452         (cbrt_test_data): Likewise.
44453         (cos_test_data): Likewise.
44454         (cos_tonearest_test_data): Likewise.
44455         (cos_towardzero_test_data): Likewise.
44456         (cos_downward_test_data): Likewise.
44457         (cos_upward_test_data): Likewise.
44458         (cosh_test_data): Likewise.
44459         (cosh_tonearest_test_data): Likewise.
44460         (cosh_towardzero_test_data): Likewise.
44461         (cosh_downward_test_data): Likewise.
44462         (cosh_upward_test_data): Likewise.
44463         * sysdeps/i386/fpu/libm-test-ulps: Update.
44464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44466 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44468         [BZ #6787]
44469         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44470         * math/w_exp10f.c (__exp10f): Likewise.
44471         * math/w_exp10l.c (__exp10l): Likewise.
44472         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44473         errno settings in existing tests.
44475         [BZ #14032]
44476         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44477         precision control set to double precision.
44478         * sysdeps/i386/fpu/w_sqrt.c: New file.
44479         * math/auto-libm-test-in: Add more tests.
44480         * math/auto-libm-test-out: Update.
44482         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44483         (sqrt_test_tonearest): New function.
44484         (sqrt_towardzero_test_data): New variable.
44485         (sqrt_test_towardzero): New function.
44486         (sqrt_downward_test_data): New variable.
44487         (sqrt_test_downward): New function.
44488         (sqrt_upward_test_data): New variable.
44489         (sqrt_test_upward): New function.
44490         (main): Call the new functions.
44492         * math/gen-auto-libm-tests.c: New file.
44493         * math/auto-libm-test-in: Likewise.
44494         * math/auto-libm-test-out: New generated file.
44495         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44496         variables.
44497         (%beautify): Add generated representations of zero.
44498         (top level): Set $auto_input and call parse_auto_input.
44499         (beautify): Remove trailing "f" from hex float constants.
44500         (parse_args): Handle XFAIL_TEST.
44501         (convert_condition): New function.
44502         (or_value): Likewise.
44503         (or_cond_value): Likewise.
44504         (generate_testfile): Handle AUTO_TESTS_* lines.
44505         (parse_auto_input): New function.
44506         * math/libm-test.inc (XFAIL_TEST): New macro.
44507         (ERRNO_UNCHANGED): Update value.
44508         (ERRNO_EDOM): Likewise.
44509         (ERRNO_ERANGE): Likewise.
44510         (IGNORE_RESULT): Likewise.
44511         (TEST_COND_flt_32): New macro.
44512         (TEST_COND_dbl_64): Likewise.
44513         (TEST_COND_ldbl_96_intel): Likewise.
44514         (TEST_COND_ldbl_96_m68k): Likewise.
44515         (TEST_COND_ldbl_128): Likewise.
44516         (TEST_COND_ldbl_128ibm): Likewise.
44517         (TEST_COND_long32): Likewise.
44518         (TEST_COND_long64): Likewise.
44519         (TEST_COND_before_rounding): Likewise.
44520         (TEST_COND_after_rounding): Likewise.
44521         (enable_test): Handle XFAIL_TEST flag.
44522         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44523         with finite results.
44524         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44525         auto-libm-test-out.
44527 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44528             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44530         [BZ #16214]
44531         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44532         __tls_get_addr_internal instead of __tls_get_offset in order to
44533         avoid GOT pointer dependency.  Make rtld export
44534         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44535         __tls_get_addr since we are a __tls_get_offset platform.
44536         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44537         GOT pointer being set up before.
44538         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44540 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44542         * manual/math.texi (Errors in Math Functions): Document accuracy
44543         goals.
44545         [BZ #15004]
44546         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44547         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44548         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44549         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44550         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44551         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44552         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44553         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44554         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44555         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44556         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44557         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44558         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44559         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44560         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44561         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44563         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44564         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44565         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44566         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44567         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44568         Likewise.
44569         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44570         Likewise.
44571         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44572         Likewise.
44573         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44574         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44575         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44576         atomic-feupdateenv and flt-rounds.
44577         * sysdeps/powerpc/nofpu/Versions (libc): Add
44578         __atomic_feholdexcept, __atomic_feclearexcept,
44579         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44580         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44581         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44582         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44583         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44584         here.
44585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44586         Update.
44588         * manual/arith.texi (FP Exceptions): Document that exceptions may
44589         not be raised when matherr is used.
44590         (Math Error Reporting): Document overflow in directed rounding
44591         modes.  Document that errno may not be set when finite values are
44592         returned on overflow.  Document intent to set errno on underflow
44593         only for underflow to zero.
44595         [BZ #16271]
44596         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44597         round-to-nearest then adjust result for other rounding modes.
44598         * include/fenv.h (fegetround): Use libm_hidden_proto.
44599         * math/fegetround.c (fegetround): Use libm_hidden_def.
44600         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44601         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44602         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44603         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44604         Likewise.
44605         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44606         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44607         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44608         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44610 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44612         [BZ #16077]
44613         * nss/Versions (libnss_files): Add
44614         _nss_files_gethostbyname3_r.
44615         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44616         New function.
44617         (HOST_DB_LOOKUP): Remove macro.
44618         (_nss_files_gethostbyname_r): Implement function without the
44619         HOST_DB_LOOKUP macro.
44620         (_nss_files_gethostbyname2_r): Likewise.
44622 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44624         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44626 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44628         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44629         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44630         warning.
44632 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44634         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44635         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44636         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44637         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44638         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44639         __fe_nomask_env_priv and attribute_hidden.
44640         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44641         (libc_feupdateenv_test_ppc): Likewise.
44642         (libc_feresetround_ppc): Likewise.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44644         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44645         compat_symbol macro.
44646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44647         (__fe_nomask_env): Likewise.
44648         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44650 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44652         * string/Makefile: Remove ifunc tests.
44653         * string/test-string.h: Define TEST_IFUNC.
44654         * string/test-bcopy-ifunc.c: Remove.
44655         * string/test-bzero-ifunc.c: Likewise.
44656         * string/test-memccpy-ifunc.c: Likewise.
44657         * string/test-memchr-ifunc.c: Likewise.
44658         * string/test-memcmp-ifunc.c: Likewise.
44659         * string/test-memcpy-ifunc.c: Likewise.
44660         * string/test-memmem-ifunc.c: Likewise.
44661         * string/test-memmove-ifunc.c: Likewise.
44662         * string/test-mempcpy-ifunc.c: Likewise.
44663         * string/test-memrchr-ifunc.c: Likewise.
44664         * string/test-memset-ifunc.c: Likewise.
44665         * string/test-rawmemchr-ifunc.c: Likewise.
44666         * string/test-stpcpy-ifunc.c: Likewise.
44667         * string/test-stpncpy-ifunc.c: Likewise.
44668         * string/test-strcasecmp-ifunc.c: Likewise.
44669         * string/test-strcasestr-ifunc.c: Likewise.
44670         * string/test-strcat-ifunc.c: Likewise.
44671         * string/test-strchr-ifunc.c: Likewise.
44672         * string/test-strchrnul-ifunc.c: Likewise.
44673         * string/test-strcmp-ifunc.c: Likewise.
44674         * string/test-strcpy-ifunc.c: Likewise.
44675         * string/test-strcspn-ifunc.c: Likewise.
44676         * string/test-strlen-ifunc.c: Likewise.
44677         * string/test-strncasecmp-ifunc.c: Likewise.
44678         * string/test-strncat-ifunc.c: Likewise.
44679         * string/test-strncmp-ifunc.c: Likewise.
44680         * string/test-strncpy-ifunc.c: Likewise.
44681         * string/test-strnlen-ifunc.c: Likewise.
44682         * string/test-strpbrk-ifunc.c: Likewise.
44683         * string/test-strrchr-ifunc.c: Likewise.
44684         * string/test-strspn-ifunc.c: Likewise.
44685         * string/test-strstr-ifunc.c: Likewise.
44687 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44689         * benchtests/Makefile: Remove ifunc tests.
44690         * benchtests/bench-string.h: Define TEST_IFUNC.
44691         * benchtests/bench-bcopy-ifunc.c: Remove.
44692         * benchtests/bench-bzero-ifunc.c: Likewise.
44693         * benchtests/bench-memccpy-ifunc.c: Likewise.
44694         * benchtests/bench-memchr-ifunc.c: Likewise.
44695         * benchtests/bench-memcmp-ifunc.c: Likewise.
44696         * benchtests/bench-memcpy-ifunc.c: Likewise.
44697         * benchtests/bench-memmem-ifunc.c: Likewise.
44698         * benchtests/bench-memmove-ifunc.c: Likewise.
44699         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44700         * benchtests/bench-memrchr-ifunc.c: Likewise.
44701         * benchtests/bench-memset-ifunc.c: Likewise.
44702         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44703         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44704         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44705         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44706         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44707         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44708         * benchtests/bench-strcat-ifunc.c: Likewise.
44709         * benchtests/bench-strchr-ifunc.c: Likewise.
44710         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44711         * benchtests/bench-strcmp-ifunc.c: Likewise.
44712         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44713         * benchtests/bench-strcpy-ifunc.c: Likewise.
44714         * benchtests/bench-strcspn-ifunc.c: Likewise.
44715         * benchtests/bench-strlen-ifunc.c: Likewise.
44716         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44717         * benchtests/bench-strncat-ifunc.c: Likewise.
44718         * benchtests/bench-strncmp-ifunc.c: Likewise.
44719         * benchtests/bench-strncpy-ifunc.c: Likewise.
44720         * benchtests/bench-strnlen-ifunc.c: Likewise.
44721         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44722         * benchtests/bench-strrchr-ifunc.c: Likewise.
44723         * benchtests/bench-strsep-ifunc.c: Likewise.
44724         * benchtests/bench-strspn-ifunc.c: Likewise.
44725         * benchtests/bench-strstr-ifunc.c: Likewise.
44727 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44729         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44731 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44733         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44734         * rt/aio.h: Likewise.
44735         * sysdeps/gnu/bits/utmp.h: Likewise.
44736         * sysdeps/gnu/bits/utmpx.h: Likewise.
44737         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44738         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44739         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44740         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44741         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44742         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44743         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44744         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44745         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44746         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44747         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44748         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44749         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44751         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44752         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44753         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44754         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44755         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44756         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44757         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44758         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44759         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44760         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44761         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44763         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44764         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44765         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44766         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44767         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44768         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44769         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44770         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44771         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44772         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44773         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44774         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44775         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44776         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44777         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44778         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44780 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44782         [BZ #16245]
44783         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44784         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44786 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44788         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44789         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44790         Likewise.
44792 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44794         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44795         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44796         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44797         (__fesetround): Remove define.
44798         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44799         rounding and exceptions handling.
44800         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44801         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44802         (__fe_nomask_env): Likewise.
44803         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44804         __fegetround instead of fegetround.
44805         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44806         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44808 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44810         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44811         it's there.
44813         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44815 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44817         [BZ #11157]
44818         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44819         (encrypt_r): Likewise.
44820         * malloc/obstack.h (obstack_free): Likewise.
44821         * posix/unistd.h (encrypt): Likewise.
44823 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44825         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44826         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44827         DL_CALL_DT_FINI() that call the functions directly.
44828         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44829         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44830         * elf/dl-fini.c: Likewise.
44832 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44834         * malloc/hooks.c (memalign_check): Add alignment rounding.
44835         * malloc/malloc.c (_mid_memalign): New function.
44836         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44837         Implement by calling _mid_memalign.
44838         * manual/probes.texi (Memory Allocation Probes): Remove
44839         memory_valloc_retry and memory_pvalloc_retry.
44841 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44843         * locale/programs/locarchive.c (open_archive): Add const
44844         qualifier to ARCHIVEFNAME and copy default fname to
44845         DEFAULT_FNAME.
44847         [BZ #15601]
44848         * libio/tst-widetext.input: Rename Oriya to Odia.
44849         * locale/iso-639.def: Likewise.
44851         * manual/probes.texi (Mathematical Function Probes): Add
44852         documentation for sin, cos, asin and acos probes.
44853         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44854         (__sin32): Add slowasin probe.
44855         (__cos32): Add slowacos probe.
44856         (__mpsin): Add slowsin probe.
44857         (__mpcos): Add slowcos probe.
44859 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44861         [BZ #15483]
44862         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44863         thread-local __sim_exceptions_thread and global
44864         __sim_exceptions_global.
44865         (__sim_disabled_exceptions): Change to thread-local
44866         __sim_disabled_exceptions_thread and global
44867         __sim_disabled_exceptions_global.
44868         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44869         and global __sim_round_mode_global.
44870         (__simulate_exceptions): Use thread-local floating-point state and
44871         set global state from it as needed.
44872         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44873         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44874         __sim_round_mode_thread.
44875         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44876         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44877         and global __sim_exceptions_global.
44878         (__sim_disabled_exceptions): Change to thread-local
44879         __sim_disabled_exceptions_thread and global
44880         __sim_disabled_exceptions_global.
44881         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44882         and global __sim_round_mode_global.
44883         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44884         (SIM_SET_GLOBAL): Likewise.
44885         * sysdeps/powerpc/soft-fp/sfp-machine.h
44886         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44887         __sim_round_mode_thread.
44888         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44889         __sim_disabled_exceptions_thread.
44890         (__sim_exceptions): Change to __sim_exceptions_thread.
44891         (__sim_disabled_exceptions): Change to
44892         __sim_disabled_exceptions_thread.
44893         (__sim_round_mode): Change to __sim_round_mode_thread.
44894         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44895         thread-local floating-point state and set global state from it as
44896         needed.
44897         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44898         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44899         (__sim_disabled_exceptions): Remove extern declaration.
44900         (feenableexcept): Use thread-local floating-point state and set
44901         global state from it as needed.
44902         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44903         extern declaration.
44904         (__sim_disabled_exceptions): Likewise.
44905         (__sim_round_mode): Likewise.
44906         (__fegetenv): Use thread-local floating-point state.
44907         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44908         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44909         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44910         floating-point state and set global state from it as needed.
44911         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44912         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44913         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44914         Likewise.
44915         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44916         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44917         Likewise.
44918         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44919         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44920         Use __sim_round_mode_thread.
44921         * math/test-fenv-tls.c: New file.
44922         * math/Makefile (tests): Add test-fenv-tls.
44923         ($(objpfx)test-fenv-tls): Depend on
44924         $(common-objpfx)nptl/libpthread.so.
44926 2013-11-19  Andreas Schwab  <schwab@suse.de>
44928         * locale/programs/locale.c (show_info): Decode wordarray elements.
44929         * locale/categories.def (LC_MONETARY): Add element for
44930         _NL_MONETARY_CRNCYSTR.
44931         * locale/C-monetary.c (conversion_rate): New variable.
44932         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44933         element.
44935 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44937         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44938         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44940 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44942         * elf/Makefile (tst-auxv): New test.
44943         * elf/tst-auxv.c: New
44944         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44946 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44948         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44949         (hidden_proto): Caller changed.
44950         (hidden_tls_proto): New macro.
44951         (libc_hidden_tls_proto): Likewise.
44952         (rtld_hidden_tls_proto): Likewise.
44953         (libm_hidden_tls_proto): Likewise.
44954         (libresolv_hidden_tls_proto): Likewise.
44955         (librt_hidden_tls_proto): Likewise.
44956         (libdl_hidden_tls_proto): Likewise.
44957         (libnss_files_hidden_tls_proto): Likewise.
44958         (libnsl_hidden_tls_proto): Likewise.
44959         (libnss_nisplus_hidden_tls_proto): Likewise.
44960         (libutil_hidden_tls_proto): Likewise.
44962 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44964         [BZ #10253]
44965         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44966         (decompose_rpath): Defer expansion to fillin_rpath.
44967         (_dl_init_paths): Pass linkmap to fillin_rpath.
44969 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44971         * benchtests/Makefile: Add strsep.
44972         * benchtests/bench-strsep.c: New file: strsep benchtest.
44973         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44975 2013-11-18  Andreas Schwab  <schwab@suse.de>
44977         * locale/programs/locale.c (show_info) [case byte]: Check for
44978         '\377' instead of '\177'.
44979         * locale/C-monetary.c (not_available): Always use "\377".
44980         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44981         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44982         detect unavailable sign_posn locale elements.
44983         * locale/localeconv.c (__localeconv): For grouping and
44984         mon_grouping handle "\177" and "\377" like no grouping.
44985         (INT_ELEM): New macro.  Use it to set all numeric members.
44986         * locale/programs/ld-monetary.c (monetary_read)
44987         <tok_mon_grouping>: Normalize single -1 to the empty string.
44988         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44989         Likewise.
44991 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44993         [BZ #16055]
44994         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44995         when we match (nil).
44996         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44998 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45000         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45001         (NO_TEST_INLINE): Update value.
45002         (ERRNO_UNCHANGED): Likewise.
45003         (ERRNO_EDOM): Likewise.
45004         (ERRNO_ERANGE): Likewise.
45005         (IGNORE_RESULT): Likewise.
45006         (check_float_internal): Check signs of NaN results if
45007         TEST_NAN_SIGN used.
45008         (check_complex): Pass TEST_NAN_SIGN flag through to second
45009         check_float_internal call.
45010         (copysign_test_data): Add tests with quiet NaNs as second
45011         argument.  Use TEST_NAN_SIGN.
45012         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45013         TEST_NAN_SIGN.
45014         (signbit_test_data): Add tests of quiet NaN argument.
45015         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45017         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45018         $ignore_result.
45019         (parse_args): Handle function results specified as IGNORE.
45020         * math/libm-test.inc (IGNORE_RESULT): New macro.
45021         (check_float_internal): Do not check numerical result if flag
45022         IGNORE_RESULT set.
45023         (check_complex): Pass through IGNORE_RESULT to second
45024         check_float_internal call.
45025         (check_int): Do not check numerical result if flag IGNORE_RESULT
45026         set.
45027         (check_long): Likewise.
45028         (check_bool): Likewise.
45029         (check_longlong): Likewise.
45030         (lrint_test_data): Add tests of infinite and NaN arguments.
45031         (lrint_tonearest_test_data): Likewise.
45032         (lrint_towardzero_test_data): Likewise.
45033         (lrint_downward_test_data): Likewise.
45034         (lrint_upward_test_data): Likewise.
45035         (llrint_test_data): Likewise.
45036         (llrint_tonearest_test_data): Likewise.
45037         (llrint_towardzero_test_data): Likewise.
45038         (llrint_downward_test_data): Likewise.
45039         (llrint_upward_test_data): Likewise.
45040         (lround_test_data): Likewise.
45041         (llround_test_data): Likewise.
45043         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45044         (ERRNO_UNCHANGED): Update value.
45045         (ERRNO_EDOM): Likewise.
45046         (ERRNO_ERANGE): Likewise.
45047         (NO_TEST_INLINE_FLOAT): New macro.
45048         (NO_TEST_INLINE_DOUBLE): Likewise.
45049         (enable_test): New function.
45050         (RUN_TEST_f_f): Check enable_test before running test.
45051         (RUN_TEST_2_f): Likewise.
45052         (RUN_TEST_fff_f): Likewise.
45053         (RUN_TEST_c_f): Likewise.
45054         (RUN_TEST_f_f1): Likewise.
45055         (RUN_TEST_fF_f1): Likewise.
45056         (RUN_TEST_fI_f1): Likewise.
45057         (RUN_TEST_ffI_f1): Likewise.
45058         (RUN_TEST_c_c): Likewise.
45059         (RUN_TEST_cc_c): Likewise.
45060         (RUN_TEST_f_i): Likewise.
45061         (RUN_TEST_f_i_tg): Likewise.
45062         (RUN_TEST_ff_i_tg): Likewise.
45063         (RUN_TEST_f_b): Likewise.
45064         (RUN_TEST_f_b_tg): Likewise.
45065         (RUN_TEST_f_l): Likewise.
45066         (RUN_TEST_f_L): Likewise.
45067         (RUN_TEST_fFF_11): Likewise.
45068         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45069         conditionals.
45070         (cosh_test_data): Likewise.
45071         (exp_test_data): Likewise.
45072         (expm1_test_data): Likewise.
45073         (hypot_test_data): Likewise.
45074         (pow_test_data): Likewise.
45075         (sinh_test_data): Likewise.
45076         (tanh_test_data): Likewise.
45077         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45078         flags argument.
45080         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45081         tests with quiet NaN input and output.
45082         (acosh_test_data): Likewise.
45083         (asin_test_data): Likewise.
45084         (asinh_test_data): Likewise.
45085         (atan_test_data): Likewise.
45086         (atanh_test_data): Likewise.
45087         (atan2_test_data): Likewise.
45088         (cbrt_test_data): Likewise.
45089         (cos_test_data): Likewise.
45090         (cosh_test_data): Likewise.
45091         (erf_test_data): Likewise.
45092         (erfc_test_data): Likewise.
45093         (exp_test_data): Likewise.
45094         (exp10_test_data): Likewise.
45095         (exp2_test_data): Likewise.
45096         (expm1_test_data): Likewise.
45097         (hypot_test_data): Likewise.
45098         (j0_test_data): Likewise.
45099         (j1_test_data): Likewise.
45100         (jn_test_data): Likewise.
45101         (lgamma_test_data): Likewise.
45102         (log_test_data): Likewise.
45103         (log10_test_data): Likewise.
45104         (log1p_test_data): Likewise.
45105         (log2_test_data): Likewise.
45106         (pow_test_data): Likewise.
45107         (scalb_test_data): Likewise.
45108         (sin_test_data): Likewise.
45109         (sincos_test_data): Likewise.
45110         (sinh_test_data): Likewise.
45111         (tan_test_data): Likewise.
45112         (tanh_test_data): Likewise.
45113         (tgamma_test_data): Likewise.
45114         (y0_test_data): Likewise.
45115         (y1_test_data): Likewise.
45116         (yn_test_data): Likewise.
45118         [BZ #16167]
45119         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45120         argument being NaN and avoid computations with second argument in
45121         that case.
45122         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45123         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45124         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45126 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45128         * locale/iso-639.def: Add Chitwani Tharu (the).
45130 2013-11-14  Andreas Schwab  <schwab@suse.de>
45132         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45133         word instead of empty string.
45135 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45138         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45140         (__fe_nomask_env): Likewise.
45142 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45144         * benchtests/bench-timing.h: Include time.h.
45146 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45148         [BZ #15997]
45149         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45150         to 3.4.0 for x32.
45151         * sysdeps/unix/sysv/linux/configure: Regenerated.
45153 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45155         [BZ #16151]
45156         * stdlib/strtod_l.c (round_and_return): Do not consider
45157         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45158         exponent one less than half the least subnormal exponent.
45159         * stdlib/test-strtod-round-data: Add more tests.
45160         * stdlib/tst-strtod-round.c (tests): Regenerated.
45162 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45164         [BZ #14143]
45165         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45166         (__fe_mask_env): Likewise.
45167         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45168         libm_hidden_proto and add function prototype.
45169         (__fe_mask_env): Add function prototype.
45170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45171         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45173         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45175         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45177 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45179         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45180         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45182 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45184         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45185         of htab_find_slot().
45187 2013-11-11  David S. Miller  <davem@davemloft.net>
45189         [BZ #16150]
45190         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45191         symbol in the non-vis3 case in static builds.
45192         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45193         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45194         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45195         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45197 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45199         [BZ #387]
45200         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45201         it is empty.
45203 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45205         * benchtests/Makefile: Add bench-strtod.
45206         * benchtests/bench-strtod.c: New file: strtod benchtest
45208 2013-11-11  Andreas Schwab  <schwab@suse.de>
45210         [BZ #16153]
45211         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45212         terminating NUL in key length.
45214 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45216         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45217         Add artificial ODP entry for vDSO symbol for PPC64.
45218         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45219         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45221 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45223         [BZ #15374]
45224         * nss/getent.c (services_keys): Recognize services starting with digit.
45226 2013-11-06  David S. Miller  <davem@davemloft.net>
45228         [BZ #15985]
45229         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45230         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45232 2013-11-06  Will Newton  <will.newton@linaro.org>
45234         * manual/memory.texi (Malloc Examples): Remove register
45235         keyword from examples.
45237 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45239         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45241 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45243         [BZ #6981]
45244         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45245         depending on [__GCC_IEC_559 > 0].
45246         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45247         depending on [__GCC_IEC_559_COMPLEX > 0].
45249 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45251         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45252         to iso-639.def.
45254 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45256         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45258 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45260         [BZ #16112]
45261         * malloc/malloc (malloc_info): Do not handle first bin as
45262         special case.
45264 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45266         * locale/iso-639.def: Add Central Nahuatl (nhn).
45268 2013-11-01  Bruno Haible  <bruno@clisp.org>
45270         [BZ #7003]
45271         * manual/math.texi (BSD Random): Specify range upper bound as
45272         in POSIX.
45274 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45276         * locale/iso-639.def: Add Meadow Mari (mhr).
45278 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45280         [BZ #14752], [BZ #15763]
45281         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45282         Validate name.
45283         * rt/tst_shm.c: Add test for escaping directory.
45285 2013-10-31  Andreas Schwab  <schwab@suse.de>
45287         [BZ #15917]
45288         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45289         followed by 'x' as part of digit sequence.
45290         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45292 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45294         [BZ #16037]
45295         * configure.ac: allow GNU Make 4.0 and greater.
45296         * configure: Regenerated.
45298 2013-10-30  Will Newton  <will.newton@linaro.org>
45300         [BZ #16038]
45301         * malloc/hooks.c (memalign_check): Limit alignment to the
45302         maximum representable power of two.
45303         * malloc/malloc.c (__libc_memalign): Likewise.
45304         * malloc/tst-memalign.c (do_test): Add test for very
45305         large alignment values.
45306         * malloc/tst-posix_memalign.c (do_test): Likewise.
45308 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45310         [BZ #11087]
45311         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45312         (munmap_chunk): Likewise.
45313         (mremap_chunk): Likewise.
45315 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45317         [BZ #15799]
45318         * stdlib/div.c (div): Remove obsolete code.
45319         * stdlib/ldiv.c (ldiv): Likewise.
45320         * stdlib/lldiv.c (lldiv): Likewise.
45322 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45324         [BZ #16071]
45325         * nss/nss_files/files-XXX.c (get_contents_ret): New
45326         enumerator.
45327         (get_contents): New function.
45328         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45330 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45332         * configure.in: Moved to ...
45333         * configure.ac: ... here. Change reference to configure.in
45334         to configure.ac.
45335         * sysdeps/arm/preconfigure.ac: ... here.
45336         configure.in to configure.ac.
45337         * sysdeps/gnu/configure.in: Moved to ...
45338         * sysdeps/gnu/configure.ac: ... here.
45339         * sysdeps/i386/configure.in: Moved to ...
45340         * sysdeps/i386/configure.ac: ... here.
45341         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45342         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45343         * sysdeps/mach/configure.in: Moved to ...
45344         * sysdeps/mach/configure.ac: ... here.
45345         * sysdeps/mach/hurd/configure.in: Moved to ...
45346         * sysdeps/mach/hurd/configure.ac: ... here.
45347         * sysdeps/powerpc/configure.in: Moved to ...
45348         * sysdeps/powerpc/configure.ac: ... here.
45349         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45350         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45351         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45352         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45353         * sysdeps/s390/s390-32/configure.in: Moved to ...
45354         * sysdeps/s390/s390-32/configure.ac: ... here.
45355         * sysdeps/s390/s390-64/configure.in: Moved to ...
45356         * sysdeps/s390/s390-64/configure.ac: ... here.
45357         * sysdeps/sh/configure.in: Moved to ...
45358         * sysdeps/sh/configure.ac: ... here.
45359         * sysdeps/sparc/configure.in: Moved to ...
45360         * sysdeps/sparc/configure.ac: ... here.
45361         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45362         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45363         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45364         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45365         * sysdeps/x86_64/configure.in: Moved to ...
45366         * sysdeps/x86_64/configure.ac: ... here.
45367         * sysdeps/x86_64/preconfigure.in: Moved to ...
45368         * sysdeps/x86_64/preconfigure.ac: ... here.
45369         * aclocal.m4: Change reference to configure.in to configure.ac.
45370         * config.h.in: Likewise.
45371         * manual/install.texi: Likewise.
45372         * manual/maint.texi: Likewise.
45373         * Makefile: Likewise.
45374         * malloc/Makefile: Likewise.
45375         * nscd/Makefile: Likewise.
45376         * Makeconfig: Change reference to configure.in and
45377         preconfigure.in to configure.ac and preconfigure.ac
45378         respectively.
45379         * INSTALL: Regenerated.
45380         * configure: Likewise.
45381         * sysdeps/gnu/configure: Likewise.
45382         * sysdeps/i386/configure: Likewise.
45383         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45384         * sysdeps/mach/configure: Likewise.
45385         * sysdeps/mach/hurd/configure: Likewise.
45386         * sysdeps/powerpc/configure: Likewise.
45387         * sysdeps/powerpc/powerpc32/configure: Likewise.
45388         * sysdeps/powerpc/powerpc64/configure: Likewise.
45389         * sysdeps/s390/s390-32/configure: Likewise.
45390         * sysdeps/s390/s390-64/configure: Likewise.
45391         * sysdeps/sh/configure: Likewise.
45392         * sysdeps/sparc/configure: Likewise.
45393         * sysdeps/unix/sysv/linux/configure: Likewise.
45394         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45395         * sysdeps/x86_64/configure: Likewise.
45396         * sysdeps/x86_64/preconfigure: Likewise.
45398 2013-10-29  Andreas Schwab  <schwab@suse.de>
45400         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45402 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45404         * benchtests/pow-inputs: Add new inputs.
45406         * benchtests/exp-inputs: Add new inputs.
45408         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45409         conditional check for return value.
45410         (__cos32): Likewise.
45412 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45414         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45415         to provide a boost for large inputs with word alignment.
45416         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45417         implementation based on optimized PPC64 strcpy.
45418         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45419         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45420         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45421         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45423 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45425         [BZ #2801]
45426         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45428 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45430         [BZ #14876]
45431         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45432         * time/tst-strptime.c (day_tests): Add testcase.
45434 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45436         [BZ #14029]
45437         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45439 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45441         [BZ #16074]
45442         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45443         MAP_FAILED on error.
45445 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45447         [BZ #16072]
45448         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45449         heap for large requests.
45451 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45453         [BZ #9954]
45454         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45455         result if the result has no associated interface.
45456         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45457         interface for all 127.X.Y.Z addresses.
45459 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45461         * locale/iso-639.def: Add Ligurian (lij)
45463 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45465         [BZ #15825]
45466         * sunrpc/rpc_main.c: Document rpcgen -5.
45468 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45470         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45472 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45474         [BZ #10278]
45475         * posix/glob.c: Match only directories when trailing slash is present.
45476         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45477         (main): Add testcase.
45479 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45481         [BZ #15670]
45482         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45484 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45486         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45487         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45488         AUTH_DES and cindex for FIPS 140-2.
45489         (DES Encryption): Add cindex FIPS 46-3.
45491         * locale/locarchive.h (struct locarhandle): Add fname.
45492         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45493         if an optional argument was specified to --list-archive,
45494         otherwise NULL.
45495         * locale/programs/locarchive.c (show_archive_content): Take new
45496         argument fname and pass it via ah.fname to open_archive.
45497         * locale/programs/localedef.h: Update decl.
45498         (open_archive): If AH->fname is non-null, open that file
45499         rather than the default file name, and don't ignore ENOENT.
45500         (create_archive): Set AH.fname to NULL.
45501         (delete_locales_from_archive): Likewise.
45502         (add_locales_to_archive): Likewise.
45503         * locale/programs/locfile.c (write_all_categories): Likewise.
45505 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45506             Aldy Hernandez  <aldyh@redhat.com>
45508         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45509         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45510         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45511         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45512         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45513         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45514         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45515         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45516         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45517         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45518         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45519         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45520         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45521         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45522         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45523         Likewise.
45524         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45525         Likewise.
45526         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45527         Likewise.
45528         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45529         Likewise.
45530         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45531         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45532         Likewise.
45533         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45534         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45535         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45536         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45537         Likewise.
45538         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45539         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45540         * sysdeps/powerpc/preconfigure: Likewise.
45541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45542         Likewise.
45543         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45544         Replace contents of file by #include of <fenv_libc.h>.
45545         * sysdeps/powerpc/soft-fp/sfp-machine.h
45546         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45547         and <sys/prctl.h>.
45548         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45549         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45550         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45551         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45552         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45553         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45555         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45556         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45557         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45558         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45559         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45561         Allow copysignl PLT reference to be missing.
45563 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45564             Joseph Myers  <joseph@codesourcery.com
45566         [BZ #15948]
45567         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45568         single character.
45569         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45571 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45573         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45574         * elf/tst-tls1.c: Likewise.
45575         * elf/tst-tls10.h: Likewise.
45576         * elf/tst-tls14.c: Likewise.
45577         * elf/tst-tls2.c: Likewise.
45578         * elf/tst-tls3.c: Likewise.
45579         * elf/tst-tls4.c: Likewise.
45580         * elf/tst-tls5.c: Likewise.
45581         * elf/tst-tls6.c: Likewise.
45582         * elf/tst-tls7.c: Likewise.
45583         * elf/tst-tls8.c: Likewise.
45584         * elf/tst-tls9.c: Likewise.
45585         * elf/tst-tlsmod1.c: Likewise.
45586         * elf/tst-tlsmod13.c: Likewise.
45587         * elf/tst-tlsmod13a.c: Likewise.
45588         * elf/tst-tlsmod14a.c: Likewise.
45589         * elf/tst-tlsmod16a.c: Likewise.
45590         * elf/tst-tlsmod16b.c: Likewise.
45591         * elf/tst-tlsmod2.c: Likewise.
45592         * elf/tst-tlsmod3.c: Likewise.
45593         * elf/tst-tlsmod4.c: Likewise.
45594         * elf/tst-tlsmod5.c: Likewise.
45595         * elf/tst-tlsmod6.c: Likewise.
45597 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45599         [BZ #12486]
45600         * malloc/malloc.c: remove checks for statistics.
45602 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45604         [BZ #15277]
45605         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45606         * inet/tst-network.c: Add testcase.
45608 2013-10-17  Andreas Schwab  <schwab@suse.de>
45610         [BZ #15218]
45611         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45612         to determine canonical name.
45614 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45616         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45617         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45618         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45619         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45621         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45622         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45623         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45624         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45625         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45626         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45627         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45628         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45629         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45630         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45631         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45632         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45633         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45634         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45635         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45636         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45637         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45638         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45639         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45640         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45641         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45642         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45643         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45644         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45645         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45646         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45647         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45648         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45649         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45650         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45651         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45652         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45653         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45654         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45655         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45656         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45657         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45658         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45659         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45660         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45661         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45662         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45663         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45664         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45665         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45666         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45667         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45668         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45669         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45670         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45671         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45672         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45673         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45675 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45677         [BZ #16041]
45678         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45679         make result into a quiet NaN.
45681 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45683         * soft-fp/adddf3.c: Fix horizontal whitespace.
45684         * soft-fp/addsf3.c: Likewise.
45685         * soft-fp/addtf3.c: Likewise.
45686         * soft-fp/divdf3.c: Likewise.
45687         * soft-fp/divsf3.c: Likewise.
45688         * soft-fp/divtf3.c: Likewise.
45689         * soft-fp/double.h: Likewise.
45690         * soft-fp/eqdf2.c: Likewise.
45691         * soft-fp/eqsf2.c: Likewise.
45692         * soft-fp/eqtf2.c: Likewise.
45693         * soft-fp/extenddftf2.c: Likewise.
45694         * soft-fp/extended.h: Likewise.
45695         * soft-fp/extendsfdf2.c: Likewise.
45696         * soft-fp/extendsftf2.c: Likewise.
45697         * soft-fp/extendxftf2.c: Likewise.
45698         * soft-fp/fixdfdi.c: Likewise.
45699         * soft-fp/fixdfsi.c: Likewise.
45700         * soft-fp/fixdfti.c: Likewise.
45701         * soft-fp/fixsfdi.c: Likewise.
45702         * soft-fp/fixsfsi.c: Likewise.
45703         * soft-fp/fixsfti.c: Likewise.
45704         * soft-fp/fixtfdi.c: Likewise.
45705         * soft-fp/fixtfsi.c: Likewise.
45706         * soft-fp/fixtfti.c: Likewise.
45707         * soft-fp/fixunsdfdi.c: Likewise.
45708         * soft-fp/fixunsdfsi.c: Likewise.
45709         * soft-fp/fixunsdfti.c: Likewise.
45710         * soft-fp/fixunssfdi.c: Likewise.
45711         * soft-fp/fixunssfsi.c: Likewise.
45712         * soft-fp/fixunssfti.c: Likewise.
45713         * soft-fp/fixunstfdi.c: Likewise.
45714         * soft-fp/fixunstfsi.c: Likewise.
45715         * soft-fp/fixunstfti.c: Likewise.
45716         * soft-fp/floatdidf.c: Likewise.
45717         * soft-fp/floatdisf.c: Likewise.
45718         * soft-fp/floatditf.c: Likewise.
45719         * soft-fp/floatsidf.c: Likewise.
45720         * soft-fp/floatsisf.c: Likewise.
45721         * soft-fp/floatsitf.c: Likewise.
45722         * soft-fp/floattidf.c: Likewise.
45723         * soft-fp/floattisf.c: Likewise.
45724         * soft-fp/floattitf.c: Likewise.
45725         * soft-fp/floatundidf.c: Likewise.
45726         * soft-fp/floatundisf.c: Likewise.
45727         * soft-fp/floatunditf.c: Likewise.
45728         * soft-fp/floatunsidf.c: Likewise.
45729         * soft-fp/floatunsisf.c: Likewise.
45730         * soft-fp/floatunsitf.c: Likewise.
45731         * soft-fp/floatuntidf.c: Likewise.
45732         * soft-fp/floatuntisf.c: Likewise.
45733         * soft-fp/floatuntitf.c: Likewise.
45734         * soft-fp/fmadf4.c: Likewise.
45735         * soft-fp/fmasf4.c: Likewise.
45736         * soft-fp/fmatf4.c: Likewise.
45737         * soft-fp/gedf2.c: Likewise.
45738         * soft-fp/gesf2.c: Likewise.
45739         * soft-fp/getf2.c: Likewise.
45740         * soft-fp/ledf2.c: Likewise.
45741         * soft-fp/lesf2.c: Likewise.
45742         * soft-fp/letf2.c: Likewise.
45743         * soft-fp/muldf3.c: Likewise.
45744         * soft-fp/mulsf3.c: Likewise.
45745         * soft-fp/multf3.c: Likewise.
45746         * soft-fp/negdf2.c: Likewise.
45747         * soft-fp/negsf2.c: Likewise.
45748         * soft-fp/negtf2.c: Likewise.
45749         * soft-fp/op-1.h: Likewise.
45750         * soft-fp/op-2.h: Likewise.
45751         * soft-fp/op-4.h: Likewise.
45752         * soft-fp/op-8.h: Likewise.
45753         * soft-fp/op-common.h: Likewise.
45754         * soft-fp/quad.h: Likewise.
45755         * soft-fp/single.h: Likewise.
45756         * soft-fp/soft-fp.h: Likewise.
45757         * soft-fp/sqrtdf2.c: Likewise.
45758         * soft-fp/sqrtsf2.c: Likewise.
45759         * soft-fp/sqrttf2.c: Likewise.
45760         * soft-fp/subdf3.c: Likewise.
45761         * soft-fp/subsf3.c: Likewise.
45762         * soft-fp/subtf3.c: Likewise.
45763         * soft-fp/truncdfsf2.c: Likewise.
45764         * soft-fp/trunctfdf2.c: Likewise.
45765         * soft-fp/trunctfsf2.c: Likewise.
45766         * soft-fp/trunctfxf2.c: Likewise.
45767         * soft-fp/unorddf2.c: Likewise.
45768         * soft-fp/unordsf2.c: Likewise.
45769         * soft-fp/unordtf2.c: Likewise.
45771 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45773         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45774         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45776 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45778         * elf/dl-libc.c: Clear initfini list after freeing.
45780 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45782         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45783         * soft-fp/addsf3.c: Likewise.
45784         * soft-fp/addtf3.c: Likewise.
45785         * soft-fp/divdf3.c: Likewise.
45786         * soft-fp/divsf3.c: Likewise.
45787         * soft-fp/divtf3.c: Likewise.
45788         * soft-fp/double.h: Likewise.
45789         * soft-fp/eqdf2.c: Likewise.
45790         * soft-fp/eqsf2.c: Likewise.
45791         * soft-fp/eqtf2.c: Likewise.
45792         * soft-fp/extenddftf2.c: Likewise.
45793         * soft-fp/extended.h: Likewise.
45794         * soft-fp/extendsfdf2.c: Likewise.
45795         * soft-fp/extendsftf2.c: Likewise.
45796         * soft-fp/extendxftf2.c: Likewise.
45797         * soft-fp/fixdfdi.c: Likewise.
45798         * soft-fp/fixdfsi.c: Likewise.
45799         * soft-fp/fixdfti.c: Likewise.
45800         * soft-fp/fixsfdi.c: Likewise.
45801         * soft-fp/fixsfsi.c: Likewise.
45802         * soft-fp/fixsfti.c: Likewise.
45803         * soft-fp/fixtfdi.c: Likewise.
45804         * soft-fp/fixtfsi.c: Likewise.
45805         * soft-fp/fixtfti.c: Likewise.
45806         * soft-fp/fixunsdfdi.c: Likewise.
45807         * soft-fp/fixunsdfsi.c: Likewise.
45808         * soft-fp/fixunsdfti.c: Likewise.
45809         * soft-fp/fixunssfdi.c: Likewise.
45810         * soft-fp/fixunssfsi.c: Likewise.
45811         * soft-fp/fixunssfti.c: Likewise.
45812         * soft-fp/fixunstfdi.c: Likewise.
45813         * soft-fp/fixunstfsi.c: Likewise.
45814         * soft-fp/fixunstfti.c: Likewise.
45815         * soft-fp/floatdidf.c: Likewise.
45816         * soft-fp/floatdisf.c: Likewise.
45817         * soft-fp/floatditf.c: Likewise.
45818         * soft-fp/floatsidf.c: Likewise.
45819         * soft-fp/floatsisf.c: Likewise.
45820         * soft-fp/floatsitf.c: Likewise.
45821         * soft-fp/floattidf.c: Likewise.
45822         * soft-fp/floattisf.c: Likewise.
45823         * soft-fp/floattitf.c: Likewise.
45824         * soft-fp/floatundidf.c: Likewise.
45825         * soft-fp/floatundisf.c: Likewise.
45826         * soft-fp/floatunsidf.c: Likewise.
45827         * soft-fp/floatunsisf.c: Likewise.
45828         * soft-fp/floatuntidf.c: Likewise.
45829         * soft-fp/floatuntisf.c: Likewise.
45830         * soft-fp/floatuntitf.c: Likewise.
45831         * soft-fp/fmadf4.c: Likewise.
45832         * soft-fp/fmasf4.c: Likewise.
45833         * soft-fp/fmatf4.c: Likewise.
45834         * soft-fp/gedf2.c: Likewise.
45835         * soft-fp/gesf2.c: Likewise.
45836         * soft-fp/getf2.c: Likewise.
45837         * soft-fp/ledf2.c: Likewise.
45838         * soft-fp/lesf2.c: Likewise.
45839         * soft-fp/letf2.c: Likewise.
45840         * soft-fp/muldf3.c: Likewise.
45841         * soft-fp/mulsf3.c: Likewise.
45842         * soft-fp/multf3.c: Likewise.
45843         * soft-fp/negdf2.c: Likewise.
45844         * soft-fp/negsf2.c: Likewise.
45845         * soft-fp/negtf2.c: Likewise.
45846         * soft-fp/op-1.h: Likewise.
45847         * soft-fp/op-2.h: Likewise.
45848         * soft-fp/op-4.h: Likewise.
45849         * soft-fp/op-8.h: Likewise.
45850         * soft-fp/op-common.h: Likewise.
45851         * soft-fp/quad.h: Likewise.
45852         * soft-fp/single.h: Likewise.
45853         * soft-fp/soft-fp.h: Likewise.
45854         * soft-fp/sqrtdf2.c: Likewise.
45855         * soft-fp/sqrtsf2.c: Likewise.
45856         * soft-fp/sqrttf2.c: Likewise.
45857         * soft-fp/subdf3.c: Likewise.
45858         * soft-fp/subsf3.c: Likewise.
45859         * soft-fp/subtf3.c: Likewise.
45860         * soft-fp/truncdfsf2.c: Likewise.
45861         * soft-fp/trunctfdf2.c: Likewise.
45862         * soft-fp/trunctfsf2.c: Likewise.
45863         * soft-fp/trunctfxf2.c: Likewise.
45864         * soft-fp/unorddf2.c: Likewise.
45865         * soft-fp/unordsf2.c: Likewise.
45866         * soft-fp/unordtf2.c: Likewise.
45868 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45870         [BZ #15672]
45871         * misc/error.c (error_tail): Fix possible buffer overflow.
45873 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45875         [BZ #13028]
45876         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45877         address.
45879 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45881         [BZ #832]
45882         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45883         testing pipefail option.
45885 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45887         * soft-fp/double.h: Indent preprocessor directives inside #if.
45888         * soft-fp/extended.h: Likewise.
45889         * soft-fp/op-2.h: Likewise.
45890         * soft-fp/op-4.h: Likewise.
45891         * soft-fp/op-common.h: Likewise.
45892         * soft-fp/quad.h: Likewise.
45893         * soft-fp/single.h: Likewise.
45894         * soft-fp/soft-fp.h: Likewise.
45896 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45898         * iconv/iconv_prog.c: Fix typos.
45899         * stdio-common/psiginfo-data.h: Likewise.
45901 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45903         [BZ #15764]
45904         * locale/setlocale.c: Fix typo.
45906 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45908         [BZ #16036]
45909         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45910         signaling NaN arguments.
45911         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45912         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45914         [BZ #14910]
45915         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45916         unordered operands.
45917         * soft-fp/gesf2.c (__gesf2): Likewise.
45918         * soft-fp/getf2.c (__getf2): Likewise.
45919         * soft-fp/ledf2.c (__ledf2): Likewise.
45920         * soft-fp/lesf2.c (__lesf2): Likewise.
45921         * soft-fp/letf2.c (__letf2): Likewise.
45923         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45924         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45925         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45926         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45927         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45928         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45929         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45930         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45931         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45932         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45933         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45934         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45935         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45936         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45937         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45938         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45939         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45940         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45941         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45942         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45943         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45944         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45945         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45946         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45947         * soft-fp/floattidf.c (__floattidf): Likewise.
45948         * soft-fp/floattisf.c (__floattisf): Likewise.
45949         * soft-fp/floattitf.c (__floattitf): Likewise.
45950         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45951         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45952         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45953         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45954         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45955         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45956         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45957         * soft-fp/gesf2.c (__gesf2): Likewise.
45958         * soft-fp/getf2.c (__getf2): Likewise.
45959         * soft-fp/ledf2.c (__ledf2): Likewise.
45960         * soft-fp/lesf2.c (__lesf2): Likewise.
45961         * soft-fp/letf2.c (__letf2): Likewise.
45963         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45964         Undefine and redefine.
45965         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45966         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45967         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45968         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45969         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45970         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45971         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45972         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45973         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45974         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45975         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45976         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45977         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45978         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45979         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45981         [BZ #16032]
45982         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45983         without decrementing exponent if mantissa >= that for the
45984         denominator, not >.
45985         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45986         denominator, not >.  Decrement exponent in < case instead of
45987         incrementing in >= case.
45988         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45989         without decrementing exponent if mantissa >= that for the
45990         denominator, not >.
45992         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45993         computing saturated result for unsigned overflow.
45995 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45996             Jeff Law  <law@redhat.com>
45998         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45999         (atan2Mp): Add systemtap probe marker.
46000         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46001         (__ieee754_log): Add systemtap probe marker.
46002         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46003         (atanMp): Add systemtap probe marker.
46004         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46005         (tanMp): Add systemtap probe marker.
46006         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46007         (__slowexp): Add systemtap probe marker.
46008         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46009         (__slowpow): Add systemtap probe marker.
46010         * manual/probes.texi: Document probes.
46012 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46014         [BZ #15362]
46015         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46016         written.
46017         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46018         written.
46019         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46020         written to buffer but not flushed.
46021         * libio/iofwrite_u.c:  Likewise.
46022         * libio/iopadn.c:  Return bytes returned even if EOF was
46023         encountered.
46024         * libio/iowpadn.c:  Likewise.
46025         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46026         if _IO_padn does not write the whole buffer.
46027         [!COMPILE_WPRINTF] (PAD): Likewise.
46029 2013-10-10  David S. Miller  <davem@davemloft.net>
46031         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46032         directory block.
46034 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46036         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46037         instead of FSF address.
46038         * soft-fp/fixdfti.c: Likewise.
46039         * soft-fp/fixsfti.c: Likewise.
46040         * soft-fp/fixtfti.c: Likewise.
46041         * soft-fp/fixunsdfti.c: Likewise.
46042         * soft-fp/fixunssfti.c: Likewise.
46043         * soft-fp/fixunstfti.c: Likewise.
46044         * soft-fp/floattidf.c: Likewise.
46045         * soft-fp/floattisf.c: Likewise.
46046         * soft-fp/floattitf.c: Likewise.
46047         * soft-fp/floatuntidf.c: Likewise.
46048         * soft-fp/floatuntisf.c: Likewise.
46049         * soft-fp/floatuntitf.c: Likewise.
46050         * soft-fp/trunctfxf2.c: Likewise.
46052         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46053         * soft-fp/fixdfti.c: Likewise.
46054         * soft-fp/fixsfti.c: Likewise.
46055         * soft-fp/fixtfti.c: Likewise.
46056         * soft-fp/fixunsdfti.c: Likewise.
46057         * soft-fp/fixunssfti.c: Likewise.
46058         * soft-fp/fixunstfti.c: Likewise.
46059         * soft-fp/floattidf.c: Likewise.
46060         * soft-fp/floattisf.c: Likewise.
46061         * soft-fp/floattitf.c: Likewise.
46062         * soft-fp/floatuntidf.c: Likewise.
46063         * soft-fp/floatuntisf.c: Likewise.
46064         * soft-fp/floatuntitf.c: Likewise.
46065         * soft-fp/trunctfxf2.c: Likewise.
46067 2013-10-10  David S. Miller  <davem@davemloft.net>
46069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46071 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46073         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46074         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46075         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46076         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46077         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46078         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46079         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46081         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46082         for NaNs before doing comparisons on argument.
46083         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46084         Likewise.
46086 2013-10-10  Will Newton  <will.newton@linaro.org>
46088         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46089         passed to _int_memalign does not overflow.
46091 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46093         * scripts/bench.pl: Add include-sources directive.
46094         * benchtests/README: Update documentation.
46096 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46098         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46099         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46100         instead of FP_INIT_ROUNDMODE.
46101         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46102         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46104         [BZ #16034]
46105         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46106         copy class of input value.
46107         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46108         not handle exceptions.
46109         * soft-fp/negsf2.c (__negsf2): Likewise.
46110         * soft-fp/negtf2.c (__negtf2): Likewise.
46111         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46113 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46115         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46116         semicolon.  From Linux kernel.
46118 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46120         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46122 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46124         [BZ #156]
46125         * manual/socket.texi: Added statement about buffer
46126         for gethostbyname2_r.
46128 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46130         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46131         Use .p2align directive instead, throughout.
46132         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46133         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46134         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46135         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46136         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46137         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46138         * sysdeps/x86_64/strchr.S: Likewise.
46139         * sysdeps/x86_64/strrchr.S: Likewise.
46141 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46143         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46145         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46147         * sysdeps/generic/math_private.h (__mpsin1): Remove
46148         declaration.
46149         (__mpcos1): Likewise.
46150         (__mpsin): New argument __range_reduce.
46151         (__mpcos): Likewise.
46152         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46153         (slow): Use __mpsin and __mpcos.
46154         (slow1): Likewise.
46155         (slow2): Likewise.
46156         (sloww): Likewise.
46157         (sloww1): Likewise.
46158         (sloww2): Likewise.
46159         (bsloww): Likewise.
46160         (bsloww1): Likewise.
46161         (bsloww2): Likewise.
46162         (cslow2): Likewise.
46163         (csloww): Likewise.
46164         (csloww1): Likewise.
46165         (csloww2): Likewise.
46166         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46167         range_reduce.  Merge in __mpsin1.
46168         (__mpcos): Likewise.
46169         (__mpsin1): Remove.
46170         (__mpcos1): Likewise.
46172 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46174         * locale/loadlocale.c (_nl_intern_locale_data): Use
46175         LOCFILE_ALIGNED_P.
46176         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46177         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46178         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46179         obstack data is appropriately aligned.
46180         (obstack_int32_grow_fast): Likewise.
46181         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46182         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46183         (add_locale_uint32_array): Likewise.
46185 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46187         * benchtests/Makefile: Remove ARGLIST and RET variables.
46188         ($(objpfx)bench-%.c): Pass only function name to the script.
46189         * benchtests/README: Update documentation.
46190         * benchtests/acos-inputs: Add new directives.
46191         * benchtests/acosh-inputs: Likewise.
46192         * benchtests/asin-inputs: Likewise.
46193         * benchtests/asinh-inputs: Likewise.
46194         * benchtests/atan-inputs: Likewise.
46195         * benchtests/atanh-inputs: Likewise.
46196         * benchtests/cos-inputs: Likewise.
46197         * benchtests/cosh-inputs: Likewise.
46198         * benchtests/exp-inputs: Likewise.
46199         * benchtests/log-inputs: Likewise.
46200         * benchtests/pow-inputs: Likewise.
46201         * benchtests/rint-inputs: Likewise.
46202         * benchtests/sin-inputs: Likewise.
46203         * benchtests/sinh-inputs: Likewise.
46204         * benchtests/tan-inputs: Likewise.
46205         * benchtests/tanh-inputs: Likewise.
46206         * scripts/bench.pl: Add support for new directives.
46208 2013-10-07  Alan Modra  <amodra@gmail.com>
46210         * README: Fix careless merge.
46212 2013-10-05  Alan Modra  <amodra@gmail.com>
46214         * NEWS: Mention powerpc64le support and bugs fixed.
46215         * README: Both big-endian and little-endian powerpc64 supported.
46217 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46219         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46220         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46221         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46222         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46224 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46226         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46227         match prototype.
46229 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46231         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46232         Move -mhard-float appending from
46233         ports/sysdeps/powerpc/powerpc32/Makefile.
46234         [$(with-fp) = yes] (ASFLAGS): Likewise.
46235         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46236         * sysdeps/powerpc/nofpu: Move directory from
46237         ports/sysdeps/powerpc/nofpu.
46238         * sysdeps/powerpc/soft-fp: Move directory from
46239         ports/sysdeps/powerpc/soft-fp.
46240         * sysdeps/powerpc/powerpc32/405: Move directory from
46241         ports/sysdeps/powerpc/powerpc32/405.
46242         * sysdeps/powerpc/powerpc32/440: Move directory from
46243         ports/sysdeps/powerpc/powerpc32/440.
46244         * sysdeps/powerpc/powerpc32/464: Move directory from
46245         ports/sysdeps/powerpc/powerpc32/464.
46246         * sysdeps/powerpc/powerpc32/476: Move directory from
46247         ports/sysdeps/powerpc/powerpc32/476.
46248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46249         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46251         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46253         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46255         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46257         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46258         * README: Update for powerpc-*-linux-gnu software floating point
46259         support in libc.
46261         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46262         case to powerpc/powerpc32*.
46263         * sysdeps/unix/sysv/linux/configure: Regenerated.
46265         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46266         (_FPU_MASK_OM): Define as 0x04.
46267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46269         0x00c10080.
46270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46271         0x0000003c.
46272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46275         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46276         getcontext_e500.
46277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46278         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46279         setcontext_e500.
46280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46281         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46282         and setcontext_e500.
46284 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46286         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46288 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46290         * manual/threads.texi (Default Thread Attributes): Fix typo.
46292 2013-10-04  Will Newton  <will.newton@linaro.org>
46294         * malloc/Makefile: Add tst-memalign.
46295         * malloc/tst-memalign.c: New file.
46297         * malloc/tst-posix_memalign.c: Add comments.
46298         (do_test): Add comments and call free on all potentially
46299         allocated pointers. Add space after cast.
46301         * malloc/tst-pvalloc.c: Add comments.
46302         (do_test): Add comments and call free on all potentially
46303         allocated pointers. Remove duplicate check for NULL pointer.
46304         Add space after cast.
46306         * malloc/tst-valloc.c: Add comments.
46307         (do_test): Add comments and call free on all potentially
46308         allocated pointers. Remove duplicate check for NULL pointer.
46309         Add space after cast.
46311 2013-10-04  Alan Modra  <amodra@gmail.com>
46313         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46314         Use stdint types in rather than __attribute__((mode())).
46315         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46317 2013-10-04  Alan Modra  <amodra@gmail.com>
46319         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46320         Correct handling of unaligned relocs for little-endian.
46321         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46323 2013-10-04  Alan Modra  <amodra@gmail.com>
46325         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46326         * configure: Regenerate.
46327         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46328         * shlib-versions: Likewise.
46330 2013-10-04  Alan Modra  <amodra@gmail.com>
46332         * string/tester.c (test_memrchr): Increment reported test cycle.
46334 2013-10-04  Alan Modra  <amodra@gmail.com>
46336         * string/test-memcpy.c (do_one_test): When reporting errors, print
46337         string address and don't overrun end of string.
46339 2013-10-04  Alan Modra  <amodra@gmail.com>
46341         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46342         insrdi.  Make better use of reg selection to speed exit slightly.
46343         Schedule entry path a little better.  Remove useless "are we done"
46344         checks on entry to main loop.  Handle wrapping around zero address.
46345         Correct main loop count.  Handle single left-over word from main
46346         loop inline rather than by using loop_small.  Remove extra word
46347         case in loop_small caused by wrong loop count.  Add little-endian
46348         support.
46349         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46350         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46351         cache hint.
46352         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46353         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46354         support.  Avoid rlwimi.
46355         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46357 2013-10-04  Alan Modra  <amodra@gmail.com>
46359         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46360         insrdi.  Formatting.
46361         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46362         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46363         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46364         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46365         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46366         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46368 2013-10-04  Alan Modra  <amodra@gmail.com>
46370         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46371         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46372         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46373         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46374         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46375         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46376         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46377         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46378         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46379         use of regs.  Use power7 mtocrf.  Tidy function tails.
46381 2013-10-04  Alan Modra  <amodra@gmail.com>
46383         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46384         Formatting.  Consistently use rXXX register defines or rN defines.
46385         Use early exit labels that avoid restoring unused non-volatile regs.
46386         Make cr field use more consistent with rWORDn compares.  Rename
46387         regs used as shift registers for unaligned loop, using rN defines
46388         for short lifetime/multiple use regs.
46389         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46390         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46391         addi 1,1,64 to pop stack frame.  Simplify return value code.
46392         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46394 2013-10-04  Alan Modra  <amodra@gmail.com>
46396         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46397         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46398         rather than rlwimi.
46399         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46400         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46401         little-endian support.  Correct typos.
46402         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46403         rather than rlwimi.
46404         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46405         in loop and entry code to keep "and." results.
46406         (strchr): Add little-endian support.  Comment.  Move cntlzd
46407         earlier in tail.
46408         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46410 2013-10-04  Alan Modra  <amodra@gmail.com>
46412         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46413         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46414         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46415         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46417 2013-10-04  Alan Modra  <amodra@gmail.com>
46419         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46420         (rTMP): Define as r11.
46421         (strcmp): Add little-endian support.  Optimise tail.
46422         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46423         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46424         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46425         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46426         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46427         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46428         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46430 2013-10-04  Alan Modra  <amodra@gmail.com>
46432         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46433         little-endian support.  Remove unnecessary "are we done" tests.
46434         Handle "s" wrapping around zero and extremely large "size".
46435         Correct main loop count.  Handle single left-over word from main
46436         loop inline rather than by using small_loop.  Correct comments.
46437         Delete "zero" tail, use "end_max" instead.
46438         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46440 2013-10-04  Alan Modra  <amodra@gmail.com>
46442         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46443         support.  Don't branch over align.
46444         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46445         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46446         support.  Rearrange tmp reg use to suit.  Comment.
46447         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46449 2013-10-04  Alan Modra  <amodra@gmail.com>
46451         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46453 2013-10-04  Alan Modra  <amodra@gmail.com>
46455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46456         conditional form of branch and link when obtaining pc.
46457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46459 2013-10-04  Alan Modra  <amodra@gmail.com>
46461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46462         HIWORD/LOWORD.
46463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46466 2013-10-04  Alan Modra  <amodra@gmail.com>
46468         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46469         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46470         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46471         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46472         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46473         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46474         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46475         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46476         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46477         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46479 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46480             Alistair Popple <alistair@ozlabs.au.ibm.com>
46481             Alan Modra <amodra@gmail.com>
46483         [BZ #15723]
46484         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46485         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46486         _dl_hwcap access for little-endian.
46487         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46488         destroy vmx regs when saving unaligned.
46489         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46490         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46491         destroy vmx regs when saving unaligned.
46493 2013-10-04  Alan Modra  <amodra@gmail.com>
46495         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46496         Don't use a union to pack hi/low value.
46498 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46500         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46501         for little-endian.
46502         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46503         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46504         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46505         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46506         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46508 2013-10-04  Alan Modra  <amodra@gmail.com>
46510         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46511         constants to usual value for .cst8 section, and remove redundant
46512         high address load.
46513         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46514         constant for 0x1p52.  Load little-endian words of double from
46515         correct stack offsets.
46517 2013-10-04  Alan Modra  <amodra@gmail.com>
46519         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46520         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46521         words of double from correct stack offsets.
46522         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46523         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46524         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46525         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46526         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46527         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46528         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46529         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46530         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46531         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46532         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46533         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46534         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46535         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46536         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46537         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46538         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46540 2013-10-04  Alan Modra  <amodra@gmail.com>
46542         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46543         64-bit int/double union.
46544         (_FPU_SETCW): Likewise.
46545         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46546         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46548 2013-10-04  Alan Modra  <amodra@gmail.com>
46550         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46551         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46553 2013-10-04  Alan Modra  <amodra@gmail.com>
46555         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46556         use vector int constants.
46557         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46559 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46561         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46562         array with long long.
46563         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46564         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46565         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46566         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46567         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46568         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46569         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46570         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46571         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46572         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46573         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46574         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46575         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46577 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46579         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46580         (__signbit): Likewise.  Correct for little-endian.
46581         (__signbitl): Call __signbit.
46582         (lrint): Correct for little-endian.
46583         (lrintf): Call lrint.
46585 2013-10-04  Alan Modra  <amodra@gmail.com>
46587         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46588         union 32-bit int array member with 64-bit int array.
46589         (t515, tm256): Double rather than long double.
46590         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46592 2013-10-04  Alan Modra  <amodra@gmail.com>
46594         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46595         Delete.
46596         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46597         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46598         version of math_ldbl.h.
46600 2013-10-04  Alan Modra  <amodra@gmail.com>
46602         [BZ #15734], [BZ #15735]
46603         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46604         all uses of ieee875 long double macros and unions.  Simplify test
46605         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46606         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46607         normalize after ldbl_extract_mantissa, and don't add hidden bit
46608         already handled.  Don't treat low word of ieee854 mantissa like
46609         low word of IBM long double and mask off bit when testing for
46610         zero.
46611         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46612         all uses of ieee875 long double macros and unions.  Simplify tests
46613         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46614         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46615         two1022, instead use their values.  Recognise that tests for large
46616         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46617         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46618         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46619         test for 0.0L and nan.  Correct negation.
46620         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46621         ieee875 long double macros and unions.  Correct output for large
46622         magnitude x.  Correct absolute value calculation.
46623         (__erfcl): Likewise.
46624         * math/libm-test.inc: Add tests for errors discovered in IBM long
46625         double versions of fmodl, remainderl, erfl and erfcl.
46627 2013-10-04  Alan Modra  <amodra@gmail.com>
46629         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46630         all uses of ieee854 long double macros and unions.  Simplify tests
46631         for long doubles that are fully specified by the high double.
46632         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46633         Likewise.
46634         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46635         Remove dead code too.
46636         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46637         (__ieee754_ynl): Likewise.
46638         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46639         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46640         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46641         Remove dead code too.
46642         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46643         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46644         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46645         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46646         Simplify.
46647         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46648         Simplify.
46649         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46650         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46651         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46652         Comment on variable precision.
46653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46654         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46655         Likewise.
46656         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46657         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46658         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46659         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46660         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46662 2013-10-04  Alan Modra  <amodra@gmail.com>
46664         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46665         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46666         all uses of ieee854 long double macros and unions.
46667         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46668         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46669         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46670         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46671         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46672         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46673         Likewise.
46674         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46675         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46676         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46677         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46678         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46679         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46680         Simplify sign and nan test too.
46681         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46682         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46683         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46684         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46685         Likewise.
46686         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46687         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46688         Likewise.
46689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46690         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46691         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46692         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46693         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46696 2013-10-04  Alan Modra  <amodra@gmail.com>
46698         * stdio-common/printf_size.c (__printf_size): Don't use
46699         union ieee854_long_double in fpnum union.
46700         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46701         signbit macro to retrieve sign from long double.
46702         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46703         retrieve sign from long double.
46704         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46705         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46706         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46707         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46708         * math/test-misc.c (main): Don't use union ieee854_long_double.
46710 2013-10-04  Alan Modra  <amodra@gmail.com>
46712         [BZ #15680]
46713         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46714         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46715         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46716         calculation.  Remove unnecessary test for denormal exponent.
46717         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46718         Correct handling of denormals.  Avoid undefined shift behaviour.
46719         Correct normalisation of low mantissa when low double is denormal.
46720         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46721         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46722         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46723         Correct normalisation of low mantissa.  Test for overflow of high
46724         mantissa and normalise.
46725         (ldbl_nearbyint): Use more readable constant for two52.
46726         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46727         (__mpn_construct_long_double): Fix test for overflow of high
46728         mantissa and correct normalisation.  Avoid undefined shift.
46730 2013-10-04  Alan Modra  <amodra@gmail.com>
46732         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46733         (union ibm_extended_long_double): Define as an array of ieee754_double.
46734         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46735         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46736         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46737         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46738         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46739         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46740         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46741         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46742         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46743         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46744         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46746 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46748         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46749         page size instead of calling getpagesize.
46751         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46752         (LOCFILE_ALIGN_MASK): Likewise.
46753         (LOCFILE_ALIGN_UP): Likewise.
46754         (LOCFILE_ALIGNED_P): Likewise.
46755         * locale/programs/ld-collate.c (collate_output): Use the new
46756         macros instead of __alignof__ (int32_t).
46757         * locale/weight.h (findidx): Likewise.
46759 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46761         [BZ #431]
46762         * manual/string.texi: Fix strncat and wcsncat.
46764 2013-10-03  Brooks Moses  <bmoses@google.com>
46766         [BZ #15915]
46767         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46768         * Makerules: ...here, and adjust associated comments.
46770 2013-10-02  Will Newton  <will.newton@linaro.org>
46772         * malloc/Makefile: Add tst-pvalloc.
46773         * malloc/tst-pvalloc.c: New file.
46775 2013-10-02  Will Newton  <will.newton@linaro.org>
46777         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46778         improve test coverage.
46780 2013-10-02  Will Newton  <will.newton@linaro.org>
46782         * malloc/Makefile: Add tst-posix_memalign.
46783         * malloc/tst-posix_memalign.c: New file.
46785 2013-10-01  Eric Blake  <eblake@redhat.com>
46787         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46788         Use __THROWNL rather than __THROW on static functions.
46790 2013-09-30  Petr Machata  <pmachata@redhat.com>
46792         * elf/elf.h (R_AARCH64_ABS16): New macro.
46793         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46794         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46795         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46796         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46797         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46798         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46799         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46800         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46801         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46802         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46803         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46804         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46805         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46806         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46807         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46808         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46809         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46810         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46811         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46812         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46813         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46814         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46815         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46816         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46817         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46818         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46819         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46820         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46821         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46822         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46823         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46824         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46825         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46826         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46827         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46828         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46829         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46830         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46831         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46832         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46833         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46834         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46835         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46836         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46837         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46838         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46839         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46840         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46841         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46842         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46843         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46844         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46845         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46846         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46847         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46848         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46849         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46850         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46851         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46852         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46853         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46854         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46855         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46856         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46857         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46858         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46859         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46860         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46861         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46862         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46863         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46864         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46865         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46866         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46867         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46868         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46869         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46870         (R_AARCH64_TLSDESC_LDR): Likewise.
46871         (R_AARCH64_TLSDESC_ADD): Likewise.
46872         (R_AARCH64_TLSDESC_CALL): Likewise.
46874 2013-09-30  Andreas Schwab  <schwab@suse.de>
46876         [BZ #15048]
46877         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46878         the nss database lookup.
46879         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46880         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46882 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46884         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46886 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46888         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46889         ${Bash-specific parameter/pattern/string} parameter expansion.
46890         * sysdeps/unix/make-syscalls.sh: Likewise.
46892 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46894         * sysdeps/sh/stackguard-macros.h: New file.
46896 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46899         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46900         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46901         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46902         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46903         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46905 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46907         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46908         Fix thread ID register.
46910 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46912         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46913         [POSIX || UNIX98]: Require rather than permitting all symbols from
46914         <time.h>.
46915         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46916         element of struct sched_param.
46917         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46918         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46919         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46920         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46921         constant.
46923 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46925         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46926         argument calculation.
46928 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46930         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46931         Expect macro.
46932         [POSIX] (pthread_attr_t): Do not require type.
46933         [POSIX] (pthread_cond_t): Likewise.
46934         [POSIX] (pthread_condattr_t): Likewise.
46935         [POSIX] (pthread_key_t): Likewise.
46936         [POSIX] (pthread_mutex_t): Likewise.
46937         [POSIX] (pthread_mutexattr_t): Likewise.
46938         [POSIX] (pthread_once_t): Likewise.
46939         [POSIX] (pthread_t): Likewise.
46940         [POSIX-based standards] (pthread_atfork): Expect function.
46942 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46943             Richard Sandiford  <richard@codesourcery.com>
46945         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46946         (swap_endianness_p): New extern variable.
46947         (set_big_endian): New inline function.
46948         (maybe_swap_uint32): Likewise.
46949         (maybe_swap_uint32_array): Likewise.
46950         (maybe_swap_uint32_obstack): Likewise.
46951         * locale/programs/locfile.c: Include <stdbool.h>.
46952         (swap_endianness_p): New variable.
46953         (add_locale_uint32): Call maybe_swap_uint32.
46954         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46955         (write_locale_data): Call maybe_swap_uint32_array.
46956         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46957         maybe_swap_uint32.
46958         (obstack_int32_grow_fast): Likewise.
46959         (output_weightwc): Call maybe_swap_uint32_obstack.
46960         (collate_output): Likewise.
46961         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46962         (OPT_LITTLE_ENDIAN): Likewise.
46963         (options): Add --little-endian and --big-endian options.
46964         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46965         * locale/programs/locarchive.c: Include "locfile.h".
46966         (GET): New macro.
46967         (SET): Likewise.
46968         (INC): Likewise.
46969         (create_archive): Use the new macros to access fields of
46970         structures directly mapped from or written to locale archives.
46971         (oldlocrecentcmp): Likewise.
46972         (enlarge_archive): Likewise.
46973         (insert_name): Likewise.
46974         (add_alias): Likewise.
46975         (add_locale): Likewise.
46976         (delete_locales_from_archive): Likewise.
46977         (show_archive_content): Likewise.
46978         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46979         locale data.
46981 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46983         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46984         http://www.gnu.org/doc/freemanuals.texi.
46985         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46987 2013-09-24  Will Newton  <will.newton@linaro.org>
46989         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46990         macro.
46992 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46994         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46995         unsigned char.
46997 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46999         * manual/threads.texi (POSIX Threads): Fix a typo.
47001 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47003         [BZ #14547]
47004         * string/tst-strcoll-overflow.c: New test case.
47005         * string/Makefile (xtests): Add tst-strcoll-overflow.
47006         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47007         cache if string sizes may cause integer overflow.
47009         [BZ #14547]
47010         * string/strcoll_l.c (coll_seq): New members rule, idx,
47011         save_idx and back_us.
47012         (get_next_seq_nocache): New function.
47013         (do_compare_nocache): New function.
47014         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47015         when malloc fails.
47017 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47019         [BZ #15754]
47020         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47021         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47022         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47024         [BZ #15754]
47025         * elf/Makefile (tests): Add tst-ptrguard1.
47026         (tests-static): Add tst-ptrguard1-static.
47027         (tst-ptrguard1-ARGS): Define.
47028         (tst-ptrguard1-static-ARGS): Define.
47029         * elf/tst-ptrguard1.c: New file.
47030         * elf/tst-ptrguard1-static.c: New file.
47031         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47032         * sysdeps/i386/stackguard-macros.h: Likewise.
47033         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47034         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47035         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47036         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47037         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47038         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47040 2013-09-23  Hector Marco  <hecmargi@upv.es>
47041             Ismael Ripoll  <iripoll@disca.upv.es>
47042             Carlos O'Donell  <carlos@redhat.com>
47044         [BZ #15754]
47045         * sysdeps/generic/stackguard-macros.h: Define
47046         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47047         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47048         Define __pointer_chk_guard_local.
47049         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47050         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47052 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47054         [BZ #15859]
47055         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47057 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47059         * include/string.h (__ffs): Declare as hidden.
47060         * string/ffs.c (__ffs): Define as hidden.
47061         * sysdeps/i386/ffs.c (__ffs): Likewise.
47062         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47063         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47064         * sysdeps/s390/ffs.c (__ffs): Likewise.
47065         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47067 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47069         * NEWS: Mention malloc probes.
47071         * malloc/arena.c (new_heap): New memory_heap_new probe.
47072         (grow_heap): New memory_heap_more probe.
47073         (shrink_heap): New memory_heap_less probe.
47074         (heap_trim): New memory_heap_free probe.
47075         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47076         (systrim): New memory_sbrk_less probe.
47077         * manual/probes.texi: Document them.
47079         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47080         * manual/probes.texi: Document it.
47082         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47083         (__libc_realloc): Add memory_realloc_retry probe.
47084         (__libc_memalign): Add memory_memalign_retry probe.
47085         (__libc_valloc): Add memory_valloc_retry probe.
47086         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47087         (__libc_calloc): Add memory_calloc_retry probe.
47088         * manual/probes.texi: Document them.
47090         * malloc/arena.c (get_free_list): Add probe
47091         memory_arena_reuse_free_list.
47092         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47093         and memory_arena_reuse.
47094         (arena_get2) [!PER_THREAD]: Likewise.
47095         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47096         memory_arena_reuse_realloc.
47097         * manual/probes.texi: Document them.
47099         * malloc/malloc.c (__libc_free): Add
47100         memory_mallopt_free_dyn_thresholds probe.
47101         (__libc_mallopt): Add multiple memory_mallopt probes.
47102         * manual/probes.texi: Document them.
47104         * malloc/malloc.c: Include stap-probe.h.
47105         (__libc_mallopt): Add memory_mallopt probe.
47106         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47107         * manual/probes.texi: New.
47108         * manual/Makefile (chapters): Add probes.
47109         * manual/threads.texi: Set next node.
47111 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47113         [BZ #15963, #13985]
47114         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47115         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47116         Add `Chinese' to `nan' entry name.
47118 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47120         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47121         (POLYNOMIAL): Likewise.
47122         (TAYLOR_SINCOS): Likewise.
47123         (TAYLOR_SLOW): Likewise.
47124         (__sin): Use TAYLOR_SINCOS.
47125         (__cos): Likewise.
47126         (slow): Use TAYLOR_SLOW.
47127         (sloww): Likewise.
47128         (bsloww): Likewise.
47129         (csloww): Likewise.
47131 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47133         * stdlib/strtod_l.c: Fix buffer overrun.
47135 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47137         * benchtests/Makefile (bench): Add sincos.
47138         * benchtests/bench-sincos.c: New file.
47140         * math/libm-test.inc (cos_test_data): New test inputs.
47141         (sin_test_data): Likewise.
47143         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47144         macro.
47145         (__sin): Use it.
47146         (__cos): Likewise.
47147         (slow1): Likewise.
47148         (slow2): Likewise.
47149         (sloww1): Likewise.
47150         (sloww2): Likewise.
47151         (bsloww1): Likewise.
47152         (bsloww2): Likewise.
47153         (cslow2): Likewise.
47154         (csloww1): Likewise.
47155         (csloww2): Likewise.
47157         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47158         function.
47159         (__sin): Use it.
47160         (__cos): Likewise.
47162         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47163         gotos.
47164         (__cos): Likewise.
47166 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47168         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47169         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47170         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47171         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47172         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47173         * elf/cache.c (print_entry): Handle the new cache flags.
47175 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47176             Aldy Hernandez  <aldyh@redhat.com>
47178         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47179         Change condition to [_SOFT_FLOAT].
47180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47184         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47185         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47192         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47195         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47196         declaration.
47198 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47200         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47201         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47202         (__longjmp): Use LOAD_GP to load saved GPRs.
47203         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47204         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47205         (__sigsetjmp): Use SAVE_GP to save GPRs.
47207         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47208         Do not append -msoft-float.
47209         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47211 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47213         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47215 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47217         [BZ #15966]
47218         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47219         (_FPU_GETCW): Use initial "__" on variable and field names but not
47220         on macro parameter name.
47221         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47222         parentheses around reference to macro parameter.
47224 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47226         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47227         prototype.
47228         (ctype_startup): Use uint32_t in cast and sizeof for
47229         ctype->charnames.
47231 2013-09-11  Jia Liu  <proljc@gmail.com>
47233         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47234         __daddr_t_defined.
47235         [__FreeBSD__]: Likewise.
47237 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47239         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47240         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47241         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47242         (strchr): Remove __strchr_sse42 ifunc selection.
47243         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47244         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47246 2013-09-11  Will Newton  <will.newton@linaro.org>
47248         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47249         parameter to RES. Remove hardcoded 1000 value.
47250         * benchtests/bench-skeleton.c (main): Pass RES parameter
47251         to TIMING_INIT and multiply result by 1000.
47253 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47257 2013-09-11  Andreas Schwab  <schwab@suse.de>
47259         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47260         if not defined.
47261         (O_TMPFILE) [__USE_GNU]: Define.
47262         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47263         Define.
47265 2013-09-11  Will Newton  <will.newton@linaro.org>
47267         [BZ #15857]
47268         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47269         does not overflow.
47271 2013-09-11  Will Newton  <will.newton@linaro.org>
47273         [BZ #15856]
47274         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47275         does not overflow.
47277 2013-09-11  Will Newton  <will.newton@linaro.org>
47279         [BZ #15855]
47280         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47281         does not overflow.
47283 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47285         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47286         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47287         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47288         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47289         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47291 2013-09-10  Allan McRae  <allan@archlinux.org>
47293         [BZ #15748]
47294         * manual/arith.texi (Parsing of Floats): Clarify
47295         cross-reference.
47297         [BZ #15849]
47298         * manual/install.texi (Running make install): Mention
47299         --enable-pt-chown.
47300         * INSTALL: Regenerated.
47302 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47304         * csu/init-first.c (_init): Remove the !SHARED condition around
47305         FPU control word initialization.
47306         * elf/dl-support.c (_dl_fpu_control): New variable.
47307         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47308         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47309         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47310         * math/test-fpucw-static.c: New file.
47311         * math/test-fpucw-ieee.c: New file.
47312         * math/test-fpucw-ieee-static.c: New file.
47313         * math/Makefile (tests): Add `test-fpucw-ieee' and
47314         `$(tests-static)'.
47315         (tests-static): New variable.
47316         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47317         dependency to...
47318         [($(build-shared),yes)]
47319         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47320         ... this.
47321         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47322         New dependency.
47324 2013-09-09  Allan McRae  <allan@archlinux.org>
47326         [BZ #15939]
47327         * manual/string.texi (Collation Functions): Fix typo in
47328         strcoll example.
47329         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47331         [BZ #15893]
47332         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47334         [BZ #15892]
47335         * libio/memstream.c (open_memstream): Fix memory leak.
47336         * libio/wmemstream.c (open_wmemstream): Likewise.
47338         [BZ #15895]
47339         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47341 2013-09-09  Will Newton  <will.newton@linaro.org>
47343         * malloc/Makefile: Add tst-realloc to tests.
47344         * malloc/tst-realloc.c: New file.
47346 2013-09-09  Allan McRae  <allan@archlinux.org>
47348         [BZ #15844]
47349         * COPYING: Update from GNU website to fix FSF address.
47350         * COPYING.LIB: Likewise.
47352 2013-09-06  David S. Miller  <davem@davemloft.net>
47354         * po/zh_TW.po: Update Chinese (traditional) translation from
47355         translation project.
47357 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47358             Joseph Myers  <joseph@codesourcery.com>
47360         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47361         "localeinfo.h".
47362         (obstack_chunk_alloc): New macro.
47363         (obstack_chunk_free): Likewise.
47364         (record_offset): New function.
47365         (init_locale_data): Likewise.
47366         (align_locale_data): Likewise.
47367         (add_locale_empty): Likewise.
47368         (add_locale_raw_data): Likewise.
47369         (add_locale_raw_obstack): Likewise.
47370         (add_locale_string): Likewise.
47371         (add_locale_wstring): Likewise.
47372         (add_locale_uint32): Likewise.
47373         (add_locale_uint32_array): Likewise.
47374         (add_locale_char): Likewise.
47375         (start_locale_structure): Likewise.
47376         (end_locale_structure): Likewise.
47377         (start_locale_prelude): Likewise.
47378         (end_locale_prelude): Likewise.
47379         (write_locale_data): Take locale_file structure rather than an
47380         iovec.
47381         * locale/programs/locfile.h: Include "obstack.h".
47382         (struct locale_file): Change to store locale file contents instead
47383         of header.
47384         (init_locale_data): New prototype.
47385         (align_locale_data): Likewise.
47386         (add_locale_empty): Likewise.
47387         (add_locale_raw_data): Likewise.
47388         (add_locale_raw_obstack): Likewise.
47389         (add_locale_string): Likewise.
47390         (add_locale_wstring): Likewise.
47391         (add_locale_uint32): Likewise.
47392         (add_locale_uint32_array): Likewise.
47393         (add_locale_char): Likewise.
47394         (start_locale_structure): Likewise.
47395         (end_locale_structure): Likewise.
47396         (start_locale_prelude): Likewise.
47397         (end_locale_prelude): Likewise.
47398         (write_locale_data): Update prototype.
47399         * locale/programs/3level.h (struct TABLE): Remove result field.
47400         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47401         Use new locale_file interface.
47402         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47403         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47404         * locale/programs/ld-address.c (address_output): Use new
47405         locale_file interface.
47406         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47407         NO_ADD_LOCALE.
47408         (collate_finish): Don't call collseq_table_finalize.
47409         (collate_output): Use new locale_file interface.
47410         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47411         in file.
47412         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47413         (TABLE): Move defines earlier in file.
47414         (ELEMENT): Likewise.
47415         (DEFAULT): Likewise.
47416         (wctrans_table_add): Move macro and inline function earlier in
47417         file.
47418         (struct wctype_table): Move type earlier in file.
47419         (add_locale_wctype_table): New static prototype.
47420         (struct locale_ctype_t): Use logical types instead of struct iovec
47421         pointers for members.
47422         (ctype_output): Use new locale_file interface.
47423         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47424         new locale_file interface.
47425         (allocate_arrays): Update for use of new locale_file interface.
47426         * locale/programs/ld-identification.c (identification_output): Use
47427         new locale_file interface.
47428         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47429         * locale/programs/ld-messages.c (messages_output): Likewise.
47430         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47431         * locale/programs/ld-name.c (name_output): Likewise.
47432         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47433         * locale/programs/ld-paper.c (paper_output): Likewise.
47434         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47435         * locale/programs/ld-time.c (time_output): Likewise.
47437 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47439         * benchtests/Makefile: Add memrchr benchmark.
47440         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47441         benchmark as memrchr.
47442         * benchtests/bench-memrchr-ifunc.c: New file.
47443         * benchtests/bench-memrchr.c: New file.
47445 2013-09-06   Will Newton  <will.newton@linaro.org>
47447         * benchtests/Makefile (string-bench): Add memcpy.
47449 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47450             Cong Wang  <amwang@redhat.com>
47452         [BZ #15850]
47453         * sysdeps/unix/sysv/linux/bits/in.h
47454         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47455         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47456         before __USE_KERNEL_IPV6_DEFS uses.
47457         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47458         IPPROTO_BEETPH.
47459         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47460         sockaddr_in6, or ipv6_mreq.
47462 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47464         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47465         memory access for final bytes in some large inputs.
47466         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47468 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47470         * string/test-memrchr.c: New file.
47471         * string/test-memrchr-ifunc.c: New file.
47472         * string/Makefile: Add new memrchr testcase.
47474 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47476         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47477         fanotify_init returns EPERM.
47479 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47481         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47482         errors.
47483         (top level): Treat second token from macro or constant entries for
47484         allowed headers as allowed.
47485         * include/complex.h: Condition internal declarations on
47486         [!_ISOMAC].
47487         * include/fenv.h: Condition include of <stdbool.h> and internal
47488         declarations on [!_ISOMAC].
47490 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47492         [BZ #15923]
47493         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47495 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47497         * configure.in (--enable-versioning): Remove configure option.
47498         (libc_cv_asm_symver_directive): Remove configure test.
47499         (libc_cv_ld_version_script_option): Likewise.
47500         (VERSIONING): Remove variable and AC_SUBST.
47501         (DO_VERSIONING): Remove AC_DEFINE.
47502         * configure: Regenerated.
47503         * config.h.in (DO_VERSIONING): Remove macro.
47504         * Makerules [$(versioning) = yes]: Change conditionals to
47505         [$(build-shared) = yes].
47506         * config.make.in (versioning): Remove variable.
47507         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47508         [$(build-shared) = yes].
47509         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47510         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47511         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47512         [$(build-shared) = yes].
47513         * extra-lib.mk [$(versioning) = yes]: Likewise.
47514         * hurd/Makefile [$(versioning) = yes]: Likewise.
47515         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47516         [SHARED].
47517         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47518         [SHARED].
47519         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47520         [SHARED && !NO_HIDDEN].
47521         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47522         [SHARED].
47523         [SHARED && DO_VERSIONING]: Likewise..
47524         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47525         [$(build-shared) = yes].
47526         * manual/install.texi (--disable-versioning): Remove
47527         documentation.
47528         * INSTALL: Regenerated.
47529         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47530         to [SHARED].
47531         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47532         [$(build-shared) = yes].
47533         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47534         * sysdeps/i386/i686/multiarch/strstr-c.c
47535         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47536         [SHARED && !NO_HIDDEN].
47537         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47538         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47539         * sysdeps/powerpc/powerpc32/dl-machine.c
47540         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47541         * sysdeps/powerpc/powerpc32/sysdep.h
47542         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47543         to [SHARED && PIC && !NO_HIDDEN].
47544         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47545         conditional to [SHARED].
47547 2013-09-04   Will Newton  <will.newton@linaro.org>
47549         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47550         * benchtests/bench-string.h: Include bench-timing.h instead
47551         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47552         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47553         call to HP_TIMING_DIFF_INIT.
47554         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47555         instead of hp-timing.h macros.
47556         * benchtests/bench-memchr.c: Likewise.
47557         * benchtests/bench-memcmp.c: Likewise.
47558         * benchtests/bench-memcpy.c: Likewise.
47559         * benchtests/bench-memmem.c: Likewise.
47560         * benchtests/bench-memmove.c: Likewise.
47561         * benchtests/bench-memset.c: Likewise.
47562         * benchtests/bench-rawmemchr.c: Likewise.
47563         * benchtests/bench-strcasecmp.c: Likewise.
47564         * benchtests/bench-strcasestr.c: Likewise.
47565         * benchtests/bench-strcat.c: Likewise.
47566         * benchtests/bench-strchr.c: Likewise.
47567         * benchtests/bench-strcmp.c: Likewise.
47568         * benchtests/bench-strcpy.c: Likewise.
47569         * benchtests/bench-strcpy_chk.c: Likewise.
47570         * benchtests/bench-strlen.c: Likewise.
47571         * benchtests/bench-strncasecmp.c: Likewise.
47572         * benchtests/bench-strncat.c: Likewise.
47573         * benchtests/bench-strncmp.c: Likewise.
47574         * benchtests/bench-strncpy.c: Likewise.
47575         * benchtests/bench-strnlen.c: Likewise.
47576         * benchtests/bench-strpbrk.c: Likewise.
47577         * benchtests/bench-strrchr.c: Likewise.
47578         * benchtests/bench-strspn.c: Likewise.
47579         * benchtests/bench-strstr.c: Likewise.
47581 2013-09-04  Will Newton  <will.newton@linaro.org>
47583         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47585 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47587         [BZ #15427]
47588         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47589         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47590         * math/libm-test.inc (lgamma_test_data): Add more tests.
47591         * sysdeps/i386/fpu/libm-test-ulps: Update.
47592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47594 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47596         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47597         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47598         Add ifunc.
47599         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47600         Add strcmp-sse2-unaligned
47601         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47603 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47605         * Versions.def (libc): Add GLIBC_2.19.
47607 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47609         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47610         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47612 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47614         [BZ #14155]
47615         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47616         intermediate calculations in recurrence.
47617         (__ieee754_ynf): Likewise.
47618         * math/libm-test.inc (jn_test_data): Do not allow spurious
47619         underflow exception.  Add more tests.
47620         (yn_test_data): Add more tests.
47621         * sysdeps/i386/fpu/libm-test-ulps: Update.
47622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47624 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47626         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47628 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47630         * csu/init-first.c: Fix then/than typos.
47631         * locale/programs/ld-collate.c: Likewise.
47632         * locale/programs/linereader.h: Likewise.
47633         * manual/charset.texi: Likewise.
47634         * manual/filesys.texi: Likewise.
47635         * manual/stdio.texi: Likewise.
47636         * manual/string.texi: Likewise.
47637         * stdlib/fmtmsg.c: Likewise.
47638         * sysdeps/i386/stpncpy.S: Likewise.
47639         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47640         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47641         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47642         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47644 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47646         * elf/dl-open.c: Fix typos.
47647         * iconvdata/gbbig5.c: Likewise.
47648         * iconvdata/iso-2022-jp.c: Likewise.
47649         * iconv/gconv_int.h: Likewise.
47650         * iconv/loop.c: Likewise.
47651         * nis/rpcsvc/nis.h: Likewise.
47652         * resolv/ns_name.c: Likewise.
47653         * stdio-common/vfscanf.c: Likewise.
47654         * streams/stropts.h: Likewise.
47655         * sunrpc/rpc_thread.c: Likewise.
47656         * sysdeps/i386/strpbrk.S: Likewise.
47657         * sysdeps/ieee754/k_standard.c: Likewise.
47658         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47659         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47660         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47661         * sysdeps/mach/hurd/profil.c: Likewise.
47662         * sysdeps/s390/dl-procinfo.h: Likewise.
47663         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47664         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47665         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47666         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47667         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47669 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47671         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47672         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47674 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47676         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47677         aix specific files.
47678         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47679         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47680         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47681         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47682         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47683         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47684         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47685         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47687 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47688             Roland McGrath  <roland@hack.frob.com>
47690         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47691         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47693 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47695         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47696         __executable_start symbol instead of _start.
47698 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47700         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47701         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47702         Move macros to...
47703         * sysdeps/gnu/ldsodefs.h: ... this new file.
47705         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47706         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47707         instead of ELFOSABI_LINUX.
47709         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47710         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47711         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47712         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47713         Likewise.
47714         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47715         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47716         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47717         Likewise.
47718         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47719         (ibm_extended_long_double): Add ieee_nan member.
47720         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47721         (do_test): New function.
47723         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47724         TEST_TRUNC.
47725         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47726         functions, renamed from truncdfsf_test, trunctfsf_test,
47727         trunctfdf_test.
47728         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47729         functions.
47730         (do_test): Run all these.
47732 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47734         * argp/argp-help.c: Fix typos.
47735         * argp/argp-parse.c: Likewise.
47736         * debug/backtracesyms.c: Likewise.
47737         * elf/elf.h: Likewise.
47738         * malloc/malloc.c: Likewise.
47739         * nis/nis_print.c: Likewise.
47740         * resolv/res_comp.c: Likewise.
47741         * stdlib/stdlib.h: Likewise.
47742         * sunrpc/clnt_tcp.c: Likewise.
47743         * sunrpc/clnt_udp.c: Likewise.
47744         * sunrpc/clnt_unix.c: Likewise.
47745         * sysdeps/unix/bsd/ptsname.c: Likewise.
47746         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47747         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47749         Likewise.
47750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47751         Likewise.
47752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47753         Likewise.
47754         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47756 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47758         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47761 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47763         [BZ #15897]
47764         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47765         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47766         ($(objpfx)bug-dl-leaf): New rule.
47767         ($(objpfx)bug-dl-leaf.so): Likewise.
47768         ($(objpfx)bug-dl-leaf.out): Likewise.
47769         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47770         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47771         * dlfcn/bug-dl-leaf.c: New test.
47772         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47773         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47774         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47775         (dlclose): Likewise.
47776         (dlmopen): Likewise.
47778 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47780         * include/netdb.h [!_ISOMAC]:
47781         Don't include <tls.h>.
47782         (h_errno, __libc_h_errno): Move declaration and macros out of
47783         [_LIBC_REENTRANT].
47785         * include/resolv.h [_RESOLV_H_]:
47786         Don't include <tls.h>.
47787         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47788         * resolv/res_libc.c: Don't include <tls.h>.
47789         (_res): Use __attribute__ ((nocommon)) in place of
47790         __attribute__ ((section (".bss"))).
47792         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47793         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47795         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47797         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47798         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47800         * resolv/res_mkquery.c: Include <sys/time.h>.
47802         * inet/ifreq.c: Moved to ...
47803         * sysdeps/unix/ifreq.c: ... here.
47804         * inet/ifreq.c: New file, true stub version.
47806         * socket/sa_len.c: New file.
47807         * socket/Makefile (aux): Add it.
47808         * sysdeps/unix/sysv/linux/Makefile
47809         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47810         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47811         and #include <socket/sa_len.c>.
47812         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47813         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47815         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47816         * bits/socket.h: ... here.
47818         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47819         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47820         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47822 2013-08-27  Andreas Schwab  <schwab@suse.de>
47824         [BZ #15736]
47825         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47826         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47827         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47828         * string/test-strcasecmp.c (test_main): Run tests in several
47829         locales.
47830         * string/test-strncasecmp.c (test_main): Likewise.
47832         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47833         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47834         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47835         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47836         (__strncasecmp_ssse3) [PIC]: Likewise.
47838 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47840         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47842         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47843         instead of explicitly declaring xdecrypt.
47844         * nis/nss_nis/nis-publickey.c: Likewise.
47846 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47848         [BZ #15890]
47849         * nscd/aicache.c: Include res_hconf.h.
47850         (addhstaiX): Initialize res_hconf.
47852 2013-08-26  Andreas Schwab  <schwab@suse.de>
47854         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47855         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47857 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47859         * nscd/aicache.c (addhstaiX): Fix indentation.
47861 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47863         * configure.ac: Quote $build_pt_chown test.
47864         * configure: Regenerated.
47866 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47868         [BZ #15532]
47869         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47870         * math/s_cexpf.c (__cexpf): Likewise.
47871         * math/s_cexpl.c (__cexpl): Likewise.
47872         * math/libm-test.inc (cexp_test_data): Correct expected return
47873         value for NaN + i0.  Add another test.
47875 2013-08-22  David S. Miller  <davem@davemloft.net>
47877         * po/ca.po: Update Catalan translation from translation project.
47878         * po/uk.po: Add Ukrainian translations from translation project.
47880 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47882         [BZ #15797]
47883         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47884         is infinite, not alongside NaN test.
47885         * math/s_fdimf.c (__fdimf): Likewise.
47886         * math/s_fdiml.c (__fdiml): Likewise.
47887         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47888         errno is unchanged.
47890 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47892         * argp/argp-help.c: Fix typos.
47893         * crypt/speeds.c: Likewise.
47894         * csu/check_fds.c: Likewise.
47895         * elf/dl-load.c: Likewise.
47896         * elf/dl-open.c: Likewise.
47897         * elf/reldep3.c: Likewise.
47898         * elf/reldep.c: Likewise.
47899         * elf/sprof.c: Likewise.
47900         * iconv/iconv_charmap.c: Likewise.
47901         * iconv/skeleton.c: Likewise.
47902         * iconv/strtab.c: Likewise.
47903         * io/lockf64.c: Likewise.
47904         * libio/libioP.h: Likewise.
47905         * resolv/gai_notify.c: Likewise.
47906         * resolv/ns_name.c: Likewise.
47907         * resolv/ns_samedomain.c: Likewise.
47908         * resolv/res_send.c: Likewise.
47909         * stdlib/random.c: Likewise.
47910         * sunrpc/rpc/xdr.h: Likewise.
47911         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47912         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47913         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47914         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47915         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47916         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47917         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47918         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47919         * sysdeps/mach/hurd/check_fds.c: Likewise.
47920         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47921         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47922         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47923         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47924         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47925         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47926         * sysdeps/pthread/aio_notify.c: Likewise.
47927         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47928         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47929         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47930         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47931         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47933 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47935         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47936         version if bit_Slow_SSE4_2 is set.
47937         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47938         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47940 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47942         [BZ #15867]
47943         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47944         trampoline stack frame information.
47945         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47946         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47947         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47948         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47949         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47950         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47951         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47952         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47953         sa_flags value.
47954         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47955         interrupting a syscall and set with option SA_SIGINFO.
47957 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47959         [BZ #15531]
47960         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47961         argument is infinite.
47962         * math/s_cprojf.c (__cprojf): Likewise.
47963         * math/s_cprojl.c (__cprojl): Likewise.
47964         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47965         * math/libm-test.inc (cproj_test_data): Add more tests.
47967         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47969         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47970         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47971         size.  Use __ffs to determine corresponding shift.
47973 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47974             Roland McGrath  <roland@hack.frob.com>
47976         * Makefile (INSTALL): Remove trailing blank lines from output of
47977         makeinfo.
47979 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47981         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47982         Align 32 bit compat elf_greg to 8 bytes.
47984 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47986         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47988 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47990         * string/strcoll_l.c (coll_seq): New structure.
47991         (get_next_seq_cached): New function.
47992         (get_next_seq): New function.
47993         (do_compare): New function.
47994         (STRCOLL): Use GNU style definition.  Simplify implementation
47995         by using get_next_seq, get_next_seq_cached and do_compare.
47997 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47999         [BZ #14699]
48000         CVE-2013-4237
48001         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48002         member.
48003         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48004         member.
48005         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48006         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48007         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48008         conditional.
48009         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48010         GETDENTS_64BIT_ALIGNED.
48011         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48012         * manual/filesys.texi (Reading/Closing Directory): Document
48013         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48014         strongly.
48015         * manual/conf.texi (Limits for Files): Add portability note to
48016         NAME_MAX, PATH_MAX.
48017         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48019 2013-08-13  Andreas Schwab  <schwab@suse.de>
48021         [BZ #15749]
48022         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48023         of fabs.
48024         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48025         LDBL_MAX_EXP >= 16384]: Add tests for it.
48027 2013-08-12  David S. Miller  <davem@davemloft.net>
48029         * version.h (RELEASE): Set to "development".
48030         (VERSION): Set to "2.18.90".
48031         * NEWS: Add 2.19 section.
48033 2013-08-03  David S. Miller  <davem@davemloft.net>
48035         * po/ko.po: Update Korean translation from translation project.
48037 2013-08-01  David S. Miller  <davem@davemloft.net>
48039         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48040         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48041         Bilka.
48043 2013-07-30  David S. Miller  <davem@davemloft.net>
48045         * po/fr.po: Update French translation from translation project.
48047 2013-07-28  David S. Miller  <davem@davemloft.net>
48049         * po/cs.po: Update Czech translation from translation project.
48051         * po/sv.po: Update Swedish translation from translation project.
48053 2013-07-27  David S. Miller  <davem@davemloft.net>
48055         * po/eo.po: Update Esperanto translation from translation project.
48057         * po/vi.po: Update Vietnamese translation from translation project.
48059         * po/de.po: Update German translation from translation project.
48061 2013-07-26  David S. Miller  <davem@davemloft.net>
48063         * po/bg.po: Update Bulgarian translation from translation project.
48065         * po/nl.po: Update Dutch translation from translation project.
48066         * po/pl.po: Update Polish translation from translation project.
48067         * po/ru.po: Update Russian translation from translation project.
48069 2013-07-24  David S. Miller  <davem@davemloft.net>
48071         * po/libc.pot: Update.
48073 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48075         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48076         variable page size.
48077         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48078         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48079         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48081 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48083         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48085 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48086             Andreas Schwab  <schwab@suse.de>
48087             Roland McGrath  <roland@hack.frob.com>
48088             Joseph Myers  <joseph@codesourcery.com>
48089             Carlos O'Donell  <carlos@redhat.com>
48091         [BZ #15755]
48092         * config.h.in: Define HAVE_PT_CHOWN.
48093         * config.make.in (build-pt-chown): New variable.
48094         * configure.in (--enable-pt_chown): New configure option.
48095         * configure: Regenerate.
48096         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48097         build-pt-chown is enabled.
48098         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48099         pt_chown to fix pty ownership.
48100         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48101         CLOSE_ALL_FDS.
48102         * manual/install.texi (Configuring and compiling): Mention
48103         --enable-pt_chown. Add @findex for grantpt.
48104         * INSTALL: Regenerate.
48106 2013-07-20  David S. Miller  <davem@davemloft.net>
48108         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48109         difference between 32-bit and 64-bit.
48111 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48113         [BZ #15711]
48114         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48115         Avoid system header dependency with -ffreestanding.
48116         ($(objpfx)bits/syscall%d): Likewise.
48118 2013-07-13  David S. Miller  <davem@davemloft.net>
48120         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48121         underflows from atanl/atan2l due to bug 15319.
48122         (casinh_test_data): Likewise.
48124 2013-07-07  David S. Miller  <davem@davemloft.net>
48126         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48128 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48130         * sysdeps/i386/fpu/libm-test-ulps: Update.
48131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48133 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48135         * configure.in (--enable-lock-elision): Fix message text.
48136         * INSTALL: Regenerate.
48137         * configure: Regenerate.
48139 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48143 2013-07-03  Andreas Jaeger  <aj@suse.de>
48145         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48146         define.
48147         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48148         (ptrace_peeksiginfo_args): Add.
48149         (__ptrace_peeksiginfo_flags): Add.
48150         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48151         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48152         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48154 2013-07-03  Allan McRae  <allan@archlinux.org>
48156         * sysdeps/i386/fpu/libm-test-ulps: Update.
48158 2013-07-02  David S. Miller  <davem@davemloft.net>
48160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48162 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48166 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48168         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48171 2013-07-02  Andi Kleen <ak@linux.intel.com>
48173         * config.h.in (ENABLE_LOCK_ELISION): Add.
48174         * configure.in (--enable-lock-elision): Add option.
48175         * manual/install.texi: Document --enable lock elision.
48176         * configure: Regenerate
48177         * INSTALL: Regenerate.
48179 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48181         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48182         SSE4.2 strcasecmp for libc.a.
48183         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48185 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48187         [BZ #13304]
48188         * soft-fp/op-common.h (_FP_FMA): New macro.
48189         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48190         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48191         (_FP_MUL_MEAT_1_imm): ... here.
48192         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48193         (_FP_MUL_MEAT_1_wide): ... here.
48194         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48195         (_FP_MUL_MEAT_1_hard): ... here.
48196         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48197         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48198         (_FP_MUL_MEAT_2_wide): ... here.
48199         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48200         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48201         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48202         (_FP_MUL_MEAT_2_gmp): ... here.
48203         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48204         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48205         (_FP_MUL_MEAT_4_wide): ... here.
48206         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48207         (_FP_MUL_MEAT_4_gmp): ... here.
48208         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48209         (_FP_WFRACBITS_DW_S): Likewise.
48210         (_FP_WFRACXBITS_DW_S): Likewise.
48211         (_FP_HIGHBIT_DW_S): Likewise.
48212         (FP_FMA_S): Likewise.
48213         (_FP_FRAC_HIGH_DW_S): Likewise.
48214         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48215         (_FP_WFRACBITS_DW_D): Likewise.
48216         (_FP_WFRACXBITS_DW_D): Likewise.
48217         (_FP_HIGHBIT_DW_D): Likewise.
48218         (FP_FMA_D): Likewise.
48219         (_FP_FRAC_HIGH_DW_D): Likewise.
48220         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48221         (_FP_WFRACBITS_DW_E): Likewise.
48222         (_FP_WFRACXBITS_DW_E): Likewise.
48223         (_FP_HIGHBIT_DW_E): Likewise.
48224         (FP_FMA_E): Likewise.
48225         (_FP_FRAC_HIGH_DW_E): Likewise.
48226         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48227         (_FP_WFRACBITS_DW_Q): Likewise.
48228         (_FP_WFRACXBITS_DW_Q): Likewise.
48229         (_FP_HIGHBIT_DW_Q): Likewise.
48230         (FP_FMA_Q): Likewise.
48231         (_FP_FRAC_HIGH_DW_Q): Likewise.
48232         * soft-fp/fmasf4.c: New file.
48233         * soft-fp/fmadf4.c: Likewise.
48234         * soft-fp/fmatf4.c: Likewise.
48236 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48238         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48239         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48240         Silvermont.
48241         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48242         macro.
48243         (index_Slow_SSE4_2): Likewise.
48244         (index_Prefer_PMINUB_for_stringop): Likewise.
48245         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48246         bit_Slow_SSE4_2 is set.
48247         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48248         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48250 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48252         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48253         rtld_global._dl_hwcap2.
48254         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48255         POWER8.
48256         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48257         POWER8 feature descriptions defined in _dl_hwcap2.
48258         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48259         string handling for POWER8 feature bits.
48260         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48261         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48262         _dl_powerpc_cap_flags.
48263         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48264         * sysdeps/powerpc/rtld-global-offsets.sym
48265         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48266         _dl_hwcap2 in the rtld_global_ro structure.
48268 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48270         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48271         hardware capabilities in support of AT_HWCAP2.
48272         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48273         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48274         GLRO(dl_hwcap2).
48275         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48276         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48277         explicitly the unknown a_type display mechanism is used.
48278         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48279         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48280         struct member.
48281         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48282         to macro prototype for AT_HWCAP2 support.
48283         * sysdeps/i386/dl-procinfo.h: Likewise.
48284         * sysdeps/s390/dl-procinfo.h: Likewise.
48285         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48286         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48287         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48288         return -1 for unknown a_type display fallback.
48289         * sysdeps/sparc/dl-procinfo.h: Likewise.
48290         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48291         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48293 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48295         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48296         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48298 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48300         [BZ #12492]
48301         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48302         mprotect making __stack_prot writable.
48304 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48305             Joseph Myers  <joseph@codesourcery.com>
48307         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48308         as being properly aligned.
48310 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48312         * dlfcn/modstatic5.c: New file.
48313         * dlfcn/tststatic5.c: New file.
48314         * dlfcn/Makefile (tests): Add tststatic5.
48315         (tests-static): Likewise.
48316         (modules-names): Add modstatic5.
48317         (tststatic5-ENV): New variable.
48318         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48320         [BZ #15022]
48321         * elf/dl-support.c (_dl_main_map): New variable.
48322         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48323         (_dl_nns, _dl_load_adds): Set to 1.
48324         (_dl_initial_searchlist): Refer to _dl_main_map.
48325         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48326         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48327         call to _dl_get_origin.
48328         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48329         around call_map.
48330         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48331         * dlfcn/modstatic3.c: New file.
48332         * dlfcn/tststatic3.c: New file.
48333         * dlfcn/tststatic4.c: New file.
48334         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48335         (tests-static): Likewise.
48336         (modules-names): Add modstatic3.
48337         (tststatic3-ENV, tststatic4-ENV): New variables.
48338         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48339         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48341 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48343         * configure.in (CC): Require GCC version 4.4 or later.
48344         * configure: Regenerated.
48345         * manual/install.texi (Tools for Compilation): Update GCC version
48346         requirement.
48347         * INSTALL: Regenerated.
48349 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48351         [BZ #15674]
48352         * string/test-memcmp.c (check2): New.
48353         (main): Call check2.
48355         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48357 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48359         [BZ #15022]
48360         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48361         over to...
48362         (dl_open_worker) [!SHARED]: ... here.
48364 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48366         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48368 2013-06-25  Richard Henderson  <rth@redhat.com>
48370         * locale/programs/locarchive.c: Include <libc-internal.h>
48372 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48374         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48375         trailing whitespace removed.
48377 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48379         [BZ #10283]
48380         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48381         * locale/programs/locarchive.c: Include libc-mmap.h.
48382         (prepare_address_space): Take two new outputs (the mmap base and len).
48383         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48384         values.
48385         (create_archive): Declare new mmap base and len values for
48386         prepare_address_space, and store the result in ah.
48387         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48388         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48389         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48390         Declare new mmap base and len values for
48391         prepare_address_space, and store the result in new_ah.
48392         (open_archive): Declare new mmap base and len values for
48393         prepare_address_space, and store the result in ah.
48394         (close_archive): If ah->mmap_base is not NULL, use that and
48395         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48396         * sysdeps/generic/libc-mmap.h: New file.
48398 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48400         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48401         (ALIGN_UP): Likewise.
48402         (PTR_ALIGN_DOWN): Likewise.
48403         (PTR_ALIGN_UP): Likewise.
48405 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48407         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48408         entry mapped to PPC_PLATFORM_POWER8.
48409         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48410         POWER8.
48411         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48412         (_dl_string_platform): Add case for exporting platform position for
48413         POWER8.
48414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48415         search path to sysdeps/powerpc/powerpc32/power8 directory.
48416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48417         search path to sysdeps/powerpc/powerpc64/power8 directory.
48418         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48419         power7 directories.
48420         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48421         power7 directories.
48423 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48425         * INSTALL: Regenerate.
48427         * nscd/connections.c (nscd_init): Fix comment.
48429 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48431         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48433         [BZ #15667]
48434         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48435         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48437 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48439         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48440         DL_DST_REQ_STATIC.
48441         (DL_DST_REQ_STATIC): Remove macro.
48443 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48445         [BZ #7006]
48446         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48447         with a shift of 0 bits.
48449 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48451         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48452         $(tststatic-ENV).
48454 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48456         [BZ #15655]
48457         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48459 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48461         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48462         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48463         accepts -fno-tree-loop-distribute-patterns.
48464         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48465         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48466         recursive call.
48467         * string/memset.c (memset): Likewise.
48468         * string/test-memmove.c (simple_memmove): Disable loop transformation
48469         to library calls.
48470         * string/test-memset.c (simple_memset): Likewise.
48471         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48472         * benchtests/bench-memset.c (simple_memset): Likewise.
48473         * configure: Regenerated.
48475 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48477         * math/test-misc.c (main): Ignore fesetround failure when failures
48478         of subsequent rounding tests would be ignored.
48480         [BZ #15654]
48481         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48482         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48483         * math/fegetenv.c (__fegetenv): Return 0.
48484         * math/fegetexcept.c (fegetexcept): Return 0.
48485         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48486         FE_TONEAREST.
48487         * math/feholdexcpt.c (feholdexcept): Return 0.
48488         * math/fesetenv.c (__fesetenv): Return 0.
48489         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48490         argument FE_TONEAREST.
48491         * math/feupdateenv.c (__feupdateenv): Return 0.
48492         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48494 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48496         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48497         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48498         ($(objpfx)rtld-%.os rules): Use them.
48500 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48502         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48503         fields.
48505 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48507         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48508         length of target pattern, then descending length of dependency pattern.
48509         * configure.in (AWK): Require gawk 3.1.2 or newer.
48510         * manual/install.texi (Tools for Compilation): Say that we do.
48511         * configure: Regenerated.
48513         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48514         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48515         * scripts/sysd-rules.awk: ... this new script.
48516         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48517         than a glob-style pattern.
48519 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48521         * math/test-misc.c (main): Do not treat incorrectly rounded
48522         conversions as failure unless ROUNDING_TESTS passes.
48524 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48526         [BZ #15631]
48527         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48528         restore exception state around main square root computation, then
48529         check for inexactness explicitly.
48531         * math/libm-test.inc (fma_test_data): Add another test.
48533 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48535         * manual/threads.texi (Non-POSIX Extensions): New document
48536         node.  Document pthread_getattr_default_np and
48537         pthread_setattr_default_np.
48539         * Versions.def (libpthread): Add GLIBC_2.18.
48540         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48542         Likewise.
48543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48544         Likewise.
48545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48546         Likewise.
48547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48548         Likewise.
48549         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48550         Likewise.
48551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48552         Likewise.
48553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48554         Likewise.
48555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48556         Likewise.
48557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48558         Likewise.
48560 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48563         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48565 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48566             H.J. Lu  <hjl.tools@gmail.com>
48568         [BZ #15627]
48569         * sysdeps/x86_64/rtld-memset.c: Remove file.
48570         * sysdeps/x86_64/rtld-memset.S: New file.
48572 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48574         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48575         (test_in_one_mode): Take arguments for whether the rounding mode
48576         is supported for each floating-point type.
48577         (do_test): Pass new arguments to test_in_one_mode using
48578         ROUNDING_TESTS.
48580 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48582         * posix/tst-waitid.c (do_test): Distinguish different instances of
48583         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48584         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48585         before entering the kernel for waitpid.
48587 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48589         * NEWS: Fix note on clock function precision.  Text by Roland
48590         McGrath.
48592 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48594         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48595         it into place only when and if the sanity check passes.
48597 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48599         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48600         output for whether conversion result is exact.  Take argument
48601         indicating whether type is IBM long double.
48602         (round_for_all): Change need_exact field to ibm_ld.
48603         * stdlib/tst-strtod-round.c (struct exactness): New type.
48604         (struct test): Change bool ld_ok field to struct exactness exact.
48605         (TEST): Update all definitions for change to field.
48606         (tests): Regenerate array contents.
48607         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48608         field value.  Check for IBM long double here.
48609         (do_test): Update calls to test_in_one_mode.
48611 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48613         [BZ #12515]
48614         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48615         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48617 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48619         [BZ #15605]
48620         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48621         generated by the compiler on loop optimizations.
48622         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48623         general definitions.
48625 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48627         * math/bug-nextafter.c: Include <math-tests.h>.
48628         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48629         the relevant type.
48630         * math/bug-nexttoward.c: Include <math-tests.h>.
48631         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48632         the relevant type.
48633         * math/test-misc.c: Include <math-tests.h>.
48634         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48635         the relevant type.
48637 2013-06-12  Andreas Jaeger  <aj@suse.de>
48639         * po/ia.po: Update Interlingua translation from translation
48640         project.
48642 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48644         * include/fenv.h: Include stdbool.h.
48645         (struct rm_ctx): New structure.
48646         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48647         Define macro.
48648         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48649         (SET_RESTORE_ROUNDF): Likewise.
48650         (SET_RESTORE_ROUNDL): Likewise.
48651         (SET_RESTORE_ROUND_NOEX): Likewise.
48652         (SET_RESTORE_ROUND_NOEXF): Likewise.
48653         (SET_RESTORE_ROUND_NOEXL): Likewise.
48654         (SET_RESTORE_ROUND_53BIT): Likewise.
48655         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48656         (libc_feresetround_noexf_ctx): Likewise.
48657         (libc_feresetround_noexl_ctx): Likewise.
48658         (libc_feholdsetround_53bit_ctx): Likewise.
48659         (libc_feresetround_53bit_ctx): Likewise.
48660         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48661         (libc_feholdexcept_setround_sse_ctx): New function.
48662         (libc_fesetenv_sse_ctx): Likewise.
48663         (libc_feupdateenv_sse_ctx): Likewise.
48664         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48665         (libc_feholdexcept_setround_387_ctx): Likewise.
48666         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48667         (libc_feholdsetround_387_prec_ctx): Likewise.
48668         (libc_feholdsetround_387_ctx): Likewise.
48669         (libc_feholdsetround_387_53bit_ctx): Likewise.
48670         (libc_feholdsetround_sse_ctx): Likewise.
48671         (libc_feresetround_sse_ctx): Likewise.
48672         (libc_feresetround_387_ctx): Likewise.
48673         (libc_feupdateenv_387_ctx): Likewise.
48674         (libc_feholdexcept_setroundf_ctx): Define macro.
48675         (libc_fesetenvf_ctx): Likewise.
48676         (libc_feupdateenvf_ctx): Likewise.
48677         (libc_feholdsetroundf_ctx): Likewise.
48678         (libc_feresetroundf_ctx): Likewise.
48679         (libc_feholdexcept_setround_ctx): Likewise.
48680         (libc_fesetenv_ctx): Likewise.
48681         (libc_feupdateenv_ctx): Likewise.
48682         (libc_feholdsetround_ctx): Likewise.
48683         (libc_feresetround_ctx): Likewise.
48684         (libc_feholdexcept_setroundl_ctx): Likewise.
48685         (libc_feupdateenvl_ctx): Likewise.
48686         (libc_feholdsetroundl_ctx): Likewise.
48687         (libc_feresetroundl_ctx): Likewise.
48688         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48689         (libc_feresetround_53bit_ctx): Likewise.
48691 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48693         * locale/iso-639.def: Convert to UTF-8.
48695 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48697         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48698         (EXCEPTION_TESTS_double): Likewise.
48699         (EXCEPTION_TESTS_long_double): Likewise.
48700         (EXCEPTION_TESTS): Likewise.
48701         * math/libm-test.inc (test_exceptions): Only test exceptions if
48702         EXCEPTION_TESTS (FLOAT).
48704 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48706         * benchtests/Makefile (string-bench): Add strcpy_chk and
48707         stpcpy_chk.
48708         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48709         * benchtests/bench-stpcpy_chk.c: New file.
48710         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48711         * benchtests/bench-strcpy_chk.c: New file.
48712         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48713         code.
48714         (do_test): Likewise.
48716 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48718         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48719         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48720         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48721         with tabs where appropriate.
48722         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48723         dl-procinfo.h.
48724         [PPC_PLATFORM_PPC440]: Likewise.
48725         [PPC_PLATFORM_PPC464]: Likewise.
48726         [PPC_PLATFORM_PPC476]: Likewise.
48727         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48728         ppc464, and ppc476 platform strings merging from ports/
48729         dl-procinfo.h.
48731 2013-06-11  Andreas Schwab  <schwab@suse.de>
48733         [BZ #14991]
48734         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48735         (from_ucs4_idx): Regenerate.
48736         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48737         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48738         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48739         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48740         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48741         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48742         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48743         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48744         from FROM_LOOP and TO_LOOP specific macros.
48745         (BODY): Handle combining characters.
48746         * iconvdata/BIG5HKSCS.irreversible: Update.
48747         * iconvdata/BIG5HKSCS.precomposed: New file.
48748         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48749         characters.
48750         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48752 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48754         * include/sys/time.h: Fix indentation and add copyright header.
48756         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48757         (do_test): Likewise.
48758         * string/test-memchr.c (do_one_test): Likewise.
48759         (do_test): Likewise.
48760         * string/test-memcmp.c (do_one_test): Likewise.
48761         (do_test): Likewise.
48762         * string/test-memcpy.c (do_one_test): Likewise.
48763         (do_test): Likewise.
48764         * string/test-memmem.c (do_one_test): Likewise.
48765         (do_test): Likewise.
48766         (do_random_tests): Likewise.
48767         * string/test-memmove.c (do_one_test): Likewise.
48768         (do_test): Likewise.
48769         * string/test-memset.c (do_one_test): Likewise.
48770         (do_test): Likewise.
48771         * string/test-rawmemchr.c (do_one_test): Likewise.
48772         (do_test): Likewise.
48773         * string/test-strcasecmp.c (do_one_test): Likewise.
48774         (do_test): Likewise.
48775         * string/test-strcasestr.c (do_one_test): Likewise.
48776         (do_test): Likewise.
48777         * string/test-strcat.c (do_one_test): Likewise.
48778         (do_test): Likewise.
48779         * string/test-strchr.c (do_one_test): Likewise.
48780         (do_test): Likewise.
48781         * string/test-strcmp.c (do_one_test): Likewise.
48782         (do_test): Likewise.
48783         * string/test-strcpy.c (do_one_test): Likewise.
48784         (do_test): Likewise.
48785         * string/test-string.h: Likewise.
48786         (test_init): Likewise.
48787         * string/test-strlen.c (do_one_test): Likewise.
48788         (do_test): Likewise.
48789         * string/test-strncasecmp.c (do_one_test): Likewise.
48790         (do_test): Likewise.
48791         * string/test-strncat.c (do_one_test): Likewise.
48792         (do_test): Likewise.
48793         * string/test-strncmp.c (do_one_test): Likewise.
48794         (do_test_limit): Likewise.
48795         (do_test): Likewise.
48796         * string/test-strncpy.c (do_one_test): Likewise.
48797         (do_test): Likewise.
48798         * string/test-strnlen.c (do_one_test): Likewise.
48799         (do_test): Likewise.
48800         * string/test-strpbrk.c (do_one_test): Likewise.
48801         (do_test): Likewise.
48802         * string/test-strrchr.c (do_one_test): Likewise.
48803         (do_test): Likewise.
48804         * string/test-strspn.c (do_one_test): Likewise.
48805         (do_test): Likewise.
48806         * string/test-strstr.c (do_one_test): Likewise.
48807         (do_test): Likewise.
48809         * benchtests/Makefile (string-bench): Add string benchmarks.
48810         * benchtests/bench-bcopy-ifunc.c: New file.
48811         * benchtests/bench-bcopy.c: New file.
48812         * benchtests/bench-bzero-ifunc.c: New file.
48813         * benchtests/bench-bzero.c: New file.
48814         * benchtests/bench-memccpy-ifunc.c: New file.
48815         * benchtests/bench-memccpy.c: New file.
48816         * benchtests/bench-memchr-ifunc.c: New file.
48817         * benchtests/bench-memchr.c: New file.
48818         * benchtests/bench-memcmp-ifunc.c: New file.
48819         * benchtests/bench-memcmp.c: New file.
48820         * benchtests/bench-memmem-ifunc.c: New file.
48821         * benchtests/bench-memmem.c: New file.
48822         * benchtests/bench-memmove-ifunc.c: New file.
48823         * benchtests/bench-memmove.c: New file.
48824         * benchtests/bench-mempcpy-ifunc.c: New file.
48825         * benchtests/bench-mempcpy.c: New file.
48826         * benchtests/bench-memset-ifunc.c: New file.
48827         * benchtests/bench-memset.c: New file.
48828         * benchtests/bench-rawmemchr-ifunc.c: New file.
48829         * benchtests/bench-rawmemchr.c: New file.
48830         * benchtests/bench-stpcpy-ifunc.c: New file.
48831         * benchtests/bench-stpcpy.c: New file.
48832         * benchtests/bench-stpncpy-ifunc.c: New file.
48833         * benchtests/bench-stpncpy.c: New file.
48834         * benchtests/bench-strcasecmp-ifunc.c: New file.
48835         * benchtests/bench-strcasecmp.c: New file.
48836         * benchtests/bench-strcasestr-ifunc.c: New file.
48837         * benchtests/bench-strcasestr.c: New file.
48838         * benchtests/bench-strcat-ifunc.c: New file.
48839         * benchtests/bench-strcat.c: New file.
48840         * benchtests/bench-strchr-ifunc.c: New file.
48841         * benchtests/bench-strchr.c: New file.
48842         * benchtests/bench-strchrnul-ifunc.c: New file.
48843         * benchtests/bench-strchrnul.c: New file.
48844         * benchtests/bench-strcmp-ifunc.c: New file.
48845         * benchtests/bench-strcmp.c: New file.
48846         * benchtests/bench-strcpy-ifunc.c: New file.
48847         * benchtests/bench-strcpy.c: New file.
48848         * benchtests/bench-strcspn-ifunc.c: New file.
48849         * benchtests/bench-strcspn.c: New file.
48850         * benchtests/bench-strlen-ifunc.c: New file.
48851         * benchtests/bench-strlen.c: New file.
48852         * benchtests/bench-strncasecmp-ifunc.c: New file.
48853         * benchtests/bench-strncasecmp.c: New file.
48854         * benchtests/bench-strncat-ifunc.c: New file.
48855         * benchtests/bench-strncat.c: New file.
48856         * benchtests/bench-strncmp-ifunc.c: New file.
48857         * benchtests/bench-strncmp.c: New file.
48858         * benchtests/bench-strncpy-ifunc.c: New file.
48859         * benchtests/bench-strncpy.c: New file.
48860         * benchtests/bench-strnlen-ifunc.c: New file.
48861         * benchtests/bench-strnlen.c: New file.
48862         * benchtests/bench-strpbrk-ifunc.c: New file.
48863         * benchtests/bench-strpbrk.c: New file.
48864         * benchtests/bench-strrchr-ifunc.c: New file.
48865         * benchtests/bench-strrchr.c: New file.
48866         * benchtests/bench-strspn-ifunc.c: New file.
48867         * benchtests/bench-strspn.c: New file.
48868         * benchtests/bench-strstr-ifunc.c: New file.
48869         * benchtests/bench-strstr.c: New file.
48871         * benchtests/Makefile: Disable parallel execution of targets.
48872         (string-bench): Add memcpy.
48873         (benchset): New variable to store a list of benchmark sets.
48874         (bench-func): Renamed from bench.
48875         (bench-set): New target.
48876         (bench): Depend on bench-func and bench-set.
48877         * benchtests/README: Add section on benchmark sets.
48878         * benchtests/bench-memcpy-ifunc.c: New file.
48879         * benchtests/bench-memcpy.c: New file.
48880         * benchtests/bench-string.h: New file.
48882 2013-06-11  Andreas Schwab  <schwab@suse.de>
48884         [BZ #15577]
48885         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48886         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48887         values in the triple.
48888         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48889         terminator in the group key.
48891 2013-06-11  Andreas Jaeger  <aj@suse.de>
48893         * po/zh_TW.po: Update Chinese (traditional) translation from
48894         translation project.
48896 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48898         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48899         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48900         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48901         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48902         (clock_getcpuclockid): Likewise.
48903         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48904         Add weak_alias and libc_hidden_def.
48905         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48906         * rt/clock_gettime.c (clock_gettime): Rename to
48907         __clock_gettime.  Add weak_alias and libc_hidden_def.
48908         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48909         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48910         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48911         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48912         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48913         Likewise.
48914         * rt/clock_settime.c (clock_settime): Rename to
48915         __clock_settime.  Add weak_alias and libc_hidden_def.
48916         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48918 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48920         * mach/err_boot.sub: Remove trailing whitespace.
48921         * mach/err_ipc.sub: Likewise.
48922         * mach/err_mach.sub: Likewise.
48924         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48925         (ROUNDING_TESTS_double): Likewise.
48926         (ROUNDING_TESTS_long_double): Likewise.
48927         (ROUNDING_TESTS): Likewise.
48928         * math/libm-test.inc: Include <math-tests.h>.
48929         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48930         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48931         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48932         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48934 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48936         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48937         of assigning.
48939 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48941         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48942         otherwise empty TRANS lines.
48943         * sysdeps/gnu/errlist.c: Regenerated.
48945         * catgets/gencat.c (error_print): Use (void) in function
48946         definition.
48947         * crypt/crypt_util.c (__init_des): Likewise.
48948         * crypt/speeds.c (Stop): Likewise.
48949         (main): Likewise.
48950         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48951         * inet/ruserpass.c (token): Likewise.
48952         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48953         * intl/localealias.c (extend_alias_table): Likewise.
48954         * intl/plural-exp.c (init_germanic_plural): Likewise.
48955         * libio/fcloseall.c (__fcloseall): Likewise.
48956         * libio/genops.c (_IO_flush_all): Likewise.
48957         (_IO_flush_all_linebuffered): Likewise.
48958         (_IO_cleanup): Likewise.
48959         (_IO_iter_begin): Likewise.
48960         (_IO_iter_end): Likewise.
48961         (_IO_list_lock): Likewise.
48962         (_IO_list_unlock): Likewise.
48963         (_IO_list_resetlock): Likewise.
48964         * libio/getchar.c (getchar): Likewise.
48965         * libio/getchar_u.c (getchar_unlocked): Likewise.
48966         * libio/getwchar.c (getwchar): Likewise.
48967         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48968         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48969         * login/getpt.c (__getpt): Likewise.
48970         * login/tst-utmp.c (main): Likewise.
48971         * malloc/hooks.c (__malloc_check_init): Likewise.
48972         * malloc/malloc.c (__malloc_stats): Likewise.
48973         * malloc/mtrace.c (tr_break): Likewise.
48974         (mtrace): Likewise.
48975         (muntrace): Likewise.
48976         * misc/fstab.c (endfsent): Likewise.
48977         * misc/getclktck.c (__getclktck): Likewise.
48978         * misc/getdtsz.c (__getdtablesize): Likewise.
48979         * misc/gethostid.c (gethostid): Likewise.
48980         * misc/getpagesize.c (__getpagesize): Likewise.
48981         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48982         (__get_nprocs): Likewise.
48983         (__get_phys_pages): Likewise.
48984         (__get_avphys_pages): Likewise.
48985         * misc/getttyent.c (getttyent): Likewise.
48986         (setttyent): Likewise.
48987         (endttyent): Likewise.
48988         * misc/getusershell.c (getusershell): Likewise.
48989         (endusershell): Likewise.
48990         (setusershell): Likewise.
48991         (initshells): Likewise.
48992         * misc/hsearch.c (__hdestroy): Likewise.
48993         * misc/sync.c (sync): Likewise.
48994         * misc/syslog.c (closelog_internal): Likewise.
48995         (closelog): Likewise.
48996         * misc/ttyslot.c (ttyslot): Likewise.
48997         * misc/vhangup.c (vhangup): Likewise.
48998         * posix/fork.c (__fork): Likewise.
48999         * posix/getegid.c (__getegid): Likewise.
49000         * posix/geteuid.c (__geteuid): Likewise.
49001         * posix/getgid.c (__getgid): Likewise.
49002         * posix/getpid.c (__getpid): Likewise.
49003         * posix/getppid.c (__getppid): Likewise.
49004         * posix/getuid.c (__getuid): Likewise.
49005         * posix/pause.c (pause): Likewise.
49006         * posix/setpgrp.c (setpgrp): Likewise.
49007         * posix/setsid.c (__setsid): Likewise.
49008         * posix/test-vfork.c (noop): Likewise.
49009         * resolv/gethnamaddr.c (_endhtent): Likewise.
49010         (_gethtent): Likewise.
49011         (ht_endhostent): Likewise.
49012         (gethostent): Likewise.
49013         (dns_service): Likewise.
49014         * stdlib/drand48.c (drand48): Likewise.
49015         * stdlib/lrand48.c (lrand48): Likewise.
49016         * stdlib/mrand48.c (mrand48): Likewise.
49017         * stdlib/rand.c (rand): Likewise.
49018         * stdlib/random.c (__random): Likewise.
49019         * stdlib/setenv.c (clearenv): Likewise.
49020         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49021         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49022         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49023         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49024         (__get_nprocs): Likewise.
49025         (__get_phys_pages): Likewise.
49026         (__get_avphys_pages): Likewise.
49027         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49028         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49029         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49030         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49031         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49032         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49033         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49034         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49035         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49036         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49037         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49038         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49039         * sysdeps/posix/clock.c (clock): Likewise.
49040         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49041         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49042         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49043         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49044         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49045         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49046         (__get_nprocs_conf): Likewise.
49047         (__get_phys_pages): Likewise.
49048         (__get_avphys_pages): Likewise.
49049         * time/clock.c (clock): Likewise.
49050         * time/tzset.c (__tzname_max): Likewise.
49052 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49054         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49055         (__bswap_32): Do not use "register".
49056         * crypt/crypt.c (_ufc_doit_r): Likewise.
49057         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49058         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49059         * gmon/gmon.c (__monstartup): Likewise.
49060         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49061         * hurd/hurdmalloc.c (more_memory): Likewise.
49062         (malloc): Likewise.
49063         (free): Likewise.
49064         (realloc): Likewise.
49065         (malloc_fork_prepare): Likewise.
49066         (malloc_fork_parent): Likewise.
49067         (malloc_fork_child): Likewise.
49068         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49069         (_svcauth_des): Likewise.
49070         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49071         * inet/inet_net.c (inet_network): Likewise.
49072         * inet/inet_netof.c (inet_netof): Likewise.
49073         * inet/rcmd.c (__validuser2_sa): Likewise.
49074         * io/fts.c (fts_open): Likewise.
49075         (fts_load): Likewise.
49076         (fts_close): Likewise.
49077         (fts_read): Likewise.
49078         (fts_children): Likewise.
49079         (fts_build): Likewise.
49080         (fts_stat): Likewise.
49081         (fts_sort): Likewise.
49082         (fts_alloc): Likewise.
49083         (fts_lfree): Likewise.
49084         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49085         (_IO_file_xsgetn): Likewise.
49086         (_IO_file_xsgetn_mmap): Likewise.
49087         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49088         (_IO_cookie_write): Likewise.
49089         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49090         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49091         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49092         * malloc/obstack.c (_obstack_begin): Likewise.
49093         (_obstack_begin_1): Likewise.
49094         (_obstack_newchunk): Likewise.
49095         (_obstack_allocated_p): Likewise.
49096         (obstack_free): Likewise.
49097         (_obstack_memory_used): Likewise.
49098         * misc/getttyent.c (getttynam): Likewise.
49099         (getttyent): Likewise.
49100         (skip): Likewise.
49101         (value): Likewise.
49102         * misc/getusershell.c (initshells): Likewise.
49103         * misc/syslog.c (__vsyslog_chk): Likewise.
49104         * misc/ttyslot.c (ttyslot): Likewise.
49105         * nis/nis_hash.c (__nis_hash): Likewise.
49106         * posix/fnmatch_loop.c (FCT): Likewise.
49107         * posix/getconf.c (print_all): Likewise.
49108         (main): Likewise.
49109         * posix/getopt.c (exchange): Likewise.
49110         * posix/glob.c (globfree): Likewise.
49111         (prefix_array): Likewise.
49112         (__glob_pattern_type): Likewise.
49113         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49114         (NS_GET32): Likewise.
49115         (NS_PUT16): Likewise.
49116         (NS_PUT32): Likewise.
49117         * resolv/gethnamaddr.c (getanswer): Likewise.
49118         (gethostbyname2): Likewise.
49119         (gethostbyaddr): Likewise.
49120         (_gethtent): Likewise.
49121         (_gethtbyname2): Likewise.
49122         (_gethtbyaddr): Likewise.
49123         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49124         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49125         * resolv/res_init.c (__res_vinit): Likewise.
49126         (net_mask): Likewise.
49127         * resolv/res_mkquery.c (outchar): Likewise.
49128         (PRINT): Likewise.
49129         * stdio-common/printf_fp.c (outchar): Likewise.
49130         (PRINT): Likewise.
49131         * stdio-common/printf_fphex.c (outchar): Likewise.
49132         (PRINT): Likewise.
49133         * stdio-common/printf_size.c (outchar): Likewise.
49134         (PRINT): Likewise.
49135         * stdio-common/test_rdwr.c (main): Likewise.
49136         * stdio-common/tfformat.c (matches): Likewise.
49137         * stdio-common/vfprintf.c (outchar): Likewise.
49138         (printf_unknown): Likewise.
49139         (buffered_vfprintf): Likewise.
49140         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49141         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49142         (ReadFile): Likewise.
49143         * stdlib/qsort.c (SWAP): Likewise.
49144         (_quicksort): Likewise.
49145         * stdlib/setenv.c (__add_to_environ): Likewise.
49146         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49147         * stdlib/strtol_l.c (__strtol_l): Likewise.
49148         * stdlib/tst-strtod.c (main): Likewise.
49149         * stdlib/tst-strtol.c (main): Likewise.
49150         * stdlib/tst-strtoll.c (main): Likewise.
49151         * string/bits/string2.h (__strcmp_cc): Likewise.
49152         (__strcmp_cg): Likewise.
49153         (__strcspn_c1): Likewise.
49154         (__strcspn_c2): Likewise.
49155         (__strcspn_c3): Likewise.
49156         (__strspn_c1): Likewise.
49157         (__strspn_c2): Likewise.
49158         (__strspn_c3): Likewise.
49159         (__strsep_1c): Likewise.
49160         (__strsep_2c): Likewise.
49161         (__strsep_3c): Likewise.
49162         * string/memccpy.c (__memccpy): Likewise.
49163         * string/stpcpy.c (__stpcpy): Likewise.
49164         * string/strcmp.c (strcmp): Likewise.
49165         * string/strrchr.c (strrchr): Likewise.
49166         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49167         Likewise.
49168         * sysdeps/mach/hurd/getcwd.c
49169         (_hurd_canonicalize_directory_name_internal): Likewise.
49170         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49171         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49172         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49173         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49174         Likewise, in both definitions.
49175         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49176         definitions.
49177         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49178         64] (__bswap_64): Likewise.
49179         * time/test_time.c (main): Likewise.
49180         * time/tzfile.c (__tzfile_read): Likewise.
49181         (__tzfile_compute): Likewise.
49182         * time/tzset.c (__tzset_parse_tz): Likewise.
49183         (tzset_internal): Likewise.
49184         (compute_change): Likewise.
49185         * wcsmbs/wcscat.c (__wcscat): Likewise.
49186         * wcsmbs/wcschr.c (wcschr): Likewise.
49187         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49188         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49189         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49190         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49191         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49192         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49193         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49194         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49195         * wcsmbs/wmemset.c (wmemset): Likewise.
49197 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49199         * scripts/config.guess: Update to version 2013-05-16.
49200         * scripts/config.sub: Update to version 2013-04-24.
49201         * scripts/install-sh: Update to version 2011-11-20.07.
49202         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49203         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49205 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49207         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49208         * elf/sln.c: Likewise.
49209         * hurd/hurd/ioctl.h: Likewise.
49210         * hurd/hurdmalloc.c: Likewise.
49211         * hurd/xattr.c: Likewise.
49212         * include/shlib-compat.h: Likewise.
49213         * inet/ruserpass.c: Likewise.
49214         * libio/iofgets_u.c: Likewise.
49215         * libio/iofgetws_u.c: Likewise.
49216         * locale/programs/ld-identification.c: Likewise.
49217         * locale/programs/ld-time.c: Likewise.
49218         * mach/msg-destroy.c: Likewise.
49219         * nss/nss_files/files-netgrp.c: Likewise.
49220         * resolv/res_data.c: Likewise.
49221         * soft-fp/op-1.h: Likewise.
49222         * soft-fp/op-2.h: Likewise.
49223         * soft-fp/op-4.h: Likewise.
49224         * soft-fp/op-common.h: Likewise.
49225         * stdio-common/printf_fphex.c: Likewise.
49226         * stdlib/strtod_l.c: Likewise.
49227         * sunrpc/rpc/clnt.h: Likewise.
49228         * sysdeps/generic/framestate.c: Likewise.
49229         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49230         * sysdeps/i386/bsd-setjmp.S: Likewise.
49231         * sysdeps/i386/__longjmp.S: Likewise.
49232         * sysdeps/i386/setjmp.S: Likewise.
49233         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49234         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49235         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49236         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49237         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49238         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49239         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49240         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49241         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49242         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49243         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49244         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49245         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49246         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49247         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49248         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49249         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49250         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49251         * sysdeps/ieee754/support.c: Likewise.
49252         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49253         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49254         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49255         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49256         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49257         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49258         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49259         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49260         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49261         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49262         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49263         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49264         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49265         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49266         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49267         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49268         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49271 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49273         * posix/transbug.c: Remove executable mode.
49275 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49277         * crypt/speeds.c: Remove trailing whitespace.
49278         * dlfcn/default.c: Likewise.
49279         * elf/ifuncdep2.c: Likewise.
49280         * elf/ifuncmain1.c: Likewise.
49281         * elf/ifuncmain1vis.c: Likewise.
49282         * elf/testobj.h: Likewise.
49283         * elf/tst-stackguard1.c: Likewise.
49284         * gmon/sys/gmon.h: Likewise.
49285         * hurd/hurdmsg.c: Likewise.
49286         * hurd/new-fd.c: Likewise.
49287         * hurd/ports-get.c: Likewise.
49288         * iconvdata/ibm1008_420.c: Likewise.
49289         * inet/tst-getni1.c: Likewise.
49290         * inet/tst-getni2.c: Likewise.
49291         * libio/ioungetc.c: Likewise.
49292         * libio/wfiledoalloc.c: Likewise.
49293         * manual/libm-err-tab.pl: Likewise.
49294         * math/w_dremf.c: Likewise.
49295         * misc/ftruncate.c: Likewise.
49296         * posix/bug-glob2.c: Likewise.
49297         * posix/tst-pcre.c: Likewise.
49298         * posix/wait4.c: Likewise.
49299         * resolv/README: Likewise.
49300         * resolv/res_debug.h: Likewise.
49301         * resolv/tst-inet_ntop.c: Likewise.
49302         * setjmp/bug269-setjmp.c: Likewise.
49303         * soft-fp/extended.h: Likewise.
49304         * soft-fp/op-1.h: Likewise.
49305         * soft-fp/op-2.h: Likewise.
49306         * soft-fp/op-4.h: Likewise.
49307         * soft-fp/op-8.h: Likewise.
49308         * soft-fp/testit.c: Likewise.
49309         * stdio-common/bug16.c: Likewise.
49310         * stdlib/random.c: Likewise.
49311         * sunrpc/rpcsvc/rquota.x: Likewise.
49312         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49313         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49314         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49315         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49316         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49317         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49318         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49319         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49320         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49321         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49322         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49323         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49324         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49325         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49326         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49327         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49328         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49329         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49330         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49331         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49332         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49333         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49334         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49335         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49336         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49337         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49338         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49339         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49340         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49341         * sysdeps/ieee754/s_lib_version.c: Likewise.
49342         * sysdeps/mach/hurd/check_fds.c: Likewise.
49343         * sysdeps/mach/hurd/getsockname.c: Likewise.
49344         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49345         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49346         * sysdeps/powerpc/bits/link.h: Likewise.
49347         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49348         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49349         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49350         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49351         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49352         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49353         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49354         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49355         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49356         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49357         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49358         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49359         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49360         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49361         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49362         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49363         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49364         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49365         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49366         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49367         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49368         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49369         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49370         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49371         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49372         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49373         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49374         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49375         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49376         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49377         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49378         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49379         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49380         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49381         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49382         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49383         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49384         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49385         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49386         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49387         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49388         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49389         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49390         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49391         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49392         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49393         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49394         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49395         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49396         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49397         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49398         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49399         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49400         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49401         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49402         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49403         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49404         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49405         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49406         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49407         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49408         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49409         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49410         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49411         * sysdeps/powerpc/sysdep.h: Likewise.
49412         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49413         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49414         * sysdeps/sh/dl-trampoline.S: Likewise.
49415         * sysdeps/sh/memset.S: Likewise.
49416         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49417         * sysdeps/sh/strlen.S: Likewise.
49418         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49419         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49420         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49421         * sysdeps/sparc/sparc32/rem.S: Likewise.
49422         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49423         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49424         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49425         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49426         * sysdeps/sparc/sparc32/urem.S: Likewise.
49427         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49428         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49429         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49430         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49431         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49432         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49433         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49434         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49435         * sysdeps/unix/bsd/times.c: Likewise.
49436         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49437         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49441         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49442         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49443         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49444         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49445         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49446         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49447         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49448         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49449         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49450         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49451         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49452         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49453         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49454         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49455         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49456         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49457         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49458         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49459         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49460         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49461         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49462         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49463         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49464         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49465         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49466         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49467         * sysdeps/x86_64/strcspn.S: Likewise.
49469 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49471         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49472         generated file.  Regenerate properly from gen-translit.pl.
49473         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49474         locale/C-translit.h.
49476 2013-06-05  Andreas Schwab  <schwab@suse.de>
49478         [BZ #15100]
49479         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49480         week as 6 instead of -1.
49481         * time/tst-strptime.c (day_tests): Add test case.
49483 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49485         * sysdeps/generic/math_private.h
49486         (libc_feholdexcept_setround_53bit): Replace with
49487         libc_feholdsetround_53bit.
49488         (libc_feupdateenv_53bit): Replace with
49489         libc_feresetround_53bit.
49490         (SET_RESTORE_ROUND_53BIT): Adjust.
49492 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49494         * string/test-strchrnul.c: Add copyright header.
49496         * posix/tst-getaddrinfo4.c: Increase test timeout.
49498 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49500         [BZ #15536]
49501         * math/libm-test.inc (MAX_EXP): Remove
49502         (MIN_EXP): Define.
49503         (ulp): Use MIN_EXP - MANT_DIG.
49504         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49506 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49508         * po/be.po: Revert last change.
49509         * po/zh_CN.po: Likewise.
49510         * po/header.pot: Likewise.
49512 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49514         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49515         link-libc-deps to empty as target-specific variable.
49516         * Makerules (link-libc-args): New variable.
49517         (libc-for-link): Likewise.
49518         (link-libc-deps): Likewise.
49519         (lib%.so): Depend on $(link-libc-deps).  Link with
49520         $(link-libc-args).
49521         (build-module): Link with $(link-libc-args).
49522         (build-module-asneeded): Likewise.
49523         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49524         list of objects.
49525         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49526         target-specific variable.
49527         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49528         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49529         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49530         libc.
49531         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49532         libc and ld.so.
49533         ($(objpfx)libpcprofile.so): Likewise.
49534         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49535         libc_nonshared.a.
49536         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49537         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49538         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49539         $(link-libc-deps).
49540         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49541         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49542         * login/Makefile ($(objpfx)libutil.so): Likewise.
49543         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49544         * math/Makefile ($(objpfx)libm.so): Likewise.
49545         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49546         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49547         variable instead of depending directly on libc.
49548         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49549         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49550         $(link-libc-deps).
49551         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49552         libc.
49553         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49554         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49555         ($(objpfx)libanl.so): Likewise.
49556         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49557         ld.so.
49558         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49559         $(link-libc-deps).
49560         * sysdeps/i386/fpu/Makefile: Remove file.
49561         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49562         ($(objpfx)libm.so): Remove dependency on ld.so.
49564 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49566         [BZ # 15553]
49567         * nis/yp_xdr.c (XDRMAXNAME): Define.
49568         (XDRMAXRECORD): Define.
49569         (xdr_domainname): Use XDRMAXNAME.
49570         (xdr_mapname): Likewise.
49571         (xdr_peername): Likewise.
49572         (xdr_keydat): Use XDRMAXRECORD.
49573         (xdr_valdat): Likewise.
49575 2013-05-30  Jeff Law  <law@redhat.com>
49577         [BZ #14256]
49578         * manual/errno.texi (ESTALE): Update to account for more than
49579         just NFS file systems.
49580         * sysdeps/gnu/errlist.c: Regenerated.
49582 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49584         [BZ #15465]
49585         * elf/Makefile (tests): Add tst-null-argv.
49586         (modules-names):  Add tst-null-argv-lib.
49587         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49588         (tst-null-argv-ENV): Set environment for tst-null-argv.
49589         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49590         (RTLD_PROGNAME): New macro.
49591         * elf/tst-null-argv.c: New test case.
49592         * elf/tst-null-argv-lib.c: Library for test case.
49593         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49594         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49595         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49596         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49597         * elf/dl-init.c (call_init): Likewise.
49598         (_dl_init): Likewise.
49599         * elf/dl-load.c (print_search_path): Likewise.
49600         (_dl_map_object): Likewise.
49601         * elf/dl-lookup.c (do_lookup_x): Likewise.
49602         (add_dependency): Likewise.
49603         (_dl_lookup_symbol_x): Likewise.
49604         (_dl_debug_bindings): Likewise.
49605         * elf/dl-open.c (_dl_show_scope): Likewise.
49606         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49607         * elf/dl-version.c (match_symbol): Likewise.
49608         (_dl_check_map_versions): Likewise.
49609         * elf/rtld.c (dl_main): Likewise.
49610         (print_unresolved): Use RTLD_PROGNAME.
49611         (print_missing_version): Likewise.
49612         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49613         (elf_machine_rela): Likewise.
49614         * sysdeps/powerpc/powerpc32/dl-machine.c
49615         (__process_machine_rela): Likewise.
49616         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49617         Likewise.
49618         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49619         Likewise.
49620         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49621         Likewise.
49622         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49623         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49624         Likewise.
49625         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49626         Likewise.
49627         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49629 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49631         * po/be.po: Add descriptive title.
49632         * po/zh_CN.po: Likewise.
49633         * po/header.pot: Likewise.
49635 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49637         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49638         error message.
49639         (enlarge_archive): Likewise.
49641 2013-05-28  Ben North  <ben@redfrontdoor.org>
49643         * manual/arith.texi (frexp): It is the magnitude of the return
49644         value which lies in [0.5, 1), not the return value itself.
49646 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49650 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49652         * stdio-common/bug26.c (main): Correct fscanf template.
49654         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49655         declare _dl_skip_args.
49657         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49658         Don't declare.
49660         * manual/platform.texi: Add missing @end deftypefun.
49662 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49664         [BZ #15529]
49665         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49666         bit of mantissa of 2^16382.
49667         * math/libm-test.inc (hypot_test_data): Add more tests.
49669         * math/libm-test.inc: Add drem and pow10 to list of tested
49670         functions.
49671         (pow10_test): New function.
49672         (drem_test): Likewise.
49673         (drem_test_tonearest): Likewise.
49674         (drem_test_towardzero): Likewise.
49675         (drem_test_downward): Likewise.
49676         (drem_test_upward): Likewise.
49677         (main): Call the new functions.
49679         * math/libm-test.inc (finite_test_data): Remove.
49680         (finite_test): Run tests from isfinite_test_data.
49681         (gamma_test_data): Remove.
49682         (gamma_test): Run tests from lgamma_test_data.
49683         * sysdeps/i386/fpu/libm-test-ulps: Update.
49684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49686 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49688         * manual/platform.texi: Add PowerPC PPR function set documentation.
49689         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49690         implementation.
49692 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49694         * math/libm-test.inc (MAX_EXP): Define.
49695         (ULPDIFF): Define.
49696         (ulp): New function.
49697         (check_float_internal): Use ULPDIFF.
49698         (cpow_test): Disable failing test.
49699         (check_ulp): Test ulp() implemetnation.
49700         (main): Call check_ulp before starting tests.
49702 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49704         * math/gen-libm-test.pl (generate_testfile): Do not handle
49705         START_DATA and END_DATA.
49706         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49707         END_DATA.
49708         (acos_tonearest_test_data): Likewise.
49709         (acos_towardzero_test_data): Likewise.
49710         (acos_downward_test_data): Likewise.
49711         (acos_upward_test_data): Likewise.
49712         (acosh_test_data): Likewise.
49713         (asin_test_data): Likewise.
49714         (asin_tonearest_test_data): Likewise.
49715         (asin_towardzero_test_data): Likewise.
49716         (asin_downward_test_data): Likewise.
49717         (asin_upward_test_data): Likewise.
49718         (asinh_test_data): Likewise.
49719         (atan_test_data): Likewise.
49720         (atanh_test_data): Likewise.
49721         (atan2_test_data): Likewise.
49722         (cabs_test_data): Likewise.
49723         (cacos_test_data): Likewise.
49724         (cacosh_test_data): Likewise.
49725         (carg_test_data): Likewise.
49726         (casin_test_data): Likewise.
49727         (casinh_test_data): Likewise.
49728         (catan_test_data): Likewise.
49729         (catanh_test_data): Likewise.
49730         (cbrt_test_data): Likewise.
49731         (ccos_test_data): Likewise.
49732         (ccosh_test_data): Likewise.
49733         (ceil_test_data): Likewise.
49734         (cexp_test_data): Likewise.
49735         (cimag_test_data): Likewise.
49736         (clog_test_data): Likewise.
49737         (clog10_test_data): Likewise.
49738         (conj_test_data): Likewise.
49739         (copysign_test_data): Likewise.
49740         (cos_test_data): Likewise.
49741         (cos_tonearest_test_data): Likewise.
49742         (cos_towardzero_test_data): Likewise.
49743         (cos_downward_test_data): Likewise.
49744         (cos_upward_test_data): Likewise.
49745         (cosh_test_data): Likewise.
49746         (cosh_tonearest_test_data): Likewise.
49747         (cosh_towardzero_test_data): Likewise.
49748         (cosh_downward_test_data): Likewise.
49749         (cosh_upward_test_data): Likewise.
49750         (cpow_test_data): Likewise.
49751         (cproj_test_data): Likewise.
49752         (creal_test_data): Likewise.
49753         (csin_test_data): Likewise.
49754         (csinh_test_data): Likewise.
49755         (csqrt_test_data): Likewise.
49756         (ctan_test_data): Likewise.
49757         (ctan_tonearest_test_data): Likewise.
49758         (ctan_towardzero_test_data): Likewise.
49759         (ctan_downward_test_data): Likewise.
49760         (ctan_upward_test_data): Likewise.
49761         (ctanh_test_data): Likewise.
49762         (ctanh_tonearest_test_data): Likewise.
49763         (ctanh_towardzero_test_data): Likewise.
49764         (ctanh_downward_test_data): Likewise.
49765         (ctanh_upward_test_data): Likewise.
49766         (erf_test_data): Likewise.
49767         (erfc_test_data): Likewise.
49768         (exp_test_data): Likewise.
49769         (exp_tonearest_test_data): Likewise.
49770         (exp_towardzero_test_data): Likewise.
49771         (exp_downward_test_data): Likewise.
49772         (exp_upward_test_data): Likewise.
49773         (exp10_test_data): Likewise.
49774         (exp2_test_data): Likewise.
49775         (expm1_test_data): Likewise.
49776         (fabs_test_data): Likewise.
49777         (fdim_test_data): Likewise.
49778         (finite_test_data): Likewise.
49779         (floor_test_data): Likewise.
49780         (fma_test_data): Likewise.
49781         (fma_towardzero_test_data): Likewise.
49782         (fma_downward_test_data): Likewise.
49783         (fma_upward_test_data): Likewise.
49784         (fmax_test_data): Likewise.
49785         (fmin_test_data): Likewise.
49786         (fmod_test_data): Likewise.
49787         (fpclassify_test_data): Likewise.
49788         (frexp_test_data): Likewise.
49789         (gamma_test_data): Likewise.
49790         (hypot_test_data): Likewise.
49791         (ilogb_test_data): Likewise.
49792         (isfinite_test_data): Likewise.
49793         (isgreater_test_data): Likewise.
49794         (isgreaterequal_test_data): Likewise.
49795         (isinf_test_data): Likewise.
49796         (isless_test_data): Likewise.
49797         (islessequal_test_data): Likewise.
49798         (islessgreater_test_data): Likewise.
49799         (isnan_test_data): Likewise.
49800         (isnormal_test_data): Likewise.
49801         (issignaling_test_data): Likewise.
49802         (isunordered_test_data): Likewise.
49803         (j0_test_data): Likewise.
49804         (j1_test_data): Likewise.
49805         (jn_test_data): Likewise.
49806         (ldexp_test_data): Likewise.
49807         (lgamma_test_data): Likewise.
49808         (lrint_test_data): Likewise.
49809         (lrint_tonearest_test_data): Likewise.
49810         (lrint_towardzero_test_data): Likewise.
49811         (lrint_downward_test_data): Likewise.
49812         (lrint_upward_test_data): Likewise.
49813         (llrint_test_data): Likewise.
49814         (llrint_tonearest_test_data): Likewise.
49815         (llrint_towardzero_test_data): Likewise.
49816         (llrint_downward_test_data): Likewise.
49817         (llrint_upward_test_data): Likewise.
49818         (log_test_data): Likewise.
49819         (log10_test_data): Likewise.
49820         (log1p_test_data): Likewise.
49821         (log2_test_data): Likewise.
49822         (logb_test_data): Likewise.
49823         (logb_downward_test_data): Likewise.
49824         (lround_test_data): Likewise.
49825         (llround_test_data): Likewise.
49826         (modf_test_data): Likewise.
49827         (nearbyint_test_data): Likewise.
49828         (nextafter_test_data): Likewise.
49829         (nexttoward_test_data): Likewise.
49830         (pow_test_data): Likewise.
49831         (pow_tonearest_test_data): Likewise.
49832         (pow_towardzero_test_data): Likewise.
49833         (pow_downward_test_data): Likewise.
49834         (pow_upward_test_data): Likewise.
49835         (remainder_test_data): Likewise.
49836         (remainder_tonearest_test_data): Likewise.
49837         (remainder_towardzero_test_data): Likewise.
49838         (remainder_downward_test_data): Likewise.
49839         (remainder_upward_test_data): Likewise.
49840         (remquo_test_data): Likewise.
49841         (rint_test_data): Likewise.
49842         (rint_tonearest_test_data): Likewise.
49843         (rint_towardzero_test_data): Likewise.
49844         (rint_downward_test_data): Likewise.
49845         (rint_upward_test_data): Likewise.
49846         (round_test_data): Likewise.
49847         (scalb_test_data): Likewise.
49848         (scalbn_test_data): Likewise.
49849         (scalbln_test_data): Likewise.
49850         (signbit_test_data): Likewise.
49851         (sin_test_data): Likewise.
49852         (sin_tonearest_test_data): Likewise.
49853         (sin_towardzero_test_data): Likewise.
49854         (sin_downward_test_data): Likewise.
49855         (sin_upward_test_data): Likewise.
49856         (sincos_test_data): Likewise.
49857         (sinh_test_data): Likewise.
49858         (sinh_tonearest_test_data): Likewise.
49859         (sinh_towardzero_test_data): Likewise.
49860         (sinh_downward_test_data): Likewise.
49861         (sinh_upward_test_data): Likewise.
49862         (sqrt_test_data): Likewise.
49863         (tan_test_data): Likewise.
49864         (tan_tonearest_test_data): Likewise.
49865         (tan_towardzero_test_data): Likewise.
49866         (tan_downward_test_data): Likewise.
49867         (tan_upward_test_data): Likewise.
49868         (tanh_test_data): Likewise.
49869         (tgamma_test_data): Likewise.
49870         (trunc_test_data): Likewise.
49871         (y0_test_data): Likewise.
49872         (y1_test_data): Likewise.
49873         (yn_test_data): Likewise.
49874         (significand_test_data): Likewise.
49876         * math/gen-libm-test.pl (@functions): Remove variable.
49877         (generate_testfile): Don't handle START and END lines.
49878         * math/libm-test.inc (START): New macro.
49879         (END): Likewise.
49880         (END_COMPLEX): Likewise.
49881         (acos_test): Use END macro without arguments.
49882         (acos_test_tonearest): Likewise.
49883         (acos_test_towardzero): Likewise.
49884         (acos_test_downward): Likewise.
49885         (acos_test_upward): Likewise.
49886         (acosh_test): Likewise.
49887         (asin_test): Likewise.
49888         (asin_test_tonearest): Likewise.
49889         (asin_test_towardzero): Likewise.
49890         (asin_test_downward): Likewise.
49891         (asin_test_upward): Likewise.
49892         (asinh_test): Likewise.
49893         (atan_test): Likewise.
49894         (atanh_test): Likewise.
49895         (atan2_test): Likewise.
49896         (cabs_test): Likewise.
49897         (cacos_test): Use END_COMPLEX macro without arguments.
49898         (cacosh_test): Likewise.
49899         (carg_test): Use END macro without arguments.
49900         (casin_test): Use END_COMPLEX macro without arguments.
49901         (casinh_test): Likewise.
49902         (catan_test): Likewise.
49903         (catanh_test): Likewise.
49904         (cbrt_test): Use END macro without arguments.
49905         (ccos_test): Use END_COMPLEX macro without arguments.
49906         (ccosh_test): Likewise.
49907         (ceil_test): Use END macro without arguments.
49908         (cexp_test): Use END_COMPLEX macro without arguments.
49909         (cimag_test): Use END macro without arguments.
49910         (clog_test): Use END_COMPLEX macro without arguments.
49911         (clog10_test): Likewise.
49912         (conj_test): Likewise.
49913         (copysign_test): Use END macro without arguments.
49914         (cos_test): Likewise.
49915         (cos_test_tonearest): Likewise.
49916         (cos_test_towardzero): Likewise.
49917         (cos_test_downward): Likewise.
49918         (cos_test_upward): Likewise.
49919         (cosh_test): Likewise.
49920         (cosh_test_tonearest): Likewise.
49921         (cosh_test_towardzero): Likewise.
49922         (cosh_test_downward): Likewise.
49923         (cosh_test_upward): Likewise.
49924         (cpow_test): Use END_COMPLEX macro without arguments.
49925         (cproj_test): Likewise.
49926         (creal_test): Use END macro without arguments.
49927         (csin_test): Use END_COMPLEX macro without arguments.
49928         (csinh_test): Likewise.
49929         (csqrt_test): Likewise.
49930         (ctan_test): Likewise.
49931         (ctan_test_tonearest): Likewise.
49932         (ctan_test_towardzero): Likewise.
49933         (ctan_test_downward): Likewise.
49934         (ctan_test_upward): Likewise.
49935         (ctanh_test): Likewise.
49936         (ctanh_test_tonearest): Likewise.
49937         (ctanh_test_towardzero): Likewise.
49938         (ctanh_test_downward): Likewise.
49939         (ctanh_test_upward): Likewise.
49940         (erf_test): Use END macro without arguments.
49941         (erfc_test): Likewise.
49942         (exp_test): Likewise.
49943         (exp_test_tonearest): Likewise.
49944         (exp_test_towardzero): Likewise.
49945         (exp_test_downward): Likewise.
49946         (exp_test_upward): Likewise.
49947         (exp10_test): Likewise.
49948         (exp2_test): Likewise.
49949         (expm1_test): Likewise.
49950         (fabs_test): Likewise.
49951         (fdim_test): Likewise.
49952         (finite_test): Likewise.
49953         (floor_test): Likewise.
49954         (fma_test): Likewise.
49955         (fma_test_towardzero): Likewise.
49956         (fma_test_downward): Likewise.
49957         (fma_test_upward): Likewise.
49958         (fmax_test): Likewise.
49959         (fmin_test): Likewise.
49960         (fmod_test): Likewise.
49961         (fpclassify_test): Likewise.
49962         (frexp_test): Likewise.
49963         (gamma_test): Likewise.
49964         (hypot_test): Likewise.
49965         (ilogb_test): Likewise.
49966         (isfinite_test): Likewise.
49967         (isgreater_test): Likewise.
49968         (isgreaterequal_test): Likewise.
49969         (isinf_test): Likewise.
49970         (isless_test): Likewise.
49971         (islessequal_test): Likewise.
49972         (islessgreater_test): Likewise.
49973         (isnan_test): Likewise.
49974         (isnormal_test): Likewise.
49975         (issignaling_test): Likewise.
49976         (isunordered_test): Likewise.
49977         (j0_test): Likewise.
49978         (j1_test): Likewise.
49979         (jn_test): Likewise.
49980         (ldexp_test): Likewise.
49981         (lgamma_test): Likewise.
49982         (lrint_test): Likewise.
49983         (lrint_test_tonearest): Likewise.
49984         (lrint_test_towardzero): Likewise.
49985         (lrint_test_downward): Likewise.
49986         (lrint_test_upward): Likewise.
49987         (llrint_test): Likewise.
49988         (llrint_test_tonearest): Likewise.
49989         (llrint_test_towardzero): Likewise.
49990         (llrint_test_downward): Likewise.
49991         (llrint_test_upward): Likewise.
49992         (log_test): Likewise.
49993         (log10_test): Likewise.
49994         (log1p_test): Likewise.
49995         (log2_test): Likewise.
49996         (logb_test): Likewise.
49997         (logb_test_downward): Likewise.
49998         (lround_test): Likewise.
49999         (llround_test): Likewise.
50000         (modf_test): Likewise.
50001         (nearbyint_test): Likewise.
50002         (nextafter_test): Likewise.
50003         (nexttoward_test): Likewise.
50004         (pow_test): Likewise.
50005         (pow_test_tonearest): Likewise.
50006         (pow_test_towardzero): Likewise.
50007         (pow_test_downward): Likewise.
50008         (pow_test_upward): Likewise.
50009         (remainder_test): Likewise.
50010         (remainder_test_tonearest): Likewise.
50011         (remainder_test_towardzero): Likewise.
50012         (remainder_test_downward): Likewise.
50013         (remainder_test_upward): Likewise.
50014         (remquo_test): Likewise.
50015         (rint_test): Likewise.
50016         (rint_test_tonearest): Likewise.
50017         (rint_test_towardzero): Likewise.
50018         (rint_test_downward): Likewise.
50019         (rint_test_upward): Likewise.
50020         (round_test): Likewise.
50021         (scalb_test): Likewise.
50022         (scalbn_test): Likewise.
50023         (scalbln_test): Likewise.
50024         (signbit_test): Likewise.
50025         (sin_test): Likewise.
50026         (sin_test_tonearest): Likewise.
50027         (sin_test_towardzero): Likewise.
50028         (sin_test_downward): Likewise.
50029         (sin_test_upward): Likewise.
50030         (sincos_test): Likewise.
50031         (sinh_test): Likewise.
50032         (sinh_test_tonearest): Likewise.
50033         (sinh_test_towardzero): Likewise.
50034         (sinh_test_downward): Likewise.
50035         (sinh_test_upward): Likewise.
50036         (sqrt_test): Likewise.
50037         (tan_test): Likewise.
50038         (tan_test_tonearest): Likewise.
50039         (tan_test_towardzero): Likewise.
50040         (tan_test_downward): Likewise.
50041         (tan_test_upward): Likewise.
50042         (tanh_test): Likewise.
50043         (tgamma_test): Likewise.
50044         (trunc_test): Likewise.
50045         (y0_test): Likewise.
50046         (y1_test): Likewise.
50047         (yn_test): Likewise.
50048         (significand_test): Likewise.
50050 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50052         [BZ #15381]
50053         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50055 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50057         [BZ #14894]
50058         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50059         __ppc_mdoio and __ppc_mdoom.
50060         * manual/platform.texi: Document new functions __ppc_yield,
50061         __ppc_mdoio and __ppc_mdoom.
50063 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50065         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50066         (main): Mention "tls" pseudo-hwcap is legacy.
50067         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50069 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50071         * math/gen-libm-test.pl (parse_args): Output only string of
50072         arguments as text for test name, not full call or descriptions of
50073         tests for extra outputs.
50074         (generate_testfile): Do not pass function name to parse_args.
50075         Generate this_func variable from START.
50076         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50077         field to arg_str.
50078         (struct test_ff_f_data): Likewise.
50079         (test_ff_f_data_nexttoward): Likewise.
50080         (struct test_fi_f_data): Likewise.
50081         (struct test_fl_f_data): Likewise.
50082         (struct test_if_f_data): Likewise.
50083         (struct test_fff_f_data): Likewise.
50084         (struct test_c_f_data): Likewise.
50085         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50086         (struct test_fF_f1_data): Likewise.
50087         (struct test_ffI_f1_data): Likewise.
50088         (struct test_c_c_data): Rename test_name field to arg_str.
50089         (struct test_cc_c_data): Likewise.
50090         (struct test_f_i_data): Likewise.
50091         (struct test_ff_i_data): Likewise.
50092         (struct test_f_l_data): Likewise.
50093         (struct test_f_L_data): Likewise.
50094         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50095         and extra2_name.
50096         (COMMON_TEST_SETUP): New macro.
50097         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50098         (COMMON_TEST_CLEANUP): Likewise.
50099         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50100         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50101         macros.
50102         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50103         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50104         macros.
50105         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50106         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50107         cleanup macros.
50108         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50109         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50110         macros.
50111         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50112         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50113         macros.
50114         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50115         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50116         cleanup macros.
50117         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50118         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50119         cleanup macros.
50120         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50121         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50122         cleanup macros.
50123         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50124         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50125         macros.
50126         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50127         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50128         macros.
50129         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50130         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50131         macros.
50132         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50133         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50134         cleanup macros.
50135         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50136         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50137         cleanup macros.
50138         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50139         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50140         macros.
50141         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50142         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50143         cleanup macros.
50144         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50145         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50146         macros.
50147         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50148         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50149         macros.
50150         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50151         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50152         cleanup macros.
50153         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50155 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50157         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50158         to _sifields.sigfault.
50159         (si_addr_lsb): Define new macro.
50160         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50161         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50162         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50164 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50166         [BZ #15441]
50167         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50168         returns -1.
50169         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50170         null return -1.
50171         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50172         loading the domain.
50174 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50176         * math/gen-libm-test.pl (parse_args): Do not include expected
50177         result in test name.
50178         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50179         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50180         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50181         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50182         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50185 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50187         * benchtests/Makefile: Sort function entries.
50189         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50190         tanh, asinh, acosh, atanh.
50191         * benchtests/acos-inputs: New file.
50192         * benchtests/acosh-inputs: New file.
50193         * benchtests/asin-inputs: New file.
50194         * benchtests/asinh-inputs: New file.
50195         * benchtests/atanh-inputs: New file.
50196         * benchtests/cosh-inputs: New file.
50197         * benchtests/log-inputs: New file.
50198         * benchtests/sinh-inputs: New file.
50199         * benchtests/tanh-inputs: New file.
50201 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50203         [BZ #15339]
50204         * posix/tst-getaddrinfo4.c: New test.
50205         * posix/Makefile (tests): Add it.
50207 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50209         [BZ #15339]
50210         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50211         when no services were used.
50212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50213         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50215 2013-05-21  Andreas Schwab  <schwab@suse.de>
50217         [BZ #15014]
50218         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50219         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50220         successful.
50221         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50222         redundant variable declarations and reallocation of buffer when
50223         parsing as IPv6 address.  Always set NSS status when called from
50224         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50225         buffer too small.  Correct computation of needed size.
50226         * nss/Makefile (tests): Add test-digits-dots.
50227         * nss/test-digits-dots.c: New test.
50229 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50231         * benchtests/Makefile: Remove instructions for adding
50232         benchmark tests.
50233         * benchtests/README: New file to explain how to execute and
50234         enhance the benchmark tests.
50236 2013-05-21  Andreas Schwab  <schwab@suse.de>
50238         [BZ #15493]
50239         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50240         * setjmp/tst-sigsetjmp.c: New test.
50242 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50244         * sysdeps/x86_64/memset.S (memset): New implementation.
50245         (__bzero): Likewise.
50246         (__memset_tail): New function.
50248 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50250         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50251         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50252         __memcpy_sse2_unaligned ifunc selection.
50253         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50254         Add memcpy-sse2-unaligned.S.
50255         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50256         Add: __memcpy_sse2_unaligned.
50258 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50260         [BZ #15490]
50261         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50262         math_force_eval before restoring floating-point envrionment.
50263         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50264         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50265         Likewise.
50266         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50267         <math_private.h>.
50268         (__nearbyintl): Use math_force_eval before restoring
50269         floating-point environment.
50270         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50272         * math/gen-libm-test.pl (special_functions): Remove.
50273         (parse_args): Don't handle TEST_extra.  Handle functions with no
50274         return value.
50275         * math/libm-test.inc (struct test_sincos_data): Replace with
50276         struct test_fFF_11_data.
50277         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50278         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50279         (sincos_test_data): Change element type to struct
50280         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50281         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50282         RUN_TEST_LOOP_sincos.
50283         * math/README.libm-test: Don't mention special handling of
50284         individual functions.
50285         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50286         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50287         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50288         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50289         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50292         * math/gen-libm-test.pl (get_variable): Remove function.
50293         (parse_args): Don't show pointer parameters to call in test
50294         names.  Use "extra output N" in test names for extra outputs
50295         rather than naming variables.
50297 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50299         [BZ #15488]
50300         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50301         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50302         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50303         double tests.
50304         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50305         disable.
50306         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50307         check_long_double.
50309         * math/gen-libm-test.pl (@tests): Remove variable.
50310         ($count): Likewise.
50311         (new_test): Remove function.
50312         (show_exceptions): New function.
50313         (special_functions): Use show_exceptions instead of new_test.
50314         (parse_args): Likewise.
50315         (generate_testfile): Pass only function name in generated call to
50316         print_max_error or print_complex_max_error.
50317         (get_ulps): Do not handle complex tests specially.
50318         (output_test): Rename to ...
50319         (get_all_ulps_for_test): ... this.  Return a string rather than
50320         printing to a file.  Require ulps to be present.
50321         (output_ulps): Generate arrays rather than #defines.
50322         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50323         (struct ulp_data): New type.
50324         (BUILD_COMPLEX_ULP): Remove macro.
50325         (compare_ulp_data): New function.
50326         (find_ulps): Likewise.
50327         (find_test_ulps): Likewise.
50328         (find_function_ulps): Likewise.
50329         (find_complex_function_ulps): Likewise.
50330         (print_max_error): Determine allowed ulps using
50331         find_function_ulps.
50332         (print_complex_max_error): Determine allowed ulps using
50333         find_complex_function_ulps.
50334         (check_float_internal): Determine max ulps using find_test_ulps.
50335         (check_float): Do not take max_ulp parameter.  Update call to
50336         check_float_internal.
50337         (check_complex): Likewise.
50338         (check_int): Do not take max_ulp parameter.
50339         (check_long): Likewise.
50340         (check_bool): Likewise.
50341         (check_longlong): Likewise.
50342         (struct test_f_f_data): Remove max_ulp field.
50343         (struct test_ff_f_data): Likewise.
50344         (struct test_ff_f_data_nexttoward): Likewise.
50345         (struct test_fi_f_data): Likewise.
50346         (struct test_fl_f_data): Likewise.
50347         (struct test_if_f_data): Likewise.
50348         (struct test_fff_f_data): Likewise.
50349         (struct test_c_f_data): Likewise.
50350         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50351         (struct test_fF_f1_data): Likewise.
50352         (struct test_ffI_f1_data): Likewise.
50353         (struct test_c_c_data): Remove max_ulp field.
50354         (struct test_cc_c_data): Likewise.
50355         (struct test_f_i_data): Likewise.
50356         (struct test_ff_i_data): Likewise.
50357         (struct test_f_l_data): Likewise.
50358         (struct test_f_L_data): Likewise.
50359         (struct test_sincos_data): Likewise.
50360         (RUN_TEST_f_f): Do not handle ulps.
50361         (RUN_TEST_LOOP_f_f): Likewise.
50362         (RUN_TEST_2_f): Likewise.
50363         (RUN_TEST_LOOP_2_f): Likewise.
50364         (RUN_TEST_fff_f): Likewise.
50365         (RUN_TEST_LOOP_fff_f): Likewise.
50366         (RUN_TEST_c_f): Likewise.
50367         (RUN_TEST_LOOP_c_f): Likewise.
50368         (RUN_TEST_f_f1): Likewise.
50369         (RUN_TEST_LOOP_f_f1): Likewise.
50370         (RUN_TEST_fF_f1): Likewise.
50371         (RUN_TEST_LOOP_fF_f1): Likewise.
50372         (RUN_TEST_fI_f1): Likewise.
50373         (RUN_TEST_LOOP_fI_f1): Likewise.
50374         (RUN_TEST_ffI_f1): Likewise.
50375         (RUN_TEST_LOOP_ffI_f1): Likewise.
50376         (RUN_TEST_c_c): Likewise.
50377         (RUN_TEST_LOOP_c_c): Likewise.
50378         (RUN_TEST_cc_c): Likewise.
50379         (RUN_TEST_LOOP_cc_c): Likewise.
50380         (RUN_TEST_f_i): Likewise.
50381         (RUN_TEST_LOOP_f_i): Likewise.
50382         (RUN_TEST_f_i_tg): Likewise.
50383         (RUN_TEST_LOOP_f_i_tg): Likewise.
50384         (RUN_TEST_ff_i_tg): Likewise.
50385         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50386         (RUN_TEST_f_b): Likewise.
50387         (RUN_TEST_LOOP_f_b): Likewise.
50388         (RUN_TEST_f_b_tg): Likewise.
50389         (RUN_TEST_LOOP_f_b_tg): Likewise.
50390         (RUN_TEST_f_l): Likewise.
50391         (RUN_TEST_LOOP_f_l): Likewise.
50392         (RUN_TEST_f_L): Likewise.
50393         (RUN_TEST_LOOP_f_L): Likewise.
50394         (RUN_TEST_sincos): Likewise.
50395         (RUN_TEST_LOOP_sincos): Likewise.
50397 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50399         [BZ #15480]
50400         [BZ #15485]
50401         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50402         main case of finite arguments, set rounding mode to FE_TONEAREST
50403         and discard exceptions.
50404         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50405         exceptions.
50406         (remainder_tonearest_test_data): New variable.
50407         (remainder_test_tonearest): New function.
50408         (remainder_towardzero_test_data): New variable.
50409         (remainder_test_towardzero): New function.
50410         (remainder_downward_test_data): New variable.
50411         (remainder_test_downward): New function.
50412         (remainder_upward_test_data): New variable.
50413         (remainder_test_upward): New function.
50414         (main): Call the new test functions.
50416         * math/libm-test.inc (struct test_f_f1_data): Remove field
50417         extra_init.
50418         (struct test_fF_f1_data): Likewise.
50419         (struct test_ffI_f1_data): Likewise.
50420         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50421         based on value of EXTRA_EXPECTED.
50422         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50423         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50424         EXTRA_VAR based on value of EXTRA_EXPECTED.
50425         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50426         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50427         EXTRA_VAR based on value of EXTRA_EXPECTED.
50428         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50429         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50430         EXTRA_VAR based on value of EXTRA_EXPECTED.
50431         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50432         * math/gen-libm-test.pl (parse_args): Don't output initializers
50433         for extra output values.
50435         * math/libm-test.inc (check_int): Expect result to be exactly
50436         equal to expected value and do not handle ulps.
50437         (check_long): Likewise.
50438         (check_longlong): Likewise.
50440         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50441         exceptions.
50442         (cimag_test_data): Likewise.
50443         (conj_test_data): Likewise.
50444         (copysign_test_data): Likewise.
50445         (cproj_test_data): Likewise.
50446         (creal_test_data): Likewise.
50447         (fabs_test_data): Likewise.
50448         (fdim_test_data): Likewise.
50449         (finite_test_data): Likewise.
50450         (floor_test_data): Likewise.
50451         (fmax_test_data): Likewise.
50452         (fmin_test_data): Likewise.
50453         (fmod_test_data): Likewise.
50454         (fpclassify_test_data): Likewise.
50455         (frexp_test_data): Likewise.
50456         (ilogb_test_data): Likewise.
50457         (isfinite_test_data): Likewise.
50458         (isgreater_test_data): Likewise.
50459         (isgreaterequal_test_data): Likewise.
50460         (isinf_test_data): Likewise.
50461         (isless_test_data): Likewise.
50462         (islessequal_test_data): Likewise.
50463         (islessgreater_test_data): Likewise.
50464         (isnan_test_data): Likewise.
50465         (isnormal_test_data): Likewise.
50466         (issignaling_test_data): Likewise.
50467         (isunordered_test_data): Likewise.
50468         (ldexp_test_data): Likewise.
50469         (lrint_test_data): Likewise.
50470         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50471         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50472         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50473         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50474         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50475         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50476         test input.
50477         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50478         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50479         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50480         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50481         that test input.
50482         (lrint_downward_test_data): Test for "inexact" exceptions.
50483         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50484         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50485         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50486         test input.
50487         (lrint_upward_test_data): Test for "inexact" exceptions.
50488         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50489         test input.
50490         (llrint_test_data): Test for "inexact" exceptions.
50491         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50492         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50493         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50494         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50495         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50496         (llrint_downward_test_data): Test for "inexact" exceptions.
50497         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50498         (llrint_upward_test_data): Test for "inexact" exceptions.
50499         (logb_test_data): Likewise.
50500         (logb_downward_test_data): Likewise.
50501         (nextafter_test_data): Likewise.
50502         (nexttoward_test_data): Likewise.
50503         (remainder_test_data): Likewise.
50504         (remquo_test_data): Likewise.
50505         (scalbn_test_data): Likewise.
50506         (scalbln_test_data): Likewise.
50507         (signbit_test_data): Likewise.
50508         (sqrt_test_data): Likewise.
50509         (significand_test_data): Likewise.
50511 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50513         [BZ #15424]
50514         * benchtests/bench-modf.c (struct args): Mark arg0 as
50515         volatile.
50516         * scripts/bench.pl: Mark members of struct args as volatile.
50518 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50520         [BZ # 15497]
50521         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50522         negative infinity on POWER6 or lower.
50523         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50525 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50527         [BZ #15442]
50528         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50529         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50530         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50531         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50532         (_FP_SETQNAN): New macro.
50533         (_FP_SETQNAN_SEMIRAW): Likewise.
50534         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50535         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50536         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50537         (FP_EXTEND): Use _FP_FRAC_SNANP.
50538         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50539         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50540         into account.
50541         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50542         New macro.
50543         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50544         Likewise.
50546 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50548         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50549         with DIVIDE_BY_ZERO_EXCEPTION.
50550         (gamma_test_data): Likewise.
50551         (lgamma_test_data): Likewise.
50552         (log_test_data): Likewise.
50553         (log10_test_data): Likewise.
50554         (log2_test_data): Likewise.
50555         (tgamma_test_data): Likewise.
50557         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50558         (acos_test_tonearest): Likewise.
50559         (acos_test_towardzero): Likewise.
50560         (acos_test_downward): Likewise.
50561         (acos_test_upward): Likewise.
50562         (acosh_test): Likewise.
50563         (asin_test): Likewise.
50564         (asin_test_tonearest): Likewise.
50565         (asin_test_towardzero): Likewise.
50566         (asin_test_downward): Likewise.
50567         (asin_test_upward): Likewise.
50568         (asinh_test): Likewise.
50569         (atan_test): Likewise.
50570         (atanh_test): Likewise.
50571         (atan2_test): Likewise.
50572         (cabs_test): Likewise.
50573         (cacos_test): Likewise.
50574         (cacosh_test): Likewise.
50575         (casin_test): Likewise.
50576         (casinh_test): Likewise.
50577         (catan_test): Likewise.
50578         (catanh_test): Likewise.
50579         (cbrt_test): Likewise.
50580         (ccos_test): Likewise.
50581         (ccosh_test): Likewise.
50582         (cexp_test): Likewise.
50583         (clog_test): Likewise.
50584         (clog10_test): Likewise.
50585         (cos_test): Likewise.
50586         (cos_test_tonearest): Likewise.
50587         (cos_test_towardzero): Likewise.
50588         (cos_test_downward): Likewise.
50589         (cos_test_upward): Likewise.
50590         (cosh_test): Likewise.
50591         (cosh_test_tonearest): Likewise.
50592         (cosh_test_towardzero): Likewise.
50593         (cosh_test_downward): Likewise.
50594         (cosh_test_upward): Likewise.
50595         (cpow_test): Likewise.
50596         (csin_test): Likewise.
50597         (csinh_test): Likewise.
50598         (csqrt_test): Likewise.
50599         (ctan_test): Likewise.
50600         (ctan_test_tonearest): Likewise.
50601         (ctan_test_towardzero): Likewise.
50602         (ctan_test_downward): Likewise.
50603         (ctan_test_upward): Likewise.
50604         (ctanh_test): Likewise.
50605         (ctanh_test_tonearest): Likewise.
50606         (ctanh_test_towardzero): Likewise.
50607         (ctanh_test_downward): Likewise.
50608         (ctanh_test_upward): Likewise.
50609         (erf_test): Likewise.
50610         (erfc_test): Likewise.
50611         (exp_test): Likewise.
50612         (exp_test_tonearest): Likewise.
50613         (exp_test_towardzero): Likewise.
50614         (exp_test_downward): Likewise.
50615         (exp_test_upward): Likewise.
50616         (exp10_test): Likewise.
50617         (exp2_test): Likewise.
50618         (expm1_test): Likewise.
50619         (fmod_test): Likewise.
50620         (gamma_test): Likewise.
50621         (hypot_test): Likewise.
50622         (j0_test): Likewise.
50623         (j1_test): Likewise.
50624         (jn_test): Likewise.
50625         (lgamma_test): Likewise.
50626         (log_test): Likewise.
50627         (log10_test): Likewise.
50628         (log1p_test): Likewise.
50629         (log2_test): Likewise.
50630         (logb_test_downward): Likewise.
50631         (pow_test): Likewise.
50632         (pow_test_tonearest): Likewise.
50633         (pow_test_towardzero): Likewise.
50634         (pow_test_downward): Likewise.
50635         (pow_test_upward): Likewise.
50636         (remainder_test): Likewise.
50637         (remquo_test): Likewise.
50638         (sin_test): Likewise.
50639         (sin_test_tonearest): Likewise.
50640         (sin_test_towardzero): Likewise.
50641         (sin_test_downward): Likewise.
50642         (sin_test_upward): Likewise.
50643         (sincos_test): Likewise.
50644         (sinh_test): Likewise.
50645         (sinh_test_tonearest): Likewise.
50646         (sinh_test_towardzero): Likewise.
50647         (sinh_test_downward): Likewise.
50648         (sinh_test_upward): Likewise.
50649         (sqrt_test): Likewise.
50650         (tan_test): Likewise.
50651         (tan_test_tonearest): Likewise.
50652         (tan_test_towardzero): Likewise.
50653         (tan_test_downward): Likewise.
50654         (tan_test_upward): Likewise.
50655         (tanh_test): Likewise.
50656         (tgamma_test): Likewise.
50657         (y0_test): Likewise.
50658         (y1_test): Likewise.
50659         (yn_test): Likewise.
50661         * math/gen-libm-test.pl (adjust_arg): Remove function.
50662         (special_function): Remove argument $in_func.  Only handle
50663         generating output for tables of tests, not inside functions.
50664         (parse_args): Likewise.
50665         (generate_testfile): Remove variable $in_func.  Update call to
50666         parse_args.
50667         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50668         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50669         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50670         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50671         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50672         (MAX_VALUE_INIT): Rename macro to max_value.
50673         (MIN_VALUE_INIT): Rename macro to min_value.
50674         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50675         (plus_zero): Remove variable.
50676         (minus_zero): Likewise.
50677         (plus_infty): Likewise.
50678         (minus_infty): Likewise.
50679         (qnan_value): Likewise.
50680         (max_value): Likewise.
50681         (min_value): Likewise.
50682         (min_subnorm_value): Likewise.
50684 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50686         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50687         uint64_t or uint32_t usage.
50688         * crypt/sha256-block.c: Likewise.
50689         * crypt/sha256-crypt.c: Likewise.
50690         * crypt/sha256.c: Likewise.
50691         * crypt/sha512-block.c: Likewise.
50692         * crypt/sha512-crypt.c: Likewise.
50693         * crypt/sha512.c: Likewise.
50694         * debug/backtrace-tst.c: Likewise.
50695         * debug/pcprofiledump.c: Likewise.
50696         * elf/cache.c: Likewise.
50697         * elf/dl-cache.c: Likewise.
50698         * elf/dl-misc.c: Likewise.
50699         * elf/dl-profile.c: Likewise.
50700         * elf/dl-support.c: Likewise.
50701         * elf/ldconfig.c: Likewise.
50702         * elf/sprof.c: Likewise.
50703         * iconv/dummy-repertoire.c: Likewise.
50704         * iconv/iconv_charmap.c: Likewise.
50705         * iconv/skeleton.c: Likewise.
50706         * iconvdata/8bit-generic.c: Likewise.
50707         * iconvdata/cp737.h: Likewise.
50708         * iconvdata/cp775.h: Likewise.
50709         * iconvdata/ibm1008.h: Likewise.
50710         * iconvdata/ibm1025.h: Likewise.
50711         * iconvdata/ibm1046.h: Likewise.
50712         * iconvdata/ibm1097.h: Likewise.
50713         * iconvdata/ibm1112.h: Likewise.
50714         * iconvdata/ibm1122.h: Likewise.
50715         * iconvdata/ibm1123.h: Likewise.
50716         * iconvdata/ibm1124.h: Likewise.
50717         * iconvdata/ibm1129.h: Likewise.
50718         * iconvdata/ibm1130.h: Likewise.
50719         * iconvdata/ibm1132.h: Likewise.
50720         * iconvdata/ibm1133.h: Likewise.
50721         * iconvdata/ibm1137.h: Likewise.
50722         * iconvdata/ibm1140.h: Likewise.
50723         * iconvdata/ibm1141.h: Likewise.
50724         * iconvdata/ibm1142.h: Likewise.
50725         * iconvdata/ibm1143.h: Likewise.
50726         * iconvdata/ibm1144.h: Likewise.
50727         * iconvdata/ibm1145.h: Likewise.
50728         * iconvdata/ibm1146.h: Likewise.
50729         * iconvdata/ibm1147.h: Likewise.
50730         * iconvdata/ibm1148.h: Likewise.
50731         * iconvdata/ibm1149.h: Likewise.
50732         * iconvdata/ibm1153.h: Likewise.
50733         * iconvdata/ibm1154.h: Likewise.
50734         * iconvdata/ibm1155.h: Likewise.
50735         * iconvdata/ibm1156.h: Likewise.
50736         * iconvdata/ibm1157.h: Likewise.
50737         * iconvdata/ibm1158.h: Likewise.
50738         * iconvdata/ibm1160.h: Likewise.
50739         * iconvdata/ibm1161.h: Likewise.
50740         * iconvdata/ibm1162.h: Likewise.
50741         * iconvdata/ibm1163.h: Likewise.
50742         * iconvdata/ibm1164.h: Likewise.
50743         * iconvdata/ibm1166.h: Likewise.
50744         * iconvdata/ibm1167.h: Likewise.
50745         * iconvdata/ibm12712.h: Likewise.
50746         * iconvdata/ibm1390.h: Likewise.
50747         * iconvdata/ibm1399.h: Likewise.
50748         * iconvdata/ibm16804.h: Likewise.
50749         * iconvdata/ibm4517.h: Likewise.
50750         * iconvdata/ibm4899.h: Likewise.
50751         * iconvdata/ibm4909.h: Likewise.
50752         * iconvdata/ibm4971.h: Likewise.
50753         * iconvdata/ibm5347.h: Likewise.
50754         * iconvdata/ibm803.h: Likewise.
50755         * iconvdata/ibm856.h: Likewise.
50756         * iconvdata/ibm901.h: Likewise.
50757         * iconvdata/ibm902.h: Likewise.
50758         * iconvdata/ibm9030.h: Likewise.
50759         * iconvdata/ibm9066.h: Likewise.
50760         * iconvdata/ibm921.h: Likewise.
50761         * iconvdata/ibm922.h: Likewise.
50762         * iconvdata/ibm9448.h: Likewise.
50763         * iconvdata/isiri-3342.h: Likewise.
50764         * iconvdata/jis0201.h: Likewise.
50765         * include/link.h: Likewise.
50766         * include/netdb.h: Likewise.
50767         * inet/check_native.c: Likewise.
50768         * inet/check_pf.c: Likewise.
50769         * inet/getipv4sourcefilter.c: Likewise.
50770         * inet/getnameinfo.c: Likewise.
50771         * inet/getsourcefilter.c: Likewise.
50772         * inet/htonl.c: Likewise.
50773         * inet/setipv4sourcefilter.c: Likewise.
50774         * inet/setsourcefilter.c: Likewise.
50775         * inet/test-inet6_opt.c: Likewise.
50776         * inet/tst-network.c: Likewise.
50777         * locale/C-collate.c: Likewise.
50778         * locale/C-ctype.c: Likewise.
50779         * locale/C-time.c: Likewise.
50780         * locale/C-translit.h: Likewise.
50781         * locale/loadarchive.c: Likewise.
50782         * locale/programs/3level.h: Likewise.
50783         * locale/programs/charmap.c: Likewise.
50784         * locale/programs/charmap.h: Likewise.
50785         * locale/programs/ld-address.c: Likewise.
50786         * locale/programs/ld-collate.c: Likewise.
50787         * locale/programs/ld-ctype.c: Likewise.
50788         * locale/programs/ld-identification.c: Likewise.
50789         * locale/programs/ld-measurement.c: Likewise.
50790         * locale/programs/ld-messages.c: Likewise.
50791         * locale/programs/ld-monetary.c: Likewise.
50792         * locale/programs/ld-name.c: Likewise.
50793         * locale/programs/ld-numeric.c: Likewise.
50794         * locale/programs/ld-paper.c: Likewise.
50795         * locale/programs/ld-telephone.c: Likewise.
50796         * locale/programs/ld-time.c: Likewise.
50797         * locale/programs/linereader.c: Likewise.
50798         * locale/programs/locale.c: Likewise.
50799         * locale/programs/locarchive.c: Likewise.
50800         * locale/programs/locfile.h: Likewise.
50801         * locale/programs/repertoire.c: Likewise.
50802         * locale/programs/simple-hash.c: Likewise.
50803         * locale/programs/simple-hash.h: Likewise.
50804         * malloc/memusage.c: Likewise.
50805         * malloc/memusagestat.c: Likewise.
50806         * nis/nis_defaults.c: Likewise.
50807         * nis/nis_hash.c: Likewise.
50808         * nis/nis_print.c: Likewise.
50809         * nis/nis_xdr.c: Likewise.
50810         * nscd/connections.c: Likewise.
50811         * nscd/hstcache.c: Likewise.
50812         * nscd/nscd_gethst_r.c: Likewise.
50813         * nscd/nscd_getserv_r.c: Likewise.
50814         * nscd/nscd_helper.c: Likewise.
50815         * nscd/servicescache.c: Likewise.
50816         * nss/makedb.c: Likewise.
50817         * nss/nss_db/db-XXX.c: Likewise.
50818         * nss/nss_db/db-initgroups.c: Likewise.
50819         * nss/nss_db/db-netgrp.c: Likewise.
50820         * nss/nss_files/files-network.c: Likewise.
50821         * nss/nss_files/files-parse.c: Likewise.
50822         * posix/bug-regex5.c: Likewise.
50823         * posix/fnmatch_loop.c: Likewise.
50824         * posix/regcomp.c: Likewise.
50825         * posix/regexec.c: Likewise.
50826         * posix/tst-rfc3484-2.c: Likewise.
50827         * posix/tst-rfc3484-3.c: Likewise.
50828         * posix/tst-rfc3484.c: Likewise.
50829         * resolv/nss_dns/dns-canon.c: Likewise.
50830         * resolv/nss_dns/dns-network.c: Likewise.
50831         * resolv/res_init.c: Likewise.
50832         * resolv/res_mkquery.c: Likewise.
50833         * resolv/tst-aton.c: Likewise.
50834         * stdlib/cxa_atexit.c: Likewise.
50835         * stdlib/cxa_finalize.c: Likewise.
50836         * stdlib/gen-fpioconst.c: Likewise.
50837         * stdlib/strtol_l.c: Likewise.
50838         * string/tst-endian.c: Likewise.
50839         * sunrpc/auth_des.c: Likewise.
50840         * sunrpc/clnt_udp.c: Likewise.
50841         * sunrpc/rtime.c: Likewise.
50842         * sunrpc/svcauth_des.c: Likewise.
50843         * sunrpc/xdr.c: Likewise.
50844         * sunrpc/xdr_intXX_t.c: Likewise.
50845         * sunrpc/xdr_rec.c: Likewise.
50846         * sysdeps/generic/ldconfig.h: Likewise.
50847         * sysdeps/generic/ldsodefs.h: Likewise.
50848         * sysdeps/generic/memusage.h: Likewise.
50849         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50850         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50851         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50852         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50853         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50854         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50855         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50856         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50857         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50858         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50859         * sysdeps/posix/getaddrinfo.c: Likewise.
50860         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50861         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50862         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50863         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50864         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50865         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50866         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50867         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50868         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50869         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50870         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50871         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50872         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50873         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50874         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50875         * sysdeps/x86_64/dl-tls.h: Likewise.
50876         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50877         * time/alt_digit.c: Likewise.
50878         * time/era.c: Likewise.
50879         * wcsmbs/tst-c16c32-1.c: Likewise.
50881 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50883         * math/libm-test.inc (struct test_sincos_data): New type.
50884         (RUN_TEST_LOOP_sincos): New macro.
50885         (sincos_test_data): New variable.
50886         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50888 2013-05-16  Richard Henderson  <rth@redhat.com>
50890         * math/atest-exp2.c (LIMB64): New macro.
50891         (CONSTSZ): New macro.
50892         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50893         (hexdig): Move ...
50894         (print_mpn_fp): ... to function scope.
50895         (read_mpn_hex): Remove.
50896         (get_log2): Remove.
50897         (exp2_mpn): Use mp_log2.
50898         (main): Use mp_exp1.
50900 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50902         * math/libm-test.inc: Remove comment about not testing "inexact"
50903         exceptions.
50904         (INEXACT_EXCEPTION): New macro.
50905         (NO_INEXACT_EXCEPTION): Likewise.
50906         (INVALID_EXCEPTION_OK): Update value.
50907         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50908         (OVERFLOW_EXCEPTION_OK): Likewise.
50909         (UNDERFLOW_EXCEPTION_OK): Likewise.
50910         (IGNORE_ZERO_INF_SIGN): Likewise.
50911         (ERRNO_UNCHANGED): Likewise.
50912         (ERRNO_EDOM): Likewise.
50913         (ERRNO_ERANGE): Likewise.
50914         (test_exceptions): Handle testing "inexact" exceptions.
50915         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50916         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50917         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50918         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50919         INEXACT_EXCEPTION.
50920         (rint_towardzero_test_data): Likewise.
50921         (rint_downward_test_data): Likewise.
50922         (rint_upward_test_data): Likewise.
50924         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50925         with OVERFLOW_EXCEPTION.
50926         (exp10_test_data): Likewise.
50927         (exp2_test_data): Likewise.
50928         (expm1_test_data): Likewise.
50929         (lgamma_test_data): Likewise.
50930         (pow_test_data): Likewise.
50931         (tgamma_test_data): Likewise.
50932         (yn_test_data): Remove duplicate test of overflow.
50934         * math/libm-test.inc (struct test_cc_c_data): New type.
50935         (RUN_TEST_LOOP_cc_c): New macro.
50936         (cpow_test_data): New variable.
50937         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50939         * math/libm-test.inc (struct test_f_L_data): New type.
50940         (RUN_TEST_LOOP_f_L): New macro.
50941         (llrint_test_data): New variable.
50942         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50943         (llrint_tonearest_test_data): New variable.
50944         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50945         (llrint_towardzero_test_data): New variable.
50946         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50947         (llrint_downward_test_data): New variable.
50948         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50949         (llrint_upward_test_data): New variable.
50950         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50951         (llround_test_data): New variable.
50952         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50954 2013-05-13  Peter Collingbourne  <pcc@google.com>
50956         * math/atest-exp2.c (get_log2): Remove const attribute.
50958 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50960         * math/libm-test.inc (struct test_f_l_data): New type.
50961         (RUN_TEST_LOOP_f_l): New macro.
50962         (lrint_test_data): New variable.
50963         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50964         (lrint_tonearest_test_data): New variable.
50965         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50966         (lrint_towardzero_test_data): New variable.
50967         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50968         (lrint_downward_test_data): New variable.
50969         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50970         (lrint_upward_test_data): New variable.
50971         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50972         (lround_test_data): New variable.
50973         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50975 2013-05-15  Peter Collingbourne  <pcc@google.com>
50977         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50978         (EXTRACT_WORDS64) Use where appropriate.
50979         (INSERT_WORDS64) Likewise.
50981         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50982         constraints with x constraints.
50983         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50985         * malloc/obstack.c (_obstack_compat): Add initializer.
50987 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50989         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50990         si_trapno and add si_addr_lsb to _sifields.sigfault.
50991         (si_trapno): Remove macro.
50992         (si_addr_lsb): Define new macro.
50993         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50995 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50997         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50998         instead of TEST_f_l.
50999         (llrint_test_tonearest): Likewise.
51000         (llrint_test_towardzero): Likewise.
51001         (llrint_test_downward): Likewise.
51002         (llrint_test_upward): Likewise.
51003         (llround_test): Likewise.
51005         * math/libm-test.inc (struct test_f_i_data): Add comment.
51006         (RUN_TEST_LOOP_f_b): New macro.
51007         (RUN_TEST_LOOP_f_b_tg): Likewise.
51008         (finite_test_data): New variable.
51009         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51010         (isfinite_test_data): New variable.
51011         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51012         (isinf_test_data): New variable.
51013         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51014         (isnan_test_data): New variable.
51015         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51016         (isnormal_test_data): New variable.
51017         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51018         (issignaling_test_data): New variable.
51019         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51020         (signbit_test_data): New variable.
51021         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51023         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51024         with INVALID_EXCEPTION.
51025         (acosh_test_data): Likewise.
51026         (asin_test_data): Likewise.
51027         (atanh_test_data): Likewise.
51028         (fmod_test_data): Likewise.
51029         (log_test_data): Likewise.
51030         (log10_test_data): Likewise.
51031         (log2_test_data): Likewise.
51032         (pow_test_data): Likewise.
51033         (sqrt_test_data): Likewise.
51034         (y0_test_data): Likewise.
51035         (y1_test_data): Likewise.
51036         (yn_test_data): Likewise.
51038         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51039         function contents.
51041         * math/libm-test.inc (struct test_ff_i_data): New type.
51042         (RUN_TEST_LOOP_ff_i_tg): New macro.
51043         (isgreater_test_data): New variable.
51044         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51045         (isgreaterequal_test_data): New variable.
51046         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51047         (isless_test_data): New variable.
51048         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51049         (islessequal_test_data): New variable.
51050         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51051         (islessgreater_test_data): New variable.
51052         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51053         (isunordered_test_data): New variable.
51054         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51056 2013-05-14  David S. Miller  <davem@davemloft.net>
51058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51060 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51062         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51064         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51065         extra_test to int.
51066         (struct test_f_i_data): Change type of max_ulp to int.
51068         * math/libm-test.inc (test_ffI_f1_data): New type.
51069         (RUN_TEST_LOOP_ffI_f1): New macro.
51070         (remquo_test_data): New variable.
51071         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51073         * setjmp/tst-setjmp-fp.c: New file.
51074         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51075         (link-libm): New variable.
51076         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51078         * math/libm-test.inc (struct test_f_i_data): New type.
51079         (RUN_TEST_LOOP_f_i): New macro.
51080         (RUN_TEST_LOOP_f_i_tg): Likewise.
51081         (fpclassify_test_data): New variable.
51082         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51083         (ilogb_test_data): New variable.
51084         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51086         * math/libm-test.inc (scalbln_test): Correct function name in END
51087         call.
51089         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51090         (RUN_TEST_LOOP_fI_f1): New macro.
51091         (frexp_test_data): New variable.
51092         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51094         * math/libm-test.inc (struct test_fF_f1_data): New type.
51095         (RUN_TEST_LOOP_fF_f1): New macro.
51096         (modf_test_data): New variable.
51097         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51099         * math/libm-test.inc (struct test_f_f1_data): New type.
51100         (RUN_TEST_LOOP_f_f1): New macro.
51101         (gamma_test_data): New variable.
51102         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51103         (lgamma_test_data): New variable.
51104         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51106 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51108         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51109         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51110         (main): Comment "tls" pseudo-hwcap.
51112 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51114         * math/libm-test.inc (struct test_fl_f_data): New type.
51115         (RUN_TEST_LOOP_fl_f): New variable.
51116         (scalbln_test_data): New variable.
51117         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51119         * math/libm-test.inc (struct test_fi_f_data): New type.
51120         (RUN_TEST_LOOP_fi_f): New macro.
51121         (ldexp_test_data): New variable.
51122         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51123         (scalbn_test_data): New variable.
51124         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51126         * math/libm-test.inc (struct test_c_f_data): New type.
51127         (RUN_TEST_LOOP_c_f): New macro.
51128         (cabs_test_data): New variable.
51129         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51130         (carg_test_data): New variable.
51131         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51132         (cimag_test_data): New variable.
51133         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51134         (creal_test_data): New variable.
51135         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51137         * math/libm-test.inc (struct test_if_f_data): New type.
51138         (RUN_TEST_LOOP_if_f): New macro.
51139         (jn_test_data): New variable.
51140         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51141         (yn_test_data): New variable.
51142         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51144         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51146 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51148         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51149         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51151 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51153         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51154         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51155         (bench-deps): Add bench-timing.h.
51156         * benchtests-bench-skeleton.c: Include bench-timing.h.
51157         (main): Use TIMING_* macros instead of clock_gettime.
51158         * benchtests/bench-timing.h: New file.
51160         [BZ #14582]
51161         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51162         Renamed from _LIB_VERSION.
51163         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51165 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51167         * math/libm-test.inc (struct test_fff_f_data): New type.
51168         (RUN_TEST_LOOP_fff_f): New macro.
51169         (fma_test_data): New variable.
51170         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51171         (fma_towardzero_test_data): New variable.
51172         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51173         (fma_downward_test_data): New variable.
51174         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51175         (fma_upward_test_data): New variable.
51176         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51178         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51179         (struct test_c_c_data): New type.
51180         (RUN_TEST_LOOP_c_c): New macro.
51181         (cacos_test_data): New variable.
51182         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51183         (cacosh_test_data): New variable.
51184         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51185         (casin_test_data): New variable.
51186         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51187         (casinh_test_data): New variable.
51188         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51189         (catan_test_data): New variable.
51190         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51191         (catanh_test_data): New variable.
51192         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51193         (ccos_test_data): New variable.
51194         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51195         (ccosh_test_data): New variable.
51196         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51197         (cexp_test_data): New variable.
51198         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51199         (clog_test_data): New variable.
51200         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51201         (clog10_test_data): New variable.
51202         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51203         (conj_test_data): New variable.
51204         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51205         (cproj_test_data): New variable.
51206         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51207         (csin_test_data): New variable.
51208         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51209         (csinh_test_data): New variable.
51210         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51211         (csqrt_test_data): New variable.
51212         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51213         (ctan_test_data): New variable.
51214         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51215         (ctan_tonearest_test_data): New variable.
51216         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51217         (ctan_towardzero_test_data): New variable.
51218         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51219         (ctan_downward_test_data): New variable.
51220         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51221         (ctan_upward_test_data): New variable.
51222         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51223         (ctanh_test_data): New variable.
51224         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51225         (ctanh_tonearest_test_data): New variable.
51226         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51227         (ctanh_towardzero_test_data): New variable.
51228         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51229         (ctanh_downward_test_data): New variable.
51230         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51231         (ctanh_upward_test_data): New variable.
51232         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51233         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51234         of BUILD_COMPLEX.
51236         * math/libm-test.inc (struct test_ff_f_data): New type.
51237         (struct test_ff_f_data_nexttoward): Likewise.
51238         (RUN_TEST_LOOP_2_f): New macro.
51239         (RUN_TEST_LOOP_ff_f): Likewise.
51240         (atan2_test_data): New variable.
51241         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51242         (copysign_test_data): New variable.
51243         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51244         (fdim_test_data): New variable.
51245         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51246         (fmax_test_data): New variable.
51247         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51248         (fmin_test_data): New variable.
51249         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51250         (fmod_test_data): New variable.
51251         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51252         (hypot_test_data): New variable.
51253         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51254         (nextafter_test_data): New variable.
51255         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51256         (nexttoward_test_data): New variable.
51257         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51258         (pow_test_data): New variable.
51259         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51260         (pow_tonearest_test_data): New variable.
51261         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51262         (pow_towardzero_test_data): New variable.
51263         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51264         (pow_downward_test_data): New variable.
51265         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51266         (pow_upward_test_data): New variable.
51267         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51268         (remainder_test_data): New variable.
51269         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51270         (scalb_test_data): New variable.
51271         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51272         * sysdeps/i386/fpu/libm-test-ulps: Update.
51274 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51276         * math/libm-test.inc (fma_test): Use max_value instead of local
51277         variable fltmax.
51278         (nextafter_test): Likewise.
51280         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51281         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51282         (acos_downward_test_data): New variable.
51283         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51284         (acos_upward_test_data): New variable.
51285         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51286         (acosh_test_data): New variable.
51287         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51288         (asin_test_data): New variable.
51289         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51290         (asin_tonearest_test_data): New variable.
51291         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51292         (asin_towardzero_test_data): New variable.
51293         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51294         (asin_downward_test_data): New variable.
51295         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51296         (asin_upward_test_data): New variable.
51297         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51298         (asinh_test_data): New variable.
51299         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51300         (atan_test_data): New variable.
51301         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51302         (atanh_test_data): New variable.
51303         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51304         (cbrt_test_data): New variable.
51305         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51306         (ceil_test_data): New variable.
51307         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51308         (cos_test_data): New variable.
51309         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51310         (cos_tonearest_test_data): New variable.
51311         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51312         (cos_towardzero_test_data): New variable.
51313         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51314         (cos_downward_test_data): New variable.
51315         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51316         (cos_upward_test_data): New variable.
51317         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51318         (cosh_test_data): New variable.
51319         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51320         (cosh_tonearest_test_data): New variable.
51321         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51322         (cosh_towardzero_test_data): New variable.
51323         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51324         (cosh_downward_test_data): New variable.
51325         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51326         (cosh_upward_test_data): New variable.
51327         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51328         (erf_test_data): New variable.
51329         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51330         (erfc_test_data): New variable.
51331         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51332         (exp_test_data): New variable.
51333         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51334         (exp_tonearest_test_data): New variable.
51335         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51336         (exp_towardzero_test_data): New variable.
51337         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51338         (exp_downward_test_data): New variable.
51339         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51340         (exp_upward_test_data): New variable.
51341         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51342         (exp10_test_data): New variable.
51343         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51344         (exp2_test_data): New variable.
51345         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51346         (expm1_test_data): New variable.
51347         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51348         (fabs_test_data): New variable.
51349         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51350         (floor_test_data): New variable.
51351         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51352         (j0_test_data): New variable.
51353         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51354         (j1_test_data): New variable.
51355         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51356         (log_test_data): New variable.
51357         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51358         (log10_test_data): New variable.
51359         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51360         (log1p_test_data): New variable.
51361         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51362         (log2_test_data): New variable.
51363         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51364         (logb_test_data): New variable.
51365         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51366         (logb_downward_test_data): New variable.
51367         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51368         (nearbyint_test_data): New variable.
51369         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51370         (rint_test_data): New variable.
51371         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51372         (rint_tonearest_test_data): New variable.
51373         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51374         (rint_towardzero_test_data): New variable.
51375         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51376         (rint_downward_test_data): New variable.
51377         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51378         (rint_upward_test_data): New variable.
51379         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51380         (round_test_data): New variable.
51381         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51382         (sin_test_data): New variable.
51383         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51384         (sin_tonearest_test_data): New variable.
51385         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51386         (sin_towardzero_test_data): New variable.
51387         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51388         (sin_downward_test_data): New variable.
51389         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51390         (sin_upward_test_data): New variable.
51391         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51392         (sinh_test_data): New variable.
51393         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51394         (sinh_tonearest_test_data): New variable.
51395         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51396         (sinh_towardzero_test_data): New variable.
51397         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51398         (sinh_downward_test_data): New variable.
51399         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51400         (sinh_upward_test_data): New variable.
51401         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51402         (sqrt_test_data): New variable.
51403         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51404         (tan_test_data): New variable.
51405         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51406         (tan_tonearest_test_data): New variable.
51407         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51408         (tan_towardzero_test_data): New variable.
51409         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51410         (tan_downward_test_data): New variable.
51411         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51412         (tan_upward_test_data): New variable.
51413         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51414         (tanh_test_data): New variable.
51415         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51416         (tgamma_test_data): New variable.
51417         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51418         (trunc_test_data): New variable.
51419         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51420         (y0_test_data): New variable.
51421         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51422         (y1_test_data): New variable.
51423         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51424         (significand_test_data): New variable.
51425         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51427 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51429         [BZ #12387]
51430         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51432 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51434         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51436 2013-05-10  Andreas Jaeger  <aj@suse.de>
51438         [BZ #15448]
51439         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51440         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51442 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51444         * math/gen-libm-test.pl (adjust_arg): New function.
51445         (special_functions): Handle generating output in both functions
51446         and arrays.
51447         (parse_args): Likewise.
51448         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51449         $in_func argument to parse_args.
51450         * math/libm-test.inc (struct test_f_f_data): New type.
51451         (IF_ROUND_INIT_): New macro.
51452         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51453         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51454         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51455         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51456         (ROUND_RESTORE_): Likewise.
51457         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51458         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51459         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51460         (ROUND_RESTORE_FE_UPWARD): Likewise.
51461         (RUN_TEST_LOOP_f_f): New macro.
51462         (acos_test_data): New variable.
51463         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51464         (acos_tonearest_test_data): New variable.
51465         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51467 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51469         * benchtests/bench-skeleton.c (startup): Fix coding style.
51471 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51473         [BZ #6809]
51474         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51475         negative infinity argument.
51476         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51477         negative infinity argument.
51478         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51479         negative infinity argument.
51480         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51481         domain errors.
51483 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51485         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51486         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51487         * iconv/iconv_prog.c (main): Likewise.
51488         * locale/programs/charmap-dir.c (charmap_readdir)
51489         (fopen_uncompressed): Likewise.
51490         * locale/programs/locfile.c (siblings_uncached)
51491         (write_locale_data): Use lstat64 instead of lstat.
51492         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51493         stat.
51495 2013-05-10  Andreas Jaeger  <aj@suse.de>
51497         [BZ #15395]
51498         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51499         localization.
51500         Include <locale.h>.
51502 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51504         * elf/dl-close.c (_dl_close_worker): Add comments.
51506 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51508         [BZ #15359]
51509         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51510         high part of pi/2.
51511         (__ieee754_rem_pio2l): Update comments.
51513         [BZ #15429]
51514         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51515         high part of pi/2.
51516         (__ieee754_rem_pio2l): Update comments.
51518         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51519         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51521         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51522         M_PI_4l.
51524         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51525         (M_PI_34_LOG10El): Likewise.
51526         (M_PI2_LOG10El): Likewise.
51527         (M_PI4_LOG10El): Likewise.
51528         (M_PI_LOG10El): Likewise.
51530 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51534 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51536         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51537         (MINUS_ZERO_INIT): Likewise.
51538         (PLUS_INFTY_INIT): Likewise.
51539         (MINUS_INFTY_INIT): Likewise.
51540         (QNAN_VALUE_INIT): Likewise.
51541         (MAX_VALUE_INIT): Likewise.
51542         (MIN_VALUE_INIT): Likewise.
51543         (MIN_SUBNORM_VALUE_INIT): Likewise.
51544         (plus_zero): Initialize with PLUS_ZERO_INIT.
51545         (minus_zero): Initialize with MINUS_ZERO_INIT.
51546         (plus_infty): Initialize with PLUS_INFTY_INIT.
51547         (minus_infty): Initialize with MINUS_INFTY_INIT.
51548         (qnan_value): Initialize with QNAN_VALUE_INIT.
51549         (max_value): Initialize with MAX_VALUE_INIT.
51550         (min_value): Initialize with MIN_VALUE_INIT.
51551         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51553         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51554         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51555         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51556         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51558         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51559         (RUN_TEST_2_f): Likewise.
51560         (RUN_TEST_ff_f): Likewise.
51561         (RUN_TEST_fi_f): Likewise.
51562         (RUN_TEST_fl_f): Likewise.
51563         (RUN_TEST_fff_f): Likewise.
51564         (RUN_TEST_c_f): Likewise.
51565         (RUN_TEST_f_f1): Likewise.
51566         (RUN_TEST_fF_f1): Likewise.
51567         (RUN_TEST_fI_f1): Likewise.
51568         (RUN_TEST_ffI_f1): Likewise.
51569         (RUN_TEST_c_c): Likewise.
51570         (RUN_TEST_cc_c): Likewise.
51571         (RUN_TEST_f_i): Likewise.
51572         (RUN_TEST_f_i_tg): Likewise.
51573         (RUN_TEST_ff_i_tg): Likewise.
51574         (RUN_TEST_f_b): Likewise.
51575         (RUN_TEST_f_b_tg): Likewise.
51576         (RUN_TEST_f_l): Likewise.
51577         (RUN_TEST_f_L): Likewise.
51578         (RUN_TEST_sincos): Likewise.
51579         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51580         whether to show exceptions.  Do not include ");\n" in return
51581         value.
51582         (special_functions): Output call to RUN_TEST_sincos instead of
51583         check_float calls.  Update calls to new_test.
51584         (parse_args): Output call to single RUN_TEST_* macro instead of
51585         check_* calls and other assignments.  Update calls to new_test.
51587         [BZ #2546]
51588         [BZ #2560]
51589         [BZ #5159]
51590         [BZ #15426]
51591         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51592         input to result for tgamma overflow.
51593         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51594         (gamma_coeff): New variable.
51595         (NCOEFF): New macro.
51596         (gamma_positive): New function.
51597         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51598         underflow here.  Use gamma_positive instead of exp (lgamma) for
51599         other arguments.
51600         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51601         (gamma_coeff): New variable.
51602         (NCOEFF): New macro.
51603         (gammaf_positive): New function.
51604         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51605         underflow here.  Use gamma_positive instead of exp (lgamma) for
51606         other arguments.
51607         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51608         (gamma_coeff): New variable.
51609         (NCOEFF): New macro.
51610         (gammal_positive): New function.
51611         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51612         underflow here.  Use gamma_positive instead of exp (lgamma) for
51613         other arguments.
51614         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51615         (gamma_coeff): New variable.
51616         (NCOEFF): New macro.
51617         (gammal_positive): New function.
51618         (__ieee754_gammal_r): Handle positive infinity, overflow and
51619         underflow here.  Handle NaN the same as positive infinity.  Remove
51620         check x < 0xffffffff for negative integers.  Use gamma_positive
51621         instead of exp (lgamma) for other arguments.
51622         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51623         (gamma_coeff): New variable.
51624         (NCOEFF): New macro.
51625         (gammal_positive): New function.
51626         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51627         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51628         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51629         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51630         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51631         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51632         * sysdeps/generic/math_private.h (__gamma_productf): New
51633         prototype.
51634         (__gamma_product): Likewise.
51635         (__gamma_productl): Likewise.
51636         * math/Makefile (libm-calls): Add gamma_product.
51637         * math/libm-test.inc (tgamma_test): Add more tests.
51638         * sysdeps/i386/fpu/libm-test-ulps: Update.
51639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51641 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51643         * benchtests/bench-skeleton.c (main): Preheat CPU.
51645 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51647         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51649 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51651         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51652         and _dl_skip_args_internal.
51654 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51656         * manual/message.texi (Message Translation): Talk about users.
51657         Message to key mapping impacts design.
51659 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51661         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51663         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51665         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51666         * sysdeps/wordsize-64/glob64.c: ... here.
51668         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51669         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51670         New macros.
51672         * debug/getlogin_r_chk.c: Moved to ...
51673         * login/getlogin_r_chk.c: ... here.
51674         * debug/Makefile (routines): Move getlogin_r_chk to ...
51675         * login/Makefile (routines): ... here.
51676         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51677         * login/Versions (libc: GLIBC_2.4): ... here.
51679         * io/poll.c (__poll): Renamed from poll.
51680         Add libc_hidden_def.
51681         (poll): Define as weak alias.
51683         * debug/ptsname_r_chk.c: Moved to ...
51684         * login/ptsname_r_chk.c: ... here.
51685         * debug/Makefile (routines): Move ptsname_r_chk to ...
51686         * login/Makefile (routines): ... here.
51687         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51688         * login/Versions (libc: GLIBC_2.4): ... here.
51690         * posix/getlogin.c: Moved to ...
51691         * login/getlogin.c: ... here.
51692         * posix/getlogin_r.c: Moved to ...
51693         * login/getlogin_r.c: ... here.
51694         * posix/getlogin_r.c: Moved to ...
51695         * login/getlogin_r.c: ... here.
51696         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51697         * login/Makefile (routines): ... here.
51698         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51699         * login/Versions (libc: GLIBC_2.0): ... here.
51701         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51702         (setrlimit): Define as weak alias.
51704         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51705         Call __ names for open, ftruncate, and close.
51706         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51707         (truncate): Define as weak alias.
51709 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51711         * math/gen-libm-test.pl (parse_args): Initialize x before each
51712         test of frexp, modf and remquo.
51714         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51715         test signgam value.
51717 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51719         [BZ #15418]
51720         [BZ #15419]
51721         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51722         internal tests.
51723         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51725 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51727         * elf/dl-writev.h: New file.
51728         * elf/dl-misc.c: Include it.
51729         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51730         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51732 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51734         * math/libm-test.inc (noXFails): Remove variable.
51735         (noXPasses): Likewise.
51736         (BUILD_COMPLEX_INT): Remove macro.
51737         (print_screen): Remove xfail argument.
51738         (print_screen_max_error): Likewise.
51739         (update_stats): Likewise.
51740         (print_max_error): Likewise.  Update calls to other affected
51741         functions.
51742         (print_complex_max_error): Likewise.
51743         (test_single_exception): Update calls to print_screen.
51744         (test_single_errno): Likewise.
51745         (check_float_internal): Remove xfail argument.  Update calls to
51746         other affected functions.
51747         (check_float): Likewise.
51748         (check_complex): Likewise.
51749         (check_int): Likewise.
51750         (check_long): Likewise.
51751         (check_bool): Likewise.
51752         (check_longlong): Likewise.
51753         (main): Don't print noXFails and noXPasses.
51754         * math/gen-libm-test.pl (top level): Don't mention expected
51755         failure handling in comment.
51756         (new_test): Don't handle expected failures.
51757         (parse_args): Don't mention expected failure handling in comment.
51758         (generate_testfile): Don't handle expected failures.
51759         (parse_ulps): Likewise.
51760         (print_ulps_file): Likewise.
51761         (get_failure): Remove function.
51762         (output_test): Don't handle expected failures.
51763         * make/README.libm-test: Don't mention expected failure handling.
51765         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51766         (minus_zero): Likewise.
51767         (plus_infty): Likewise.
51768         (minus_infty): Likewise.
51769         (qnan_value): Likewise.
51770         (max_value): Likewise.
51771         (min_value): Likewise.
51772         (min_subnorm_value): Likewise.
51773         (initialize): Do not initialize those variables dynamically.
51775 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51777         * io/open.c (__open_2): Moved to ...
51778         * io/open_2.c: ... this new file.
51779         * io/open64.c (__open64_2): Moved to ...
51780         * io/open64_2.c: ... this new file.
51781         * io/openat.c (__openat_2): Moved to ...
51782         * io/openat_2.c: ... this new file.
51783         * io/openat64.c (__openat64_2): Moved to ...
51784         * io/openat64_2.c: ... this new file.
51785         * io/Makefile (routines): Add them.
51786         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51787         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51788         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51789         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51790         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51791         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51792         (__openat64): Add hidden_ver.
51793         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51794         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51796         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51797         Separately conditionalize setting of GLRO(dl_sysinfo) so
51798         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51799         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51801 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51803         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51804         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51805         definition.
51806         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51807         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51808         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51809         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51810         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51812 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51814         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51815         test signgam value.
51817         * math/libm-test.inc (hypot_test): Do not use
51818         IGNORE_ZERO_INF_SIGN.
51820 2013-05-03  Andreas Jaeger  <aj@suse.de>
51822         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51823         Linux 3.9.
51824         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51825         (PF_MAX): Adjust for VSOCK change.
51827 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51831 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51833         [BZ #15264]
51834         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51835         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51836         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51838 2013-05-02  David S. Miller  <davem@davemloft.net>
51840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51842 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51844         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51846 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51848         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51850 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51852         [BZ #14952]
51853         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51854         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51855         Use __attribute__ ((__gnu_inline__)).
51856         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51857         Don't use __attribute__ ((__gnu_inline__)).
51859 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51861         [BZ #15423]
51862         * math/s_catan.c (__catan): Handle small real or imaginary part of
51863         input specially to avoid spurious underflow.
51864         * math/s_catanf.c (__catanf): Likewise.
51865         * math/s_catanh.c (__catanh): Likewise.
51866         * math/s_catanhf.c (__catanhf): Likewise.
51867         * math/s_catanhl.c (__catanhl): Likewise.
51868         * math/s_catanl.c (__catanl): Likewise.
51869         * math/libm-test.inc (catan_test): Add more tests.
51870         (catanh_test): Likewise.
51871         * sysdeps/i386/fpu/libm-test-ulps: Update.
51872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51874 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51878 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51880         [BZ #15416]
51881         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51882         accurately for denominator in atan2.
51883         * math/s_catanf.c (__catanf): Likewise.
51884         * math/s_catanh.c (__catanh): Likewise.
51885         * math/s_catanhf.c (__catanhf): Likewise.
51886         * math/s_catanhl.c (__catanhl): Likewise.
51887         * math/s_catanl.c (__catanl): Likewise.
51888         * math/libm-test.inc (catan_test): Add more tests.
51889         (catanh_test): Likewise.
51890         * sysdeps/i386/fpu/libm-test-ulps: Update.
51891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51893 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51895         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51897         * benchtests/Makefile (bench): Remove slow benchmarks.
51898         * benchtests/atan-inputs: Add slow benchmark inputs.
51899         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51900         (BENCH_FUNC): Accept variant offset.
51901         (VARIANT): Define.
51902         * benchtests/bench-skeleton.c (main): Run benchmark for each
51903         variant.
51904         * benchtests/cos-inputs: Add slow benchmark inputs.
51905         * benchtests/exp-inputs: Likewise.
51906         * benchtests/pow-inputs: Likewise.
51907         * benchtests/sin-inputs: Likewise.
51908         * benchtests/slowatan-inputs: Remove.
51909         * benchtests/slowatan.c: Remove.
51910         * benchtests/slowcos-inputs: Remove.
51911         * benchtests/slowcos.c: Remove.
51912         * benchtests/slowexp-inputs: Remove.
51913         * benchtests/slowexp.c: Remove.
51914         * benchtests/slowpow-inputs: Remove.
51915         * benchtests/slowpow.c: Remove.
51916         * benchtests/slowsin-inputs: Remove.
51917         * benchtests/slowsin.c: Remove.
51918         * benchtests/slowtan-inputs: Remove.
51919         * benchtests/slowtan.c: Remove.
51920         * benchtests/tan-inputs: Add slow benchmark inputs.
51921         * scripts/bench.pl: Parse comments and directives.
51923         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51924         in CPPFLAGS.
51925         ($(objpfx)bench-%.c): Remove *-ITER.
51926         * benchtests/bench-modf.c: Remove definition of ITER.
51927         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51928         (main): Loop for DURATION seconds instead of fixed number of
51929         iterations.
51930         * scripts/bench.pl: Don't expect iterations in parameters.
51932 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51934         * io/fchdir.c (__fchdir): Renamed from fchdir.
51935         (fchdir): Define as weak alias.
51937 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51939         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51940         (ERRNO_EDOM): Likewise.
51941         (ERRNO_ERANGE): Likewise.
51942         (noErrnoTests): New variable.
51943         (init_max_error): Set errno to 0.
51944         (test_single_errno): New function.
51945         (test_errno): Likewise.
51946         (check_float_internal): Call test_errno.  Set errno to 0.
51947         (check_complex): Refer to errno tests in comment.
51948         (check_int): Call test_errno.  Set errno to 0.
51949         (check_long): Likewise.
51950         (check_bool): Likewise.
51951         (check_longlong): Likewise.
51952         (cos_test): Use ERRNO_* flags for errno tests instead of
51953         check_int.
51954         (expm1_test): Likewise.
51955         (fmod_test): Likewise.
51956         (ilogb_test): Likewise.
51957         (lgamma_test): Likewise.
51958         (pow_test): Likewise.
51959         (remainder_test): Likewise.
51960         (sin_test): Likewise.
51961         (tan_test): Likewise.
51962         (yn_test): Likewise.
51963         (initialize): Set errno to 0.
51964         (main): Print number of errno tests.
51965         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51967 2013-04-29  Andreas Jaeger  <aj@suse.de>
51969         [BZ #15084]
51970         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51971         and RES_USEVC.
51973         [BZ #15085]
51974         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51975         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51976         unimplemented.
51978         [BZ #15380]
51979         * stdlib/random.c (__initstate): Return NULL if
51980         __initstate fails.
51982         [BZ #15086]
51983         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51984         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51985         RES_SNGLKUPREOP.
51987 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51991 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51993         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51994         of individual tests.
51995         (casin_test): Likewise.
51996         (casinh_test): Likewise.
51998 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52000         [BZ #15409]
52001         * math/s_catan.c (__catan): Handle arguments with large real or
52002         imaginary part separately without squaring.
52003         * math/s_catanf.c (__catanf): Likewise.
52004         * math/s_catanh.c (__catanh): Likewise.
52005         * math/s_catanhf.c (__catanhf): Likewise.
52006         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52007         and redefine.
52008         (__catanhl): Handle arguments with large real or imaginary part
52009         separately without squaring.
52010         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52011         and redefine.
52012         (__catanl): Handle arguments with large real or imaginary part
52013         separately without squaring.
52014         * math/libm-test.inc (catan_test): Add more tests.
52015         (catanh_test): Likewise.
52016         * sysdeps/i386/fpu/libm-test-ulps: Update.
52017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52019 2013-04-27  Andreas Jaeger  <aj@suse.de>
52021         [BZ #15007]
52022         * stdlib/stdlib.h: Update guards for qecvt.
52023         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52024         <stdlib.h>.
52026 2013-04-27  Allan McRae  <allan@archlinux.org>
52028         * sysdeps/i386/fpu/libm-test-ulps: Update.
52030 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52032         [BZ #15406]
52033         * math/s_catan.c: Include <float.h>.
52034         (__catan): Ensure underflow exception occurs for underflowed
52035         result.
52036         * math/s_catanf.c: Include <float.h>.
52037         (__catanf): Ensure underflow exception occurs for underflowed
52038         result.
52039         * math/s_catanh.c: Include <float.h>.
52040         (__catanh): Ensure underflow exception occurs for underflowed
52041         result.
52042         * math/s_catanhf.c: Include <float.h>.
52043         (__catanhf): Ensure underflow exception occurs for underflowed
52044         result.
52045         * math/s_catanhl.c: Include <float.h>.
52046         (__catanhl): Ensure underflow exception occurs for underflowed
52047         result.
52048         * math/s_catanl.c: Include <float.h>.
52049         (__catanl): Ensure underflow exception occurs for underflowed
52050         result.
52051         * math/libm-test.inc (catan_test): Add more tests.
52052         (catanh_test): Likewise.
52054         [BZ #15405]
52055         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52056         underflowed result.
52057         * math/s_ccoshf.c (__ccoshf): Likewise.
52058         * math/s_ccoshl.c (__ccoshl): Likewise.
52059         * math/s_csin.c (__csin): Likewise.
52060         * math/s_csinf.c (__csinf): Likewise.
52061         * math/s_csinh.c (__csinh): Likewise.
52062         * math/s_csinhf.c (__csinhf): Likewise.
52063         * math/s_csinhl.c (__csinhl): Likewise.
52064         * math/s_csinl.c (__csinl): Likewise.
52065         * math/libm-test.inc (ccos_test): Add more tests.
52066         (ccosh_test): Likewise.
52067         (csin_test): Likewise.
52068         (csinh_test): Likewise.
52070 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52072         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52073         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52074         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52075         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52076         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52077         powerpc/power5+/fpu folders.
52078         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52081 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52085 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52087         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52088         additions to variable.
52089         [$(config-machine) = x86_64] (modules-names): Likewise.
52090         ($(objpfx)tst-audit3): Remove dependency.
52091         ($(objpfx)tst-audit3.out): Likewise.
52092         ($(objpfx)tst-audit4): Likewise.
52093         ($(objpfx)tst-audit4.out): Likewise.
52094         ($(objpfx)tst-audit5): Likewise.
52095         ($(objpfx)tst-audit5.out): Likewise.
52096         ($(objpfx)tst-audit6): Likewise.
52097         ($(objpfx)tst-audit6.out): Likewise.
52098         ($(objpfx)tst-audit7): Likewise.
52099         ($(objpfx)tst-audit7.out): Likewise.
52100         (tst-audit3-ENV): Remove variable.
52101         (tst-audit4-ENV): Likewise.
52102         (tst-audit5-ENV): Likewise.
52103         (tst-audit6-ENV): Likewise.
52104         (tst-audit7-ENV): Likewise.
52105         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52106         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52107         addition to variable.
52108         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52109         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52110         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52111         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52112         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52113         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52114         tst-audit3, tst-audit4 and tst-audit5.
52115         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52116         tst-audit6 and tst-audit7.
52117         [$(subdir) = elf] (modules-names): Add audit modules for those
52118         tests.
52119         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52120         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52121         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52122         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52123         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52124         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52125         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52126         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52127         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52128         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52129         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52130         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52131         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52132         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52133         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52134         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52135         Likewise.
52136         [$(subdir) = elf && $(config-cflags-avx) = yes]
52137         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52138         [$(subdir) = elf && $(config-cflags-avx) = yes]
52139         (CFLAGS-tst-auditmod4a.c): Likewise.
52140         [$(subdir) = elf && $(config-cflags-avx) = yes]
52141         (CFLAGS-tst-auditmod4b.c): Likewise.
52142         [$(subdir) = elf && $(config-cflags-avx) = yes]
52143         (CFLAGS-tst-auditmod6b.c): Likewise.
52144         [$(subdir) = elf && $(config-cflags-avx) = yes]
52145         (CFLAGS-tst-auditmod6c.c): Likewise.
52146         [$(subdir) = elf && $(config-cflags-avx) = yes]
52147         (CFLAGS-tst-auditmod7b.c): Likewise.
52148         * elf/tst-audit3.c: Move to ...
52149         * sysdeps/x86_64/tst-audit3.c: ... here.
52150         * elf/tst-audit4.c: Move to ...
52151         * sysdeps/x86_64/tst-audit4.c: ... here.
52152         * elf/tst-audit5.c: Move to ...
52153         * sysdeps/x86_64/tst-audit5.c: ... here.
52154         * elf/tst-audit6.c: Move to ...
52155         * sysdeps/x86_64/tst-audit6.c: ... here.
52156         * elf/tst-audit7.c: Move to ...
52157         * sysdeps/x86_64/tst-audit7.c: ... here.
52158         * elf/tst-auditmod3a.c: Move to ...
52159         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52160         * elf/tst-auditmod3b.c: Move to ...
52161         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52162         * elf/tst-auditmod4a.c: Move to ...
52163         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52164         * elf/tst-auditmod4b.c: Move to ...
52165         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52166         * elf/tst-auditmod5a.c: Move to ...
52167         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52168         * elf/tst-auditmod5b.c: Move to ...
52169         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52170         * elf/tst-auditmod6a.c: Move to ...
52171         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52172         * elf/tst-auditmod6b.c: Move to ...
52173         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52174         * elf/tst-auditmod6c.c: Move to ...
52175         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52176         * elf/tst-auditmod7a.c: Move to ...
52177         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52178         * elf/tst-auditmod7b.c: Move to ...
52179         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52181 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52183         [BZ #15366]
52184         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52185         define unconditionally.
52186         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52187         define unconditionally.
52188         (INT8_C, INT16_C, etc.): Likewise.
52190 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52192         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52193         __ehdr_start with hidden visibility.
52195         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52197 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52199         * math/libm-test.inc (cos_test): Use accurate hex constants.
52200         (sincost_test): Likewise.
52202 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52204         * math/libm-test.inc (catan_test): Add more tests.
52205         (catanh_test): Likewise.
52207         * math/s_catanf.c (__catanf): Use suffixed floating-point
52208         constants.
52209         * math/s_catanhf.c (__catanhf): Likewise.
52210         * math/s_catanhl.c (__catanhl): Likewise.
52211         * math/s_catanl.c (__catanl): Likewise.
52213         [BZ #15394]
52214         * math/s_catan.c (__catan): Calculate imaginary part of result
52215         with log1p not log unless computing log of number close to 0.
52216         * math/s_catanf.c (__catanf): Likewise.
52217         * math/s_catanl.c (__catanl): Likewise.
52218         * math/s_catanh.c (__catanh): Calculate real part of result with
52219         log1p not log unless computing log of number close to 0.
52220         * math/s_catanhf.c (__catanhf): Likewise.
52221         * math/s_catanhl.c (__catanhl): Likewise.
52222         * math/libm-test.inc (catan_test): Add more tests.
52223         (catanh_test): Likewise.
52224         * sysdeps/i386/fpu/libm-test-ulps: Update.
52225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52227 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52229         * benchtests/Makefile: Mention files in which fast and slow
52230         paths of math functions are implemented.
52232 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52234         * sysdeps/posix/timespec_get.c: New file.
52236 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52238         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52239         POWER.
52240         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52241         for POWER.
52242         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52243         powerpc/power5/fpu folders.
52244         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52245         * benchtests/Makefile: Add modf testcase.
52246         * benchtests/bench-modf.c: New file: Benchmark test for mo
52248 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52250         [BZ #14888]
52251         * time/Makefile (tests): Add tst-strptime-whitespace.
52252         * time/strptime_l.c (get_number): Use ISSPACE.
52253         (__strptime_internal): Likewise.
52254         * time/tst-strptime-whitespace.c: New test case.
52256 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52258         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52259         member.
52260         (_nss_files_init): Set it here.
52262 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52264         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52265         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52266         unsigned.
52268 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52270         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52272 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52274         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52275         size just once.
52277 2013-04-21  David S. Miller  <davem@davemloft.net>
52279         * po/ru.po: Update Russion translation from translation project.
52281 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52283         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52284         and setfsgid.
52286 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52288         * configure.in: Remove i386 configure warning. Remove i386 case.
52289         * configure: Regenerate.
52290         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52291         Add example to error message.
52292         * sysdeps/i386/configure: Regenerate.
52294 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52296         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52297         slowtan.
52298         * benchtests/cos-inputs: New file.
52299         * benchtests/slowcos-inputs: New file.
52300         * benchtests/slowcos.c: New file.
52301         * benchtests/slowtan-inputs: New file.
52302         * benchtests/slowtan.c: New file.
52303         * benchtests/tan-inputs: New file.
52305 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52307         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52308         considered kosher.
52310 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52312         * benchtests/Makefile: Include cppflags-iterator.mk to add
52313         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52315         * Makefile.in (bench-clean): New target.
52316         * benchtests/Makefile (bench-clean): Likewise.
52318 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52320         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52322 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52324         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52326 2013-04-15  Andreas Schwab  <schwab@suse.de>
52328         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52329         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52330         * nscd/pwdcache.c (cache_addpw): Likewise.
52331         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52332         more than recsize.
52334 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52336         * benchtests/Makefile (bench): Write all output to
52337         bench-out.tmp together.
52339 2013-04-15  Andreas Schwab  <schwab@suse.de>
52341         * nscd/nscd.c (main): Don't fork again after closing files.
52343 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52345         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52347         * benchtests/Rules (bench-deps): Collect dependencies into a
52348         single variable.  Add Makefile to dependencies.
52349         ($(objpfx)bench-%.c): Depend on bench-deps.
52351 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52352             Xavier Roche  <roche+kml2@exalead.com>
52354         [BZ #15361]
52355         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52356         just that it's a file descriptor.
52357         * manual/llio.texi (Synchronizing AIO Operations): Update description
52358         for EBADF error from aio_fsync.
52360 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52362         * Rules (bench): Move target definition...
52363         * benchtests/Makefile: ... here.
52365 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52367         * math/libm-test.inc (cos_test): Fix PI/2 test.
52368         (sincos_test): Likewise.
52369         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52370         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52372 2013-04-11  Andreas Schwab  <schwab@suse.de>
52374         [BZ #13988]
52375         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52376         accept exponent character only when digits were seen.
52377         * stdio-common/Makefile (tests): Add bug26.
52378         * stdio-common/bug26.c: New file.
52380         [BZ #14293]
52381         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52382         non-freeable.
52384 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52386         * Makeconfig (rtld-prefix): Define built linker prefix.
52387         * Rules (run-bench): Use it.
52388         * math/Makefile (run-regen-ulps): Likewise.
52390         * Rules (bench): Remove eval.
52392 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52393             Roland McGrath  <roland@hack.frob.com>
52394             Ondrej Bilka  <neleai@seznam.cz>
52396         [BZ #15346]
52397         * time/getdate.c: Include ctype.h and alloca.h.
52398         (__getdate_r): Trim leading and trailing spaces of input.
52399         * time/tst-getdate.c (tests): Add tests with leading and
52400         trailing spaces.
52402 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52404         [BZ #14280]
52405         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52406         when computing value.
52408 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52410         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52411         Use testrun.sh to run libm tests.
52413         [BZ #15309]
52414         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52416 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52418         [BZ #15264]
52419         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52421 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52423         * Makefile.in (regen-ulps): New target.
52424         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52425         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52426         [ifneq (no,$(PERL)] (regen-ulps): New target.
52427         [ifeq (no,$(PERL)] (regen-ulps): New target.
52428         * math/libm-test.inc (ulps_file_name): Define.
52429         (output_dir): New variable.
52430         (options): Add "output-dir" option.
52431         (parse_opt): Handle 'o' case.
52432         (main): If output_dir is non-NULL use it as a prefix
52433         otherwise use "".
52434         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52436 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52438         [BZ #10060, #10062]
52439         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52440         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52441         fail configure if __sync_val_compare_and_swap is not inlined.
52442         * sysdeps/i386/configure: Regenerate.
52443         * configure.in: Build for i686 when configured for i386.
52444         * configure: Regenerate.
52445         * README: Remove i386 reference.
52447 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52449         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52450         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52452 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52454         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52455         (lmsnanval): New variables.
52456         (F): Add conversion tests.
52457         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52458         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52460         * stdio-common/tstdiomisc.c (F): Properly collect individual
52461         tests' results.
52463         [BZ #14686, #15336]
52464         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52465         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52466         Instead, use input NaN values or generate a qNaN by arithmetic
52467         operation.  Also fix bugs to comply with the standard.
52468         * math/libm-test.inc (remainder_test): Add more tests.
52470         [BZ #15335, #15342]
52471         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52472         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52473         input NaN values or generate a qNaN by arithmetic operation.
52475         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52476         unreachable code.
52478         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52479         definitions.
52481 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52483         [BZ #14478]
52484         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52485         underflowed result.
52486         * math/s_cexpf.c (__cexpf): Likewise.
52487         * math/s_cexpl.c (__cexpl): Likewise.
52488         * math/libm-test.inc (cexp_test): Add more tests.
52490 2013-04-03  Andreas Schwab  <schwab@suse.de>
52492         [BZ #15330]
52493         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52494         order arrays from heap if bigger than alloca cutoff.
52496 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52498         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52499         (SNAN_TESTS_double): Refer to GCC PR56831.
52500         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52501         GCC PR56828.
52503 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52505         * Rules (bench): Move bench.out after the run is complete.
52507         * Rules (bench): Echo currently running benchmark.
52509         * benchtests/Makefile (bench): Add atan and slowatan.
52510         * benchtests/atan-inputs: New file.
52511         * benchtests/slowatan-inputs: New file.
52512         * benchtests/slowatan.c: New file.
52514         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52515         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52516         its value.
52518         [BZ #15305]
52519         * sysdeps/unix/sysv/linux/kernel-features.h
52520         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52521         __ASSUME_XFS_RESTRICTED_CHOWN.
52522         * sysdeps/unix/sysv/linux/pathconf.c
52523         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52524         Save and restore errno.
52526 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52528         [BZ #15327]
52529         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52530         arguments using __kernel_casinh.
52531         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52532         arguments using __kernel_casinhf.
52533         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52534         arguments using __kernel_casinhl.
52535         * math/libm-test.inc (cacosh_test): Add more tests.
52536         * sysdeps/i386/fpu/libm-test-ulps: Update.
52537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52539 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52541         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52542         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52544         * bench/Makefile (bench): Add sin and slowsin.
52545         * benchtests/sin-inputs: New file.
52546         * benchtests/slowsin-inputs: New file.
52547         * benchtests/slowsin.c: New file.
52549         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52550         (bench): Add slowexp and slowpow.
52551         (exp-ITER): Increase iterations.
52552         (pow-ITER): Likewise.
52553         * benchtests/exp-inputs: Change input.
52554         * benchtests/pow-inputs: Likewise.
52555         * benchtests/slowexp-inputs: New file.
52556         * benchtests/slowexp.c: New file.
52557         * benchtests/slowpow-inputs: New file.
52558         * benchtests/slowpow.c: New file.
52560 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52562         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52563         instructions.
52564         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52565         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52566         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52567         * benchtests/Makefile: Add rint benchtest.
52568         * benchtests/rint-inputs: Input for rint benchtest.
52570 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52572         * Versions.def (libm): Add GLIBC_2.18.
52573         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52574         hidden libm prototypes.
52575         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52576         * math/Makefile (libm-calls): Add s_issignaling.
52577         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52578         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52579         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52580         declaration.
52581         * math/math.h [__USE_GNU] (issignaling): New macro.
52582         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52583         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52584         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52585         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52586         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52587         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52588         * manual/arith.texi (issignaling): New section.
52589         * manual/libm-err-tab.pl (@all_functions): Update comment.
52590         * math/gen-libm-test.pl (parse_args): Apply special handling for
52591         issignaling.
52592         * math/libm-test.inc (print_float, issignaling_test): New
52593         functions.
52594         (check_float_internal): Add issignaling checks.
52595         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52596         default definition.
52597         * sysdeps/powerpc/math-tests.h: New file.
52598         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52599         tests.
52600         * math/test-snan.c (TEST_FUNC): Likewise.
52602 2013-03-30  David S. Miller  <davem@davemloft.net>
52604         * po/de.po: Update from translation team.
52606 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52608         [BZ #10357]
52609         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52610         imaginary part less than 1.0 and real part less than 0.5
52611         specially.
52612         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52613         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52614         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52615         (cacos_test): Add more tests.
52616         (casin_test): Likewise.
52617         (casinh_test): Likewise.
52618         * sysdeps/i386/fpu/libm-test-ulps: Update.
52619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52621 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52623         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52624         ONE with its value.
52626         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52627         (__pow_mp): Replace ONE and MONE with their values.
52628         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52629         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52630         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52631         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52632         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52633         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52635         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52637         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52638         (__pow_mp): Replace ZERO and MZERO with their values.
52639         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52640         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52641         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52643         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52644         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52645         (__sqr): Likewise.
52647         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52649         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52651 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52653         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52654         Declare with __attribute__ ((weak)).
52655         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52656         Call __call_tls_dtors only if it's not NULL.
52658 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52660         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52661         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52662         magic __ehdr_start linker symbol if it's defined.
52663         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52664         them up here if it was already done.
52666         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52667         (_dl_aux_init): Use const in cast when setting it.
52668         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52669         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52670         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52672         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52673         Declare them here.
52674         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52675         * csu/libc-tls.c: Nor here.
52676         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52678         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52679         (__libc_message): Never call vsyslog.
52681 2013-03-28  Alan Modra  <amodra@gmail.com>
52683         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52684         Define as empty.
52685         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52686         Likewise.
52688 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52690         [BZ #15214]
52691         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52692         underflow.
52693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52695 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52697         [BZ #15304]
52698         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52699         Don't add gid passed as argument.
52701         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52703 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52705         [BZ #15307]
52706         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52707         imaginary part between 1.0 and 1.5 and real part less than 0.5
52708         specially.
52709         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52710         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52711         * math/libm-test.inc (cacos_test): Add more tests.
52712         (casin_test): Likewise.
52713         (casinh_test): Likewise.
52714         * sysdeps/i386/fpu/libm-test-ulps: Update.
52715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52717 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52719         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52720         constants.
52721         (norm): Likewise.
52722         (denorm): Likewise.
52723         (__dbl_mp): Likewise.
52724         (add_magnitudes): Likewise.
52725         (sub_magnitudes): Likewise.
52726         (__add): Likewise.
52727         (__sub): Likewise.
52728         (__mul): Likewise.
52729         (__sqr): Likewise.
52730         (__inv): Likewise.
52731         (__dvd): Likewise.
52733         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52734         commented code.
52735         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52736         (__dubcos): Likewise.
52737         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52738         (__ieee754_acos): Likewise.
52739         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52740         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52741         (__exp1): Likewise.
52742         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52743         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52744         (log1): Likewise.
52745         (my_log2): Likewise.
52746         (checkint): Likewise.
52747         * sysdeps/ieee754/dbl-64/e_remainder.c
52748         (__ieee754_remainder): Likewise.
52749         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52750         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52751         (bsloww): Likewise.
52752         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52754         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52755         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52756         MANTISSA_STORE_T to store computations on mantissa.  Use
52757         macros for rounding and division.
52758         (denorm): Likewise.
52759         (__dbl_mp): Likewise.
52760         (add_magnitudes): Likewise.
52761         (sub_magnitudes): Likewise.
52762         (__mul): Likewise.
52763         (__sqr): Likewise.
52764         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52765         powers of two in terms of TWOPOW macro.
52766         (mp_no): Make type of mantissa as MANTISSA_T.
52767         [!RADIXI]: Define RADIXI.
52768         [!TWO52]: Define TWO52.
52769         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52771 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52773         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52774         llroundl symbol when building for PPC32.
52776 2013-03-24  Mark H Weaver  <mhw@netris.org>
52778         * manual/arith.texi (Normalization Functions): Fix prototypes for
52779         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52781 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52783         [BZ #13889]
52784         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52785         high value to check if expl overflow.
52786         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52787         to check for underflow and overflow.
52788         * math/libm-test.inc: Add exp test.
52790 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52792         [BZ #11120]
52793         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52794         with NOT_IN_libc.
52796 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52798         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52799         symbol.
52801 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52803         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52804         wrap blocks consisting of several statements.
52806         * sysdeps/generic/math-tests.h: New file.
52807         * sysdeps/i386/fpu/math-tests.h: Likewise.
52808         * math/test-snan.c: Include it.
52809         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52811 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52813         [BZ #15285]
52814         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52815         (__ieee754_j0l): Do not improve calculations using cos of twice
52816         input for inputs above LDBL_MAX / 2.0L.
52817         (__ieee754_y0l): Likewise.
52818         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52819         (__ieee754_j1l): Do not improve calculations using cos of twice
52820         input for inputs above LDBL_MAX / 2.0L.
52821         (__ieee754_y1l): Likewise.
52822         * math/libm-test.inc (j0_test): Add another test.
52823         (j1_test): Likewise.
52824         (y0_test): Likewise.
52825         (y1_test): Likewise.
52826         * sysdeps/i386/fpu/libm-test-ulps: Update.
52828 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52830         * Rules ($(objpfx)bench-%.c): Include code from a C source
52831         file.
52833 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52835         [BZ #15287]
52836         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52837         imaginary part 1.0 and real part less than 0.5 specially.
52838         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52839         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52840         * math/libm-test.inc (cacos_test): Add more tests.
52841         (casin_test): Likewise.
52842         (casinh_test): Likewise.
52843         * sysdeps/i386/fpu/libm-test-ulps: Update.
52844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52846 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52848         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52849         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52851 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52853         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52854         * config.make.in (config-cflags-sse4): Remove variable.
52855         (config-cflags-avx): Likewise.
52856         (config-cflags-sse2avx): Likewise.
52857         (config-cflags-novzeroupper): Likewise.
52858         (config-asflags-i686): Likewise.
52859         (have-mfma4): Likewise.
52860         (have-as-vis3): Likewise.
52861         (MIG): Likewise.
52862         * configure.in (MIG): Do not AC_SUBST.
52863         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52864         (libc_cv_cc_sse4): Do not AC_SUBST.
52865         (libc_cv_cc_avx): Likewise.
52866         (libc_cv_cc_sse2avx): Likewise.
52867         (libc_cv_cc_novzeroupper): Likewise.
52868         (libc_cv_cc_fma4): Likewise.
52869         (libc_cv_as_i686): Likewise.
52870         (libc_cv_sparc_as_vis3): Likewise.
52871         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52872         LIBC_CONFIG_VAR.
52873         (config-asflags-i686): Likewise.
52874         (config-cflags-avx): Likewise.
52875         (config-cflags-sse2avx): Likewise.
52876         (have-mfma4): Likewise.
52877         (config-cflags-novzeroupper): Likewise.
52878         * sysdeps/mach/configure.in (MIG): Likewise.
52879         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52880         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52881         LIBC_CONFIG_VAR.
52882         (config-cflags-avx): Likewise.
52883         (config-cflags-sse2avx): Likewise.
52884         (have-mfma4): Likewise.
52885         (config-cflags-novzeroupper): Likewise.
52886         * configure: Regenerated.
52887         * sysdeps/i386/configure: Likewise.
52888         * sysdeps/mach/configure: Likewise.
52889         * sysdeps/sparc/configure: Likewise.
52890         * sysdeps/x86_64/configure: Likewise.
52892 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52894         [BZ #14812]
52895         * locale/programs/localedef.c (options): Put N_ translation marker
52896         on argument names, not just descriptions.
52898 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52900         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52902 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52904         [BZ #14176]
52905         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52907 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52909         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52910         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52911         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52912         [!BEFORE_ABORT] (before_abort): New function.
52913         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52914         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52915         (writev_for_fatal): New function.
52916         (WRITEV_FOR_FATAL): New macro; call that.
52917         (backtrace_and_maps): New function.
52918         (BEFORE_ABORT): New macro; call that.
52919         (struct str_list): Type removed.
52920         (__libc_message, __libc_fatal): Functions removed.
52921         Include <sysdeps/posix/libc_fatal.c> instead.
52923 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52925         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52926         constants.
52927         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52928         double constants.
52930 2013-03-19  Andreas Schwab  <schwab@suse.de>
52932         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52933         * sysdeps/gnu/configure: Regenerate.
52935         * configure.in: Substitute libc_cv_rtlddir.
52936         * configure: Regenerate.
52937         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52938         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52939         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52940         * elf/Makefile (install-others, CFLAGS-interp.c)
52941         (ldso_install, common-ldd-rewrite): Likewise.
52942         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52943         $(inst_slibdir)/$(rtld-installed-name).
52944         * scripts/rellns-sh: Add -p option.
52945         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52946         for source.
52948 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52950         * manual/nptl.texi: Renamed to ...
52951         * manual/threads.texi: ... this.
52952         * manual/Makefile (chapters): Update.
52954 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52956         [BZ #14812]
52957         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52958         on argument names, not just descriptions.
52959         * malloc/memusagestat.c (options): Likewise.
52960         * nss/getent.c (options): Likewise.
52962 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52964         [BZ #14812]
52965         * iconv/iconv_prog.c (options): Put N_ translation marker
52966         on argument names, not just descriptions.
52967         * iconv/iconvconfig.c (options): Likewise.
52969 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52971         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52972         implementation which is faster on all x86_64 architectures.
52973         Tested on AMD, Intel Nehalem, SNB, IVB.
52974         * sysdeps/x86_64/strnlen.S: Likewise.
52976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52977         Remove all multiarch strlen and strnlen versions.
52978         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52979         Remove strlen and strnlen related parts.
52981         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52982         Inline strlen part.
52983         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52985         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52986         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52987         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52988         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52989         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52990         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52992 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52994         * manual/memory.texi (Malloc Tunable Parameters):
52995         Sort parameters alphabetically. Add comments for missing entries.
52997 2013-03-17  David S. Miller  <davem@davemloft.net>
52999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53001 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53003         [BZ #15283]
53004         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53005         for arguments at most half maximum finite value.
53006         * math/libm-test.inc (j0_test): Add more tests.
53007         (j1_test): Likewise.
53008         (y0_test): Likewise.
53009         (y1_test): Likewise.
53010         * sysdeps/i386/fpu/libm-test-ulps: Update.
53011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53013         [BZ #14155]
53014         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53015         1 / x and functions P and Q for arguments above 0x1p256L.
53016         (__ieee754_y0l): Likewise.
53017         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53018         (__ieee754_y1l): Likewise.
53019         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53020         (j1_test): Likewise.
53021         (y0_test): Likewise.
53022         (y1_test): Likewise.
53024 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53026         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53027         variable.
53029 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53031         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53032         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53033         zero since it's initialized to EXEC_PAGESIZE.
53035         * sysdeps/unix/sysv/linux/ldsodefs.h
53036         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53037         * sysdeps/generic/ldsodefs.h: ... here.
53039 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53041         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53043         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53044         math/test-snan.c.
53045         * math/test-snan.c: Renamed from
53046         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53047         * math/Makefile (tests): Add test-snan.
53048         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53049         test-powerpc-snan.
53051         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53052         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53053         functions.
53054         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53055         __builtin_nan family of functions.
53056         * math/libm-test.inc (initialize): Initialize qnan_value with
53057         __builtin_nan family of functions.
53058         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53059         Remove variables.
53060         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53061         Remove functions.
53062         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53063         storage class.  Initialize qNaN_var and sNaN_var with
53064         __builtin_nan and __builtin_nans families of functions,
53065         respectively.
53067         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53068         (sqrt_test): Remove duplicate test with qNaN input.
53069         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53070         (round_test, signbit_test, significand_test): Note missing +/-Inf
53071         as well as qNaN tests.
53073         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53074         qNaN_var.  Fix a few strings, too.
53075         * math/libm-test.inc (nan_value): Rename to qnan_value.
53076         * math/gen-libm-test.pl (%beautify): Adjust to that.
53077         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53078         * math/test-misc.c (main): Likewise.
53079         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53080         to __qnan_bytes, and __qnan_union, respectively.
53081         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53082         Likewise.
53083         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53084         and lqnanval, respectively.
53085         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53086         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53087         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53088         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53090         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53091         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53092         doubles.
53094         * math/test-misc.c (main): Fix copy'n'pastos.
53095         * misc/tst-efgcvt.c (special): Likewise.
53097         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53098         Remove declarations.
53100 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53102         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53103         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53104         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53105         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53107 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53109         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53110         macro to return vdso values correctly in IFUNC implementations.
53111         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53112         Optimization by using IFUNC.
53114 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53115             Richard Henderson  <rth@redhat.com>
53116             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53118         * Makefile.in (bench): New target.
53119         * NEWS: Mention the benchmark framework.
53120         * Rules (bench): Likewise.
53121         (binaries-bench): Generate binaries for functions to
53122         benchmark.
53123         * benchtests/Makefile: New makefile for benchmark tests.
53124         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53125         programs.
53126         * benchtests/exp-inputs: New input file for EXP function.
53127         * benchtests/pow-inputs: New input file for POW function.
53128         * scripts/bench.pl: New script to generate source files for
53129         benchmark programs.
53131 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53133         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53134         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53135         computations on mantissa.  Use macros for rounding and
53136         division.
53137         (denorm): Likewise.
53138         (__dbl_mp): Likewise.
53139         (add_magnitudes): Likewise.
53140         (sub_magnitudes): Likewise.
53141         (__mul): Likewise.
53142         (__sqr): Likewise.
53143         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53144         powers of two in terms of TWOPOW macro.
53145         (mp_no): Make type of mantissa as MANTISSA_T.
53146         [!RADIXI]: Define RADIXI.
53147         [!TWO52]: Define TWO52.
53148         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53150         * manual/nptl.texi (cindex): Modify threads to pthreads.
53152 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53154         * sysdeps/x86_64/preconfigure: Regenerated.
53156 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53158         [BZ #14155]
53159         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53160         0x1p28 and above.
53161         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53162         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53163         0x1p28 and above.
53164         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53165         * math/libm-test.inc (j0_test): Do not allow one spurious
53166         underflow exception.
53167         (y1_test): Likewise.
53169 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53171         * manual/Makefile (chapters): Add nptl.
53172         * manual/debug.texi (Debugging Support): Add link to Threads
53173         chapter.
53174         * manual/nptl.texi: New file.
53176         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53178 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53180         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53181         for non-NULL pointer before the memory validity test. Pointed
53182         out by Holger Brunck <holger.brunck@keymile.com>.
53184 2013-03-13  Andreas Schwab  <schwab@suse.de>
53186         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53187         instead of .os.
53189 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53191         * timezone/zic.c: Update from tzcode 2013b.
53193 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53195         * manual/install.texi (Configuring and compiling):
53196         Mention i686 and i586.
53197         * INSTALL: Regenerate.
53199 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53201         * sysdeps/init_array/elf-init.c: New file.
53202         * csu/elf-init.c
53203         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53204         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53206         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53207         __gmon_start__ as global, but as static with a .preinit_array pointer.
53208         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53209         * sysdeps/init_array/crti.S: New file, empty except for comments.
53210         * sysdeps/init_array/crtn.S: Likewise.
53212 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53214         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53215         definining bcopy.
53216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53217         Remove Prefer_SSE_for_memop.
53218         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53219         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53220         HAS_PREFER_SSE_FOR_MEMOP.
53221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53222         memset-x86-64.
53223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53224         Remove bzero, memset ifunc support.
53225         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53226         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53227         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53228         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53230 2013-03-11  Andreas Schwab  <schwab@suse.de>
53232         [BZ #15234]
53233         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53234         by SHLIB_COMPAT.
53235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53236         (GLIBC_2.16): Remove pthread_atfork.
53238 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53240         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53241         (ptestcases.h): Likewise.
53243 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53245         * Makeconfig ($(common-objpfx)config.status): Depend on
53246         sysdeps/*/preconfigure{,.in} too.
53248 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53250         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53251         (__free_hook): Use void * instead of __malloc_ptr_t.
53252         (__malloc_hook): Likewise.
53253         (__realloc_hook): Likewise.
53254         (__memalign_hook): Likewise.
53255         (__after_morecore_hook): Likewise.
53256         * malloc/arena.c (save_malloc_hook): Likewise.
53257         (save_free_hook): Likewise.
53258         * malloc/hooks.c (malloc_hook_ini): Likewise.
53259         (realloc_hook_ini): Likewise.
53260         (memalign_hook_ini): Likewise.
53261         * malloc/malloc.c (malloc_hook_ini): Likewise.
53262         (realloc_hook_ini): Likewise.
53263         (memalign_hook_ini): Likewise.
53264         (__free_hook): Likewise.
53265         (__malloc_hook): Likewise.
53266         (__realloc_hook): Likewise.
53267         (__memalign_hook): Likewise.
53268         (__libc_malloc): Likewise.
53269         (__libc_free): Likewise.
53270         (__libc_realloc): Likewise.
53271         (__libc_memalign): Likewise.
53272         (__libc_valloc): Likewise.
53273         (__libc_pvalloc): Likewise.
53274         (__libc_calloc): Likewise.
53275         (__posix_memalign): Likewise.
53276         * malloc/morecore.c (__sbrk): Likewise.
53277         (__default_morecore): Likewise.
53279         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53281         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53282         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53283         __malloc_ptrdiff_t.
53285         * malloc/malloc.h (__malloc_size_t): Remove macro.
53286         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53287         __malloc_size_t.
53288         (old_memalign_hook): Likewise.
53289         (old_realloc_hook): Likewise.
53290         (struct hdr): Likewise.
53291         (flood): Likewise.
53292         (mallochook): Likewise.
53293         (memalignhook): Likewise.
53294         (reallochook): Likewise.
53295         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53296         (tr_old_realloc_hook): Likewise.
53297         (tr_old_memalign_hook): Likewise.
53298         (tr_mallochook): Likewise.
53299         (tr_reallochook): Likewise.
53300         (tr_memalignhook): Likewise.
53302 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53304         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53305         default_ldbl_pack and using as default implementation.
53306         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53307         implementation.
53308         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53309         redundant definition.
53310         (ldbl_insert_mantissa): Likewise.
53311         (ldbl_canonicalize): Likewise.
53312         (ldbl_nearbyint): Likewise.
53313         (ldbl_pack): Rename to ldbl_pack_ppc.
53314         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53315         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53316         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53318 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53321         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53322         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53323         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53325         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53326         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53327         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53329 2013-03-07  Andreas Jaeger  <aj@suse.de>
53331         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53332         bits/mman-linux.h.
53334 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53336         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53337         Include mpa.h and declare __MPEXP.
53338         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53339         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53340         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53341         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53342         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53343         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53344         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53346         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53347         (__slowpow): Use long double EXPL and LOGL functions to
53348         compute POW.
53349         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53350         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53351         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53352         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53353         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53354         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53357         intermediate variable to calculate exponent.
53358         (__sqr): Likewise.
53359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53360         Likewise.
53361         (__sqr): Likewise.
53363         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53364         [!NO__SQR]: Define __sqr.
53365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53366         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53367         sysdeps/ieee754/dbl-64/mpa.c.
53368         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53370         [BZ #12723]
53371         * posix/Makefile (tests): Add tst-pathconf.
53372         * posix/tst-pathconf.c: New test case.
53373         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53374         _PC_PIPE_BUF.
53375         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53377 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53379         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53381 2013-03-06  Andreas Jaeger  <aj@suse.de>
53383         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53384         definition via __MAP_ANONYMOUS.
53386         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53387         it's not part of Linux headers.
53389         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53390         (MAP_HUGE_MASK): Define.
53392         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53393         Define.
53394         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53395         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53396         Define.
53397         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53398         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53399         Define.
53400         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53401         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53402         Define.
53403         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53405         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53406         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53407         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53408         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53409         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53410         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53412         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53413         Handle f2fs.
53415         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53416         Handle f2fs and efivarfs.
53418         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53419         f2fs.
53421         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53422         (EFIVARFS_MAGIC): Add.
53423         (F2FS_LINK_MAX): Add.
53425 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53427         * stdio-common/vfprintf.c: Replace __builtin_expect with
53428         __glibc_unlikely.
53430 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53432         [BZ #13550]
53433         * sysdeps/generic/bp-sym.h: Remove file.
53434         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53435         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53436         <bp-sym.h> and <bp-asm.h>.
53437         (__longjmp): Don't use BP_SYM.
53438         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53439         and <bp-asm.h>.
53440         (memcpy): Don't use BP_SYM.
53441         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53442         <bp-sym.h> and <bp-asm.h>.
53443         (memcpy): Don't use BP_SYM.
53444         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53445         <bp-asm.h>.
53446         (memcpy): Don't use BP_SYM.
53447         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53448         <bp-asm.h>.
53449         (memset): Don't use BP_SYM.
53450         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53451         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53452         (__bzero): Don't use BP_SYM.
53453         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53454         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53455         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53456         <bp-sym.h> and <bp-asm.h>.
53457         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53458         pointers.
53459         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53460         <bp-sym.h> and <bp-asm.h>.
53461         (memcpy): Don't use BP_SYM.
53462         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53463         <bp-sym.h> and <bp-asm.h>.
53464         (memset): Don't use BP_SYM.
53465         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53466         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53467         (__bzero): Don't use BP_SYM.
53468         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53469         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53470         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53471         <bp-sym.h> and <bp-asm.h>.
53472         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53473         pointers.
53474         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53475         <bp-sym.h> and <bp-asm.h>.
53476         (memcpy): Don't use BP_SYM.
53477         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53478         <bp-sym.h> and <bp-asm.h>.
53479         (memset): Don't use BP_SYM.
53480         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53481         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53482         (__bzero): Don't use BP_SYM.
53483         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53484         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53485         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53486         <bp-sym.h> and <bp-asm.h>.
53487         (__memchr): Don't use BP_SYM.
53488         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53489         <bp-sym.h> and <bp-asm.h>.
53490         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53491         pointers.
53492         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53493         <bp-sym.h> and <bp-asm.h>.
53494         (memcpy): Don't use BP_SYM.
53495         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53496         <bp-sym.h> and <bp-asm.h>.
53497         (__mempcpy): Don't use BP_SYM.
53498         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53499         <bp-sym.h> and <bp-asm.h>.
53500         (__memrchr): Don't use BP_SYM.
53501         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53502         <bp-sym.h> and <bp-asm.h>.
53503         (memset): Don't use BP_SYM.
53504         (__bzero): Likewise.
53505         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53506         <bp-sym.h> and <bp-asm.h>.
53507         (__rawmemchr): Don't use BP_SYM.
53508         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53509         <bp-sym.h> and <bp-asm.h>.
53510         (__STRCMP): Don't use BP_SYM.
53511         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53512         <bp-sym.h> and <bp-asm.h>.
53513         (strchr): Don't use BP_SYM.
53514         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53515         <bp-sym.h> and <bp-asm.h>.
53516         (__strchrnul): Don't use BP_SYM.
53517         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53518         <bp-sym.h> and <bp-asm.h>.
53519         (strlen): Don't use BP_SYM.
53520         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53521         <bp-sym.h> and <bp-asm.h>.
53522         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53523         pointers.
53524         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53525         <bp-sym.h> and <bp-asm.h>.
53526         (__strnlen): Don't use BP_SYM.
53527         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53528         <bp-sym.h> and <bp-asm.h>.
53529         (__GI__setjmp): Don't use BP_SYM.
53530         (_setjmp): Likewise.
53531         (__sigsetjmp): Likewise.
53532         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53533         (L(start_addresses)): Don't use BP_SYM.
53534         (_start): Likewise.
53535         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53536         <bp-asm.h>.
53537         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53538         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53539         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53540         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53541         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53542         <bp-asm.h>.
53543         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53544         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53545         about bounded pointers.
53546         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53547         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53548         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53549         <bp-asm.h>.
53550         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53551         about bounded pointers.  Remove GKM FIXME comments.
53552         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53553         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53554         <bp-asm.h>.
53555         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53556         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53557         Remove GKM FIXME comments.
53558         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53559         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53560         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53561         <bp-asm.h>.
53562         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53563         about bounded pointers.  Remove GKM FIXME comment.
53564         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53565         and <bp-asm.h>.
53566         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53567         pointers.
53568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53569         <bp-sym.h> and <bp-asm.h>.
53570         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53572         <bp-sym.h> and <bp-asm.h>.
53573         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53574         comment.
53576 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53578         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53579         call free(NULL).
53581 2013-03-05  David S. Miller  <davem@davemloft.net>
53583         * po/es.po: Update from translation team.
53585 2013-03-05  Andreas Jaeger  <aj@suse.de>
53587         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53588         <bits/mman-linux.h>.
53589         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53590         is fine.
53591         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53592         <bits/mman-linux.h> to end of file.
53593         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53594         is fine.
53595         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53596         <bits/mman-linux.h> to end of file.
53597         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53598         is fine.
53599         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53600         <bits/mman-linux.h> to end of file.
53602         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53603         (MCL_CURRENT, MCL_FUTURE): Define here.
53605 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53607         [BZ #15232]
53608         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53609         attribute_hidden.
53610         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53612 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53614         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53615         fourth parameter needed for rt_sigprocmask syscall.
53616         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53617         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53618         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53619         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53620         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53621         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53623 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53625         [BZ #13550]
53626         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53627         comment about bounded pointers.
53628         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53629         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53631 2013-03-04  Andreas Jaeger  <aj@suse.de>
53633         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53634         common definitions.
53636         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53637         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53638         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53639         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53640         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53641         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53643 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53645         [BZ #15055]
53646         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53647         __ieee754_sqrl instead of __sqrl.
53649 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53651         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53652         * sysdeps/powerpc/fpu_control.h: ... here.
53653         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53654         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53655         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53656         * sysdeps/powerpc/bits/mathinline.h: ... here.
53658 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53660         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53661         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53662         to just [NEED_DL_SYSINFO_DSO].
53663         * elf/dl-support.c: Likewise.
53664         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53665         * elf/rtld.c (dl_main): Likewise.
53666         * elf/setup-vdso.h (setup_vdso): Likewise.
53667         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53668         * sysdeps/unix/sysv/linux/dl-sysdep.c
53669         (_dl_discover_osversion): Likewise.
53671 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53673         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53674         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53676 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53678         * NEWS: Mention libm performance improvements and non-x86 PI
53679         futex support.
53681         * csu/libc-start.c (__pthread_initialize_minimal): Change
53682         function arguments.
53683         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53685 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53687         [BZ #13550]
53688         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53689         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53690         <bp-sym.h> and <bp-asm.h>.
53691         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53692         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53693         and <bp-asm.h>.
53694         (memcpy): Don't use BP_SYM.
53695         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53696         <bp-asm.h>.
53697         (__mpn_add_n): Don't use BP_SYM.
53698         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53699         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53700         and <bp-asm.h>.
53701         (__mpn_addmul_1): Don't use BP_SYM.
53702         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53703         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53704         <bp-sym.h>.
53705         (_setjmp): Don't use BP_SYM.
53706         (__novmx_setjmp): Likewise.
53707         (__GI__setjmp): Likewise.
53708         (__vmx_setjmp): Likewise.
53709         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53710         <bp-sym.h>.
53711         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53712         (__bzero): Don't use BP_SYM.
53713         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53714         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53715         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53716         <bp-sym.h> and <bp-asm.h>.
53717         (memcpy): Don't use BP_SYM.
53718         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53719         <bp-sym.h> and <bp-asm.h>.
53720         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53721         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53722         <bp-sym.h> and <bp-asm.h>.
53723         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53724         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53725         <bp-asm.h>.
53726         (__mpn_lshift): Don't use BP_SYM.
53727         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53728         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53729         <bp-asm.h>.
53730         (memset): Don't use BP_SYM.
53731         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53732         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53733         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53734         <bp-asm.h>.
53735         (__mpn_mul_1): Don't use BP_SYM.
53736         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53737         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53738         <bp-sym.h> and <bp-asm.h>.
53739         (memcmp): Don't use BP_SYM.
53740         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53741         <bp-sym.h> and <bp-asm.h>.
53742         (memcpy): Don't use BP_SYM.
53743         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53744         <bp-sym.h> and <bp-asm.h>.
53745         (memset): Don't use BP_SYM.
53746         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53747         <bp-sym.h> and <bp-asm.h>.
53748         (strncmp): Don't use BP_SYM.
53749         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53750         <bp-sym.h> and <bp-asm.h>.
53751         (memcpy): Don't use BP_SYM.
53752         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53753         <bp-sym.h> and <bp-asm.h>.
53754         (memset): Don't use BP_SYM.
53755         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53756         <bp-sym.h> and <bp-asm.h>.
53757         (__memchr): Don't use BP_SYM.
53758         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53759         <bp-sym.h> and <bp-asm.h>.
53760         (memcmp): Don't use BP_SYM.
53761         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53762         <bp-sym.h> and <bp-asm.h>.
53763         (memcpy): Don't use BP_SYM.
53764         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53765         <bp-sym.h> and <bp-asm.h>.
53766         (__mempcpy): Don't use BP_SYM.
53767         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53768         <bp-sym.h> and <bp-asm.h>.
53769         (__memrchr): Don't use BP_SYM.
53770         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53771         <bp-sym.h> and <bp-asm.h>.
53772         (memset): Don't use BP_SYM.
53773         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53774         <bp-sym.h> and <bp-asm.h>.
53775         (__rawmemchr): Don't use BP_SYM.
53776         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53777         <bp-sym.h> and <bp-asm.h>.
53778         (__STRCMP): Don't use BP_SYM.
53779         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53780         <bp-sym.h> and <bp-asm.h>.
53781         (strchr): Don't use BP_SYM.
53782         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53783         <bp-sym.h> and <bp-asm.h>.
53784         (__strchrnul): Don't use BP_SYM.
53785         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53786         <bp-sym.h> and <bp-asm.h>.
53787         (strlen): Don't use BP_SYM.
53788         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53789         <bp-sym.h> and <bp-asm.h>.
53790         (strncmp): Don't use BP_SYM.
53791         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53792         <bp-sym.h> and <bp-asm.h>.
53793         (__strnlen): Don't use BP_SYM.
53794         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53795         <bp-asm.h>.
53796         (__mpn_rshift): Don't use BP_SYM.
53797         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53798         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53799         <bp-sym.h> and <bp-asm.h>.
53800         (__sigsetjmp): Don't use BP_SYM.
53801         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53802         (L(start_addresses)): Don't use BP_SYM.
53803         (_start): Likewise.
53804         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53805         <bp-asm.h>.
53806         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53807         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53808         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53809         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53810         <bp-asm.h>.
53811         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53812         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53813         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53814         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53815         <bp-asm.h>.
53816         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53817         comments.
53818         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53819         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53820         <bp-asm.h>.
53821         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53822         FIXME comments.
53823         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53824         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53825         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53826         <bp-asm.h>.
53827         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53828         comment.
53829         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53830         and <bp-asm.h>.
53831         (strncmp): Don't use BP_SYM,
53832         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53833         <bp-asm.h>.
53834         (__mpn_sub_n): Don't use BP_SYM.
53835         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53836         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53837         and <bp-asm.h>.
53838         (__mpn_submul_1): Don't use BP_SYM.
53839         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53841         <bp-sym.h> and <bp-asm.h>.
53842         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53844         <bp-sym.h> and <bp-asm.h>.
53845         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53846         comment.
53848 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53851         Use ZK to minimize writes to Z.
53852         (sub_magnitudes): Simplify code a bit.
53853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53854         Use ZK to minimize writes to Z.
53855         (sub_magnitudes): Simplify code a bit.
53857 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53859         * csu/gmon-start.c: Add special exception to license text.
53861 2013-02-27  Richard Henderson  <rth@redhat.com>
53863         * scripts/config.guess: Update from config.git.
53864         * scripts/config.sub: Likewise.
53866 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53868         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53870         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53872         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53874         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53876         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53878 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53880         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53881         [$(build-shared = yes].
53883 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53885         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53886         (__mul): Reduce iterations for calculating mantissa.
53888         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53889         MPTWO.
53890         (__mpranred): Likewise.
53892         [BZ #15160]
53893         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53894         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53896 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53898         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53899         Define __attribute__.
53901 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53903         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53904         unused.
53905         * posix/regex_internal.h (__attribute): Remove.
53906         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53907         (re_string_context_at): Likewise.
53908         (bitset_not): Use __attribute__ and mark function as possibly
53909         unused.
53910         (bitset_merge): Likewise.
53911         (bitset_mask): Likewise.
53912         (re_string_char_size_at): Likewise.
53913         (re_string_wchar_at): Likewise.
53914         (re_string_elem_size_at): Likewise.
53916 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53918         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53919         code.
53920         (cc32): Likewise.
53922         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53923         (__acr): Likewise.
53924         (__cpy): Likewise.
53925         (norm): Likewise.
53926         (denorm): Likewise.
53927         (__dbl_mp): Likewise.
53928         (add_magnitudes): Likewise.
53929         (sub_magnitudes): Likewise.
53930         (__mul): Likewise.
53931         (__inv): Likewise.
53933         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53934         style.
53936         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53937         style.
53939         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53940         code.
53942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53943         up changes with default code.
53944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53945         Likewise.
53947 2013-02-24  Allan McRae  <allan@archlinux.org>
53949         * manual/socket.texi (The Internet Namespace): Order menu items
53950         to match that in the file.
53952         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53953         node listing of the info page menu.
53955 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53957         [BZ #13550]
53958         * sysdeps/i386/bp-asm.h: Remove file.
53959         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53960         (PARMS): Do not use macros from bp-asm.h.
53961         (S1): Likewise.
53962         (S2): Likewise.
53963         (SIZE): Likewise.
53964         (__mpn_add_n): Do not use BP_SYM
53965         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53966         "bp-asm.h".
53967         (PARMS): Do not use macros from bp-asm.h.
53968         (S1): Likewise.
53969         (SIZE): Likewise.
53970         (__mpn_addmul_1): Do not use BP_SYM
53971         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53972         "bp-asm.h".
53973         (PARMS): Do not use macros from bp-asm.h.
53974         (SIGMSK): Likewise.
53975         (_setjmp): Likewise.  Do not use BP_SYM.
53976         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53977         "bp-asm.h".
53978         (PARMS): Do not use macros from bp-asm.h.
53979         (SIGMSK): Likewise.
53980         (setjmp): Likewise.  Do not use BP_SYM.
53981         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53982         "bp-asm.h".
53983         (PARMS): Do not use macros from bp-asm.h.
53984         (__frexp): Do not use BP_SYM.
53985         (frexp): Likewise.
53986         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53987         "bp-asm.h".
53988         (PARMS): Do not use macros from bp-asm.h.
53989         (__frexpf): Do not use BP_SYM.
53990         (frexpf): Likewise.
53991         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53992         "bp-asm.h".
53993         (PARMS): Do not use macros from bp-asm.h.
53994         (__frexpl): Do not use BP_SYM.
53995         (frexpl): Likewise.
53996         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53997         "bp-asm.h".
53998         (PARMS): Do not use macros from bp-asm.h.
53999         (__remquo): Do not use BP_SYM.
54000         (remquo): Likewise.
54001         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54002         "bp-asm.h".
54003         (PARMS): Do not use macros from bp-asm.h.
54004         (__remquof): Do not use BP_SYM.
54005         (remquof): Likewise.
54006         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54007         "bp-asm.h".
54008         (PARMS): Do not use macros from bp-asm.h.
54009         (__remquol): Do not use BP_SYM.
54010         (remquol): Likewise.
54011         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54012         "bp-asm.h".
54013         (PARMS): Do not use macros from bp-asm.h.
54014         (DEST): Likewise.
54015         (SRC): Likewise.
54016         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54017         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54018         "bp-asm.h".
54019         (PARMS): Do not use macros from bp-asm.h.
54020         (strlen): Do not use BP_SYM.
54021         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54022         "bp-asm.h".
54023         (PARMS): Do not use macros from bp-asm.h.
54024         (S1): Likewise.
54025         (S2): Likewise.
54026         (SIZE): Likewise.
54027         (__mpn_add_n): Do not use BP_SYM.
54028         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54029         "bp-asm.h".
54030         (PARMS): Do not use macros from bp-asm.h.
54031         (S1): Likewise.
54032         (SIZE): Likewise.
54033         (__mpn_addmul_1): Do not use BP_SYM.
54034         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54035         weak_alias.
54036         (bzero): Likewise.
54037         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54038         "bp-asm.h".
54039         (PARMS): Do not use macros from bp-asm.h.
54040         (S): Likewise.
54041         (SIZE): Likewise.
54042         (__mpn_lshift): Do not use BP_SYM.
54043         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54044         "bp-asm.h".
54045         (PARMS): Do not use macros from bp-asm.h.
54046         (DEST): Likewise.
54047         (SRC): Likewise.
54048         (LEN): Likewise.
54049         (memcpy): Likewise.  Do not use BP_SYM.
54050         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54051         libc_hidden_def and weak_alias.
54052         (mempcpy): Do not use BP_SYM in weak_alias.
54053         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54054         "bp-asm.h".
54055         (PARMS): Do not use macros from bp-asm.h.
54056         (DEST): Likewise.
54057         (LEN): Likewise.
54058         [!BZERO_P] (CHR): Likewise.
54059         (memset): Likewise.  Do not use BP_SYM.
54060         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54061         "bp-asm.h".
54062         (PARMS): Do not use macros from bp-asm.h.
54063         (S1): Likewise.
54064         (SIZE): Likewise.
54065         (__mpn_mul_1): Do not use BP_SYM.
54066         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54067         "bp-asm.h".
54068         (PARMS): Do not use macros from bp-asm.h.
54069         (S): Likewise.
54070         (SIZE): Likewise.
54071         (__mpn_rshift): Do not use BP_SYM.
54072         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54073         "bp-asm.h".
54074         (PARMS): Do not use macros from bp-asm.h.
54075         (STR): Likewise.
54076         (CHR): Likewise.
54077         (strchr): Likewise.  Do not use BP_SYM.
54078         (index): Do not use BP_SYM in weak_alias.
54079         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54080         "bp-asm.h".
54081         (PARMS): Do not use macros from bp-asm.h.
54082         (DEST): Likewise.
54083         (SRC): Likewise.
54084         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54085         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54086         "bp-asm.h".
54087         (PARMS): Do not use macros from bp-asm.h.
54088         (strlen): Do not use BP_SYM.
54089         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54090         "bp-asm.h".
54091         (PARMS): Do not use macros from bp-asm.h.
54092         (S1): Likewise.
54093         (S2): Likewise.
54094         (SIZE): Likewise.
54095         (__mpn_sub_n): Do not use BP_SYM.
54096         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54097         "bp-asm.h".
54098         (PARMS): Do not use macros from bp-asm.h.
54099         (S1): Likewise.
54100         (SIZE): Likewise.
54101         (__mpn_submul_1): Do not use BP_SYM.
54102         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54103         "bp-asm.h".
54104         (PARMS): Do not use macros from bp-asm.h.
54105         (S1): Likewise.
54106         (S2): Likewise.
54107         (SIZE): Likewise.
54108         (__mpn_add_n): Do not use BP_SYM.
54109         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54110         weak_alias.
54111         (bzero): Likewise.
54112         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54113         "bp-asm.h".
54114         (PARMS): Do not use macros from bp-asm.h.
54115         (BLK2): Likewise.
54116         (LEN): Likewise.
54117         (memcmp): Do not use BP_SYM.
54118         (bcmp): Do not use BP_SYM in weak_alias.
54119         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54120         "bp-asm.h".
54121         (PARMS): Do not use macros from bp-asm.h.
54122         (DEST): Likewise.
54123         (SRC): Likewise.
54124         (LEN): Likewise.
54125         (memcpy): Likewise.  Do not use BP_SYM.
54126         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54127         "bp-asm.h".
54128         (PARMS): Do not use macros from bp-asm.h.
54129         (DEST): Likewise.
54130         (SRC): Likewise.
54131         (LEN): Likewise.
54132         (memmove): Likewise.  Do not use BP_SYM.
54133         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54134         "bp-asm.h".
54135         (PARMS): Do not use macros from bp-asm.h.
54136         (DEST): Likewise.
54137         (SRC): Likewise.
54138         (LEN): Likewise.
54139         (__mempcpy): Likewise.  Do not use BP_SYM.
54140         (mempcpy): Do not use BP_SYM in weak_alias.
54141         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54142         "bp-asm.h".
54143         (PARMS): Do not use macros from bp-asm.h.
54144         (DEST): Likewise.
54145         (LEN): Likewise.
54146         [!BZERO_P] (CHR): Likewise.
54147         (memset): Likewise.  Do not use BP_SYM.
54148         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54149         "bp-asm.h".
54150         (PARMS): Do not use macros from bp-asm.h.
54151         (STR2): Likewise.
54152         (strcmp): Do not use BP_SYM.
54153         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54154         "bp-asm.h".
54155         (PARMS): Do not use macros from bp-asm.h.
54156         (STR): Likewise.
54157         (DELIM): Likewise.
54158         [USE_AS_STRTOK_R] (SAVE): Likewise.
54159         (FUNCTION): Likewise.  Do not use BP_SYM.
54160         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54161         aliases.
54162         (strtok_r): Likewise.
54163         (__GI___strtok_r): Likewise.
54164         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54165         (PARMS): Do not use macros from bp-asm.h.
54166         (S): Likewise.
54167         (SIZE): Likewise.
54168         (__mpn_lshift): Do not use BP_SYM.
54169         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54170         (PARMS): Do not use macros from bp-asm.h.
54171         (STR): Likewise.
54172         (CHR): Likewise.
54173         (__memchr): Do not use BP_SYM.
54174         (memchr): Do not use BP_SYM in weak_alias.
54175         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54176         (PARMS): Do not use macros from bp-asm.h.
54177         (BLK2): Likewise.
54178         (LEN): Likewise.
54179         (memcmp): Do not use BP_SYM.
54180         (bcmp): Do not use BP_SYM in weak_alias.
54181         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54182         (PARMS): Do not use macros from bp-asm.h.
54183         (S1): Likewise.
54184         (SIZE): Likewise.
54185         (__mpn_mul_1): Do not use BP_SYM.
54186         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54187         "bp-asm.h".
54188         (PARMS): Do not use macros from bp-asm.h.
54189         (STR): Likewise.
54190         (CHR): Likewise.
54191         (__rawmemchr): Do not use BP_SYM.
54192         (rawmemchr): Do not use BP_SYM in weak_alias.
54193         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54194         (PARMS): Do not use macros from bp-asm.h.
54195         (S): Likewise.
54196         (SIZE): Likewise.
54197         (__mpn_rshift): Do not use BP_SYM.
54198         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54199         (PARMS): Do not use macros from bp-asm.h.
54200         (SIGMSK): Likewise.
54201         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54202         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54203         (_start): Do not use BP_SYM.
54204         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54205         (PARMS): Do not use macros from bp-asm.h.
54206         (DEST): Likewise.
54207         (SRC): Likewise.
54208         (__stpcpy): Likewise.  Do not use BP_SYM.
54209         (stpcpy): Do not use BP_SYM in weak_alias.
54210         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54211         "bp-asm.h".
54212         (PARMS): Do not use macros from bp-asm.h.
54213         (DEST): Likewise.
54214         (SRC): Likewise.
54215         (LEN): Likewise.
54216         (__stpncpy): Likewise.  Do not use BP_SYM.
54217         (stpncpy): Do not use BP_SYM in weak_alias.
54218         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54219         (PARMS): Do not use macros from bp-asm.h.
54220         (STR): Likewise.
54221         (CHR): Likewise.
54222         (strchr): Likewise.  Do not use BP_SYM.
54223         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54224         "bp-asm.h".
54225         (PARMS): Do not use macros from bp-asm.h.
54226         (STR): Likewise.
54227         (CHR): Likewise.
54228         (__strchrnul): Likewise.  Do not use BP_SYM.
54229         (strchrnul): Do not use BP_SYM in weak_alias.
54230         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54231         "bp-asm.h".
54232         (PARMS): Do not use macros from bp-asm.h.
54233         (STOP): Likewise.
54234         (strcspn): Do not use BP_SYM.
54235         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54236         "bp-asm.h".
54237         (PARMS): Do not use macros from bp-asm.h.
54238         (STR): Likewise.
54239         (STOP): Likewise.
54240         (strpbrk): Likewise.  Do not use BP_SYM.
54241         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54242         "bp-asm.h".
54243         (PARMS): Do not use macros from bp-asm.h.
54244         (STR): Likewise.
54245         (CHR): Likewise.
54246         (strrchr): Likewise.  Do not use BP_SYM.
54247         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54248         (PARMS): Do not use macros from bp-asm.h.
54249         (SKIP): Likewise.
54250         (strspn): Do not use BP_SYM.
54251         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54252         (PARMS): Do not use macros from bp-asm.h.
54253         (STR): Likewise.
54254         (DELIM): Likewise.
54255         (SAVE): Likewise.
54256         (FUNCTION): Likewise.  Do not use BP_SYM.
54257         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54258         aliases.
54259         (strtok_r): Likewise.
54260         (__GI___strtok_r): Likewise.
54261         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54262         (PARMS): Do not use macros from bp-asm.h.
54263         (S1): Likewise.
54264         (S2): Likewise.
54265         (SIZE): Likewise.
54266         (__mpn_sub_n): Do not use BP_SYM.
54267         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54268         "bp-asm.h".
54269         (PARMS): Do not use macros from bp-asm.h.
54270         (S1): Likewise.
54271         (SIZE): Likewise.
54272         (__mpn_submul_1): Do not use BP_SYM.
54273         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54274         <bp-sym.h>.
54275         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54276         and <bp-asm.h>.
54277         (PARMS): Do not use macros from bp-asm.h.
54278         (FLAGS): Likewise.
54279         (PTID): Likewise.
54280         (TLS): Likewise.
54281         (CTID): Likewise.
54282         (__clone): Do not use BP_SYM.
54283         (clone): Do not use BP_SYM in weak_alias.
54284         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54285         and <bp-asm.h>.
54286         (PARMS): Do not use macros from bp-asm.h.
54287         (LEN): Likewise.
54288         (__mmap64): Do not use BP_SYM.
54289         (mmap64): Do not use BP_SYM in weak_alias.
54290         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54291         <bp-sym.h> and <bp-asm.h>.
54292         (PARMS): Do not use macros from bp-asm.h.
54293         (__posix_fadvise64_l64): Do not use BP_SYM.
54294         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54295         (PARMS): Do not use macros from bp-asm.h.
54296         (NSOPS): Likewise.
54297         (semtimedop): Do not use BP_SYM.
54298         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54299         and <bp-asm.h>.
54301 2013-02-21  Allan McRae  <allan@archlinux.org>
54303         * manual/message.texi (Charset conversion in gettext):
54304         Move @end statement to beginning of line.
54306 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54309         static.
54310         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54311         Likewise.
54313         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54314         (denorm): Likewise.
54315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54318 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54320         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54321         tail-call to the resolved function if pltexit isn't needed.
54323 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54326         or Y being zero as being unlikely.
54327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54328         Likewise.
54330 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54332         * manual/nss.texi (System Databases and Name Service Switch):
54333         Remove frobnicate @pxref.
54335 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54337         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54338         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54340 2013-02-20  Petr Machata  <pmachata@redhat.com>
54342         * elf/elf.h (R_ARM_TARGET1): New macro.
54343         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54344         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54345         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54346         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54347         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54348         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54349         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54350         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54351         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54352         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54353         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54354         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54355         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54356         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54357         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54358         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54359         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54360         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54361         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54362         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54363         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54364         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54365         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54366         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54367         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54368         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54369         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54370         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54371         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54372         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54373         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54374         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54375         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54376         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54377         (R_ARM_THM_GOT_BREL12): Likewise.
54378         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54379         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54380         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54381         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54382         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54383         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54384         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54385         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54386         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54388 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54390         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54391         __attribute_used__ to __attribute__ ((unused)).
54393 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54395         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54396         powerpc mpa.c.
54397         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54398         comment formatting.
54399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54401 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54403         [BZ #13550]
54404         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54405         Remove macro.
54406         (ENTER): Remove both macro definitions.
54407         (LEAVE): Likewise.
54408         (CHECK_BOUNDS_LOW): Likewise.
54409         (CHECK_BOUNDS_HIGH): Likewise.
54410         (CHECK_BOUNDS_BOTH): Likewise.
54411         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54412         (RETURN_BOUNDED_POINTER): Likewise.
54413         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54414         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54415         (POP_ERRNO_LOCATION_RETURN): Likewise.
54416         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54417         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54418         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54419         macros.
54420         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54421         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54422         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54423         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54424         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54425         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54426         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54427         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54428         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54429         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54430         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54431         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54432         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54433         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54434         removed macros.
54435         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54436         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54437         macros.
54438         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54439         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54440         * sysdeps/i386/i586/memset.S (memset): Likewise.
54441         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54442         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54443         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54444         macros.
54445         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54446         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54447         Change uses of L(2) to L(out).
54448         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54449         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54450         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54451         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54452         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54453         removed macros.
54454         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54455         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54456         macros.
54457         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54458         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54459         (RETURN): Do not use macro LEAVE.
54460         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54461         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54462         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54463         * sysdeps/i386/i686/memset.S (memset): Likewise.
54464         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54465         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54466         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54467         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54468         Likewise.
54469         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54470         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54471         L(1_2) and L(1_3) into L(1).
54472         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54473         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54474         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54475         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54476         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54477         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54478         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54479         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54480         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54481         macros.
54482         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54483         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54484         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54485         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54486         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54487         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54488         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54489         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54490         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54491         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54492         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54493         * sysdeps/i386/strspn.S (strspn): Likewise.
54494         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54495         conditional code.
54496         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54497         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54498         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54499         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54500         L(1_3) into L(1_1).
54501         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54502         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54503         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54504         macros.
54505         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54507 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54509         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54510         macro.
54512 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54514         * math/atest-exp.c (exp_mpn): Remove ROUND.
54515         * math/atest-exp2.c (exp_mpn): Likewise.
54516         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54518         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54519         * stdlib/tst-tls-atexit-lib.c: Likewise.
54520         * stdlib/tst-tls-atexit.c: Likewise.
54522 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54524         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54525         and __attribute_alloc_size__.
54527 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54529         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54530         __attribute_alloc_size__.
54531         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54532         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54534 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54536         * include/programs/xmalloc.h: New file.
54537         * catgets/gencat.c: Include it.
54538         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54539         * elf/pldd.c: Likewise.
54540         * iconv/iconv_charmap.c: Likewise.
54541         * iconv/iconvconfig.c: Likewise.
54542         * iconv/strtab.c: Likewise.
54543         * locale/programs/locale.c: Likewise.
54544         * locale/programs/localedef.h: Likewise.
54545         * locale/programs/simple-hash.c: Likewise.
54546         * nscd/nscd.h: Likewise.
54547         * nss/makedb.c: Likewise.
54548         * sysdeps/generic/ldconfig.h: Likewise.
54550 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54552         * Versions.def: Add GLIBC_2.18.
54553         * include/link.h (struct link_map): New member l_tls_dtor_count.
54554         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54555         (__call_tls_dtors): Likewise.
54556         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54557         __cxa_thread_atexit_impl.
54558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54559         Likewise.
54560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54561         Likewise.
54562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54563         Likewise.
54564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54565         Likewise.
54566         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54568         Likewise.
54569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54570         Likewise.
54571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54573         Likewise.
54574         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54575         (tests): Add test case tst-tls-atexit.
54576         (modules-names): Add shared library for tst-tls-atexit.
54577         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54578         (GLIBC_PRIVATE): Add __call_tls_dtors.
54579         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54580         for libstdc++.
54581         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54582         * stdlib/tst-tls-atexit.c: New test case.
54583         * stdlib/tst-tls-atexit-lib.c: New test case.
54585         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54587         * elf/Versions (ld): Add _dl_find_dso_for_object.
54588         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54589         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54590         (dl_open_worker): Use _dl_find_dso_for_object.
54591         * elf/dl-sym.c (do_sym): Likewise.
54592         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54594 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54596         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54597         Syntactic changes only.
54598         (_dl_runtime_profile): Do a tail-call to the resolved function.
54600 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54602         [BZ #13550]
54603         * sysdeps/x86_64/bp-asm.h: Remove file.
54604         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54605         <bp-sym.h> and <bp-asm.h>.
54606         (__clone): Do not use BP_SYM.
54607         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54608         <bp-sym.h> and <bp-asm.h>.
54609         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54610         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54611         "bp-asm.h".
54612         (_setjmp): Do not use BP_SYM.
54613         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54614         "bp-asm.h".
54615         (setjmp): Do not use BP_SYM.
54616         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54617         libc_hidden_def.
54618         (mempcpy): Do not use BP_SYM in weak_alias.
54619         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54620         "bp-asm.h".
54621         (strchr): Do not use BP_SYM.
54622         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54623         "bp-asm.h".
54624         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54625         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54626         (_start): Do not use BP_SYM.
54627         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54628         "bp-asm.h".
54629         (strcat): Do not use BP_SYM.
54630         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54631         "bp-asm.h".
54632         (STRCMP): Do not use BP_SYM.
54633         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54634         "bp-asm.h".
54635         (STRCPY): Do not use BP_SYM.
54636         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54637         "bp-asm.h".
54638         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54639         "bp-asm.h".
54640         (FUNCTION): Do not use BP_SYM.
54641         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54642         weak_alias.
54643         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54645 2013-02-17  Andreas Jaeger  <aj@suse.de>
54647         * time/Versions: Sort entries.
54648         * string/Versions: Likewise.
54649         * resolv/Versions: Likewise.
54650         * posix/Versions: Likewise.
54651         * iconv/Versions: Likewise.
54652         * elf/Versions: Likewise.
54653         * wcsmbs/Versions: Likewise.
54655 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54657         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54658         loop termination condition.
54660         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54661         variable to calculate EZ.
54662         (__sqr): Likewise.
54664         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54665         the lower precision input.
54667 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54669         [BZ #13550]
54670         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54671         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54672         (run-via-rtld-prefix): Do not handle %-bp tests.
54673         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54674         (all-object-suffixes): Remove .ob.
54675         (bppfx): Remove variable.
54676         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54677         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54678         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54679         [$(build-bounded) = yes] (libtype.ob): Likewise.
54680         * Makerules (elide-routines.ob): Remove variable.
54681         (do-tests-clean): Do not handle *-bp.out.
54682         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54683         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54684         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54685         (tests): Do not include $(tests-bp.out).
54686         (xtests): Do not include $(xtests-bp.out).
54687         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54688         [$(build-bounded) = yes] ($(addprefix
54689         $(objpfx),$(binaries-bounded))): Remove rule.
54690         ($(objpfx)%-bp.out): Remove rule.
54691         * config.make.in (build-bounded): Remove variable.
54692         * crypt/Makefile [$(build-bounded) = yes]
54693         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54694         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54695         append to variable.
54696         [$(build-bounded) = yes] (install-lib): Likewise.
54697         [$(build-bounded) = yes] (generated): Likewise.
54698         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54699         Remove rule.
54700         * intl/Makefile [$(build-bounded) = yes]
54701         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54702         * math/Makefile [$(build-bounded) = yes]
54703         ($(tests:%=$(objpfx)%-bp): Likewise.
54704         * misc/Makefile [$(build-bounded) = yes]
54705         ($(objpfx)tst-tsearch-bp): Likewise.
54706         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54707         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54708         Remove dependency.
54709         * string/Makefile (o-objects.ob): Remove variable.
54710         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54711         (CFLAGS-.ob): Remove variable.
54712         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54713         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54714         both definitions of variable.
54715         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54716         (ASFLAGS-.ob): Remove variable.
54718 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54720         [BZ #13550]
54721         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54722         Remove __BOUNDED_POINTERS__ from condition.
54723         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54724         * string/bits/string2.h [!__NO_STRING_INLINES &&
54725         !__BOUNDED_POINTERS__]: Likewise.
54726         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54727         Likewise.
54728         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54729         Remove conditional code.
54730         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54731         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54732         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54733         condition.
54735         [BZ #13550]
54736         * csu/libc-start.c: Do not include <bp-sym.h>.
54737         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54738         * elf/dl-open.c: Do not include <bp-sym.h>.
54739         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54740         * math/fegetenv.c: Do not include <bp-sym.h>.
54741         (fegetenv): Do not use BP_SYM in versioned symbols.
54742         * nptl/sysdeps/pthread/bits/libc-lockP.h
54743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54744         <bp-sym.h>.
54745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54746         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54748         (__pthread_mutex_destroy): Likewise.
54749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54750         (__pthread_mutex_lock): Likewise.
54751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54752         (__pthread_mutex_trylock): Likewise.
54753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54754         (__pthread_mutex_unlock): Likewise.
54755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54756         (__pthread_mutexattr_init): Likewise.
54757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54758         (__pthread_mutexattr_destroy): Likewise.
54759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54760         (__pthread_mutexattr_settype): Likewise.
54761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54762         (__pthread_rwlock_init): Likewise.
54763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54764         (__pthread_rwlock_destroy): Likewise.
54765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54766         (__pthread_rwlock_rdlock): Likewise.
54767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54768         (__pthread_rwlock_tryrdlock): Likewise.
54769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54770         (__pthread_rwlock_wrlock): Likewise.
54771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54772         (__pthread_rwlock_trywrlock): Likewise.
54773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54774         (__pthread_rwlock_unlock): Likewise.
54775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54776         (__pthread_key_create): Likewise.
54777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54778         (__pthread_setspecific): Likewise.
54779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54780         (__pthread_getspecific): Likewise.
54781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54782         Likewise.
54783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54784         (_pthread_cleanup_push_defer): Likewise.
54785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54786         (_pthread_cleanup_pop_restore): Likewise.
54787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54788         (pthread_setcancelstate): Likewise.
54789         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54790         <bp-sym.h>.
54791         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54792         (memchr): Do not use BP_SYM in weak_alias.
54793         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54794         (fegetenv): Do not use BP_SYM in versioned symbols.
54795         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54796         (fesetenv): Do not use BP_SYM in versioned symbols.
54797         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54798         (feupdateenv): Do not use BP_SYM in versioned symbols.
54799         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54800         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54801         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54802         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54803         (open64): Do not use BP_SYM in weak_alias.
54804         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54805         (fegetenv): Do not use BP_SYM in versioned symbols.
54806         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54807         (fesetenv): Do not use BP_SYM in versioned symbols.
54808         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54809         (feupdateenv): Do not use BP_SYM in versioned symbols.
54810         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54811         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54812         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54813         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54814         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54815         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54816         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54817         <bp-sym.h>.
54818         (__libc_start_main): Do not use BP_SYM.
54820 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54823         redundant return line.
54824         (norm): Likewise.
54825         (denorm): Likewise.
54826         (dbl_mp): Likewise.
54827         (sub_magnitudes): Likewise.
54828         (__add): Likewise.
54829         (__sub): Likewise.
54830         (__mul): Likewise.
54831         (__inv): Likewise.
54832         (__dvd): Likewise.
54833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54834         (norm): Likewise.
54835         (denorm): Likewise.
54836         (dbl_mp): Likewise.
54837         (sub_magnitudes): Likewise.
54838         (__add): Likewise.
54839         (__sub): Likewise.
54840         (__mul): Likewise.
54841         (__inv): Likewise.
54842         (__dvd): Likewise.
54844         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54845         instead of __mul.
54846         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54847         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54848         (cc32): Likewise.
54850         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54851         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54852         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54853         of __mul for squares.
54854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54855         function
54856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54857         Likewise.
54858         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54859         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54861 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54863         [BZ #13550]
54864         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54865         code.
54866         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54867         prototype or function definition.  Rename ubp_* variables and
54868         parameters.  Remove argv definitions conditional on
54869         [__BOUNDED_POINTERS__].
54870         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54871         * elf/dl-runtime.c (_dl_fixup): Likewise.
54872         * include/set-hooks.h (RUN_HOOK): Likewise.
54873         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54874         definition.
54875         * string/strcpy.c (strcpy): Do not use __unbounded.
54876         * sysdeps/generic/frame.h (struct layout): Likewise.
54877         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54878         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54879         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54880         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54881         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54882         (__backtrace): Likewise.
54883         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54884         use __ptrvalue.
54885         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54886         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54887         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54888         Likewise.
54889         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54890         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54891         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54892         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54893         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54894         Do not use __unbounded.
54895         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54896         Rename __unboundedrlimits parameter to rlimits in prototype.
54897         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54898         Do not use __unbounded.
54899         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54900         not use __ptrvalue.
54901         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54902         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54903         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54904         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54905         __ptrvalue or __unbounded.
54906         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54907         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54908         use __unbounded.
54909         (__new_msgctl): Do not use __ptrvalue.
54910         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54911         __unbounded.
54912         (__libc_msgrcv): Do not use __ptrvalue.
54913         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54914         startup_info): Do not use __unbounded.
54915         (__libc_start_main): Likewise.  Rename ubp_* variables and
54916         parameters.  Remove argv definitions conditional on
54917         [__BOUNDED_POINTERS__].
54918         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54919         __ptrvalue.
54920         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54921         use __unbounded.
54922         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54923         or __ptrvalue.
54924         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54925         use __unbounded.
54926         (__new_shmctl): Do not use __ptrvalue.
54927         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54928         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54929         Likewise.
54930         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54931         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54932         (__libc_sigaction): Likewise.
54933         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54934         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54935         Likewise.
54936         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54938 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54940         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54942         * string/mempcpy.c: Implement by calling memcpy.
54944 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54946         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54948         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54949         evaluation.
54951         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54952         values in the mantissa.
54954         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54955         minimize writes to Z.
54956         (sub_magnitudes): Simplify code a bit.
54958 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54960         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54961         from the message.  The linker prefixes all warnings with that already.
54963 2013-02-12  Andreas Schwab  <schwab@suse.de>
54965         [BZ #15078]
54966         * posix/regexec.c (extend_buffers): Add parameter min_len.
54967         (check_matching): Pass minimum needed length.
54968         (clean_state_log_if_needed): Likewise.
54969         (get_subexp): Likewise.
54970         * posix/Makefile (tests): Add bug-regex34.
54971         (bug-regex34-ENV): Define.
54972         * posix/bug-regex34.c: New file.
54974         [BZ #11561]
54975         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54976         elements compare against the byte sequence of it, not its name.
54977         * posix/Makefile (tests): Add bug-regex35.
54978         (bug-regex35-ENV): Define.
54979         * posix/bug-regex35.c: New file.
54981 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54983         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54984         comment.
54985         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54986         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54987         (CHECK_EOL): Add undef.
54989 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54991         * bits/stdlib-bsearch.h: New file.
54992         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54993         * stdlib/stdlib.h: Likewise.
54995 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54997         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54998         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54999         declaration.
55000         * manual/search.texi (Array Search Function): Add missing const in
55001         lfind prototype.
55002         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55003         declaration to use rlim_t.
55004         (Basic Scheduling Functions): Remove erroneous const from
55005         sched_getparam prototype.  Remove erroneous * from
55006         sched_get_priority_max and sched_get_priority_min prototypes.
55007         (Resource Usage): Fix summary @comment on vtimes to refer to
55008         sys/vtimes.h rather than vtimes.h.
55009         Add missing *s in vtimes prototype.
55010         (Limits on Resources): Fix ulimit prototype to return long int.
55011         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55012         prototypes to use long int rather than double.
55013         (BSD Random): Fix initstate and setstate to use char *, not void *.
55014         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55015         prototype to make second argument 'struct aiocb64 *const[]'.
55016         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55017         (Status of AIO Operations): Remove erroneous const in aio_return and
55018         aio_return64 prototypes.
55019         (Synchronizing I/O): Fix sync prototype to return void.
55020         * manual/startup.texi (Suboptions): Remove an erroneous const in
55021         getsubopt prototype.
55022         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55023         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55024         use size_t rather than int.
55025         (Scanning All Users): Likewise for getpwent_r.
55026         (Setting Groups): Add missing const to setgroups prototype.
55027         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55028         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55029         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55030         'const void *' rather than 'const char *'.
55031         (Host Address Functions): Likewise for inet_ntop.
55032         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55033         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55034         ssize_t for return value.
55035         (Sending Data): Likewise for send, sendto, sendmsg.
55036         (Socket Option Functions): Add a missing const in setsockopt prototype.
55037         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55038         use wchar_t for the argument.
55039         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55040         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55041         take no arguments.
55042         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55043         double/float/long double for second argument.
55044         Fix return types of significand, significandf, significandl.
55045         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55046         argument in fchmod prototype.
55047         (File Owner): Use uid_t and gid_t in fchown prototype.
55048         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55049         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55050         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55051         use 'const struct dirent **' as argument types to CMP function pointer
55052         argument.
55053         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55054         (File Times): Fix summary magic @comment for struct utimbuf and utime
55055         to refer to utime.h, not time.h.
55056         * manual/string.texi (Argz Functions): Add missing const in
55057         argz_extract and argz_next prototypes.
55058         (Finding Tokens in a String): Likewise for basename.
55059         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55060         (Copying and Concatenation): Fix typo in wmemmove prototype.
55061         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55062         (Signal Stack): Remove erroneous const in sigstack prototype.
55063         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55064         prototype.
55065         (Simple Calendar Time): Likewise for stime.
55066         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55067         prototype.
55068         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55069         say sys/sysctl.h instead.
55070         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55071         and vsyslog prototypes.
55073 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55075         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55076         Remove.
55078 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55080         * misc/sys/mman.h: Fix typo in mremap comment.
55082 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55084         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55085         the '\0' terminator.
55087 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55089         [BZ #13550]
55090         * debug/segfault.c: Don't include <bp-checks.h>.
55091         * sysdeps/generic/bp-checks.h: Remove file.
55092         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55093         (__GETDENTS): Don't use CHECK_N.
55094         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55095         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55096         (__getgroups): Don't use CHECK_N.
55097         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55098         (setgroups): Don't use CHECK_N.
55099         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55100         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55101         (__libc_msgrcv): Don't use CHECK_N.
55102         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55103         (__libc_msgsnd): Don't use CHECK_N.
55104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55105         <bp-checks.h>.
55106         (__libc_pread): Don't use CHECK_N.
55107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55108         include <bp-checks.h>.
55109         (__libc_pread64): Don't use CHECK_N.
55110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55111         include <bp-checks.h>.
55112         (__libc_pwrite): Don't use CHECK_N.
55113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55114         include <bp-checks.h>.
55115         (__libc_pwrite64): Don't use CHECK_N.
55116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55117         <bp-checks.h>.
55118         (__libc_pread): Don't use CHECK_N.
55119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55120         include <bp-checks.h>.
55121         (__libc_pread64): Don't use CHECK_N.
55122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55123         include <bp-checks.h>.
55124         (__libc_pwrite): Don't use CHECK_N.
55125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55126         include <bp-checks.h>.
55127         (__libc_pwrite64): Don't use CHECK_N.
55128         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55129         (do_pread): Don't use CHECK_N.
55130         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55131         (do_pread64): Don't use CHECK_N.
55132         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55133         (do_pwrite): Don't use CHECK_N.
55134         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55135         (do_pwrite64): Don't use CHECK_N.
55136         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55137         (__libc_readv): Don't use CHECK_N.
55138         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55139         (semop): Don't use CHECK_N.
55140         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55141         <bp-checks.h>.
55142         (semtimedop): Don't use CHECK_N.
55143         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55144         (__libc_pread): Don't use CHECK_N.
55145         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55146         <bp-checks.h>.
55147         (__libc_pread64): Don't use CHECK_N.
55148         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55149         <bp-checks.h>.
55150         (__libc_pwrite): Don't use CHECK_N.
55151         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55152         <bp-checks.h>.
55153         (__libc_pwrite64): Don't use CHECK_N.
55154         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55155         <bp-checks.h>.
55156         (__libc_msgrcv): Don't use CHECK_N.
55157         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55158         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55159         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55160         (__libc_writev): Don't use CHECK_N.
55162 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55164         * string/strcpy.c: Removed unused variable.
55166         * Makeconfig (+sysdep-includes): Define with := rather than =.
55167         Use an existing include/ subdir of each sysdeps dir before it.
55169 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55171         * nscd/connection.c (register_traced_file): Comment function.
55172         [HAVE_INOTIFY] (union __inev): Define.
55173         [HAVE_INOTIFY] (inotify_check_files): New function.
55174         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55175         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55176         clear_db_cache.
55177         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55179 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55181         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55182         loaded if not already and that a failure is permanent.
55184 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55186         [BZ #15006]
55187         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55188         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55190 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55192         [BZ #13550]
55193         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55194         (CHECK_1_NULL_OK): Likewise.
55195         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55196         (__fxstat): Do not use CHECK_1.
55197         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55198         <bp-checks.h>.
55199         (___fxstat64): Do not use CHECK_1.
55200         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55201         <bp-checks.h>.
55202         (__fxstatat): Do not use CHECK_1.
55203         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55204         <bp-checks.h>.
55205         (__fxstatat64): Do not use CHECK_1.
55206         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55207         <bp-checks.h>.
55208         (__fxstat): Do not use CHECK_1.
55209         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55210         <bp-checks.h>.
55211         (__fxstatat): Do not use CHECK_1.
55212         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55213         <bp-checks.h>.
55214         (__getresgid): Do not use CHECK_1.
55215         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55216         <bp-checks.h>.
55217         (__getresuid): Do not use CHECK_1.
55218         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55219         <bp-checks.h>.
55220         (__lxstat): Do not use CHECK_1.
55221         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55222         <bp-checks.h>.
55223         (__old_msgctl): Do not use CHECK_1.
55224         (__new_msgctl): Likewise.
55225         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55226         <bp-checks.h>.
55227         (__new_setrlimit): Do not use CHECK_1.
55228         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55229         <bp-checks.h>.
55230         (__old_shmctl): Do not use CHECK_1.
55231         (__new_shmctl): Likewise.
55232         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55233         <bp-checks.h>.
55234         (__xstat): Do not use CHECK_1.
55235         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55236         (__lxstat): Do not use CHECK_1.
55237         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55238         <bp-checks.h>.
55239         (___lxstat64): Do not use CHECK_1.
55240         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55241         (__old_msgctl): Do not use CHECK_1.
55242         (__new_msgctl): Likewise.
55243         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55244         <bp-checks.h>.
55245         (__gettimeofday): Do not use CHECK_1.
55246         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55247         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55248         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55249         <bp-checks.h>.
55250         (__gettimeofday): Do not use CHECK_1.
55251         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55252         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55253         (__new_shmctl): Do not use CHECK_1.
55254         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55255         <bp-checks.h>.
55256         (do_sigtimedwait): Do not use CHECK_1.
55257         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55258         <bp-checks.h>.
55259         (do_sigwaitinfo): Do not use CHECK_1.
55260         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55261         <bp-checks.h>.
55262         (msgctl): Do not use CHECK_1.
55263         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55264         <bp-checks.h>.
55265         (shmctl): Do not use CHECK_1.
55266         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55267         (ustat): Do not use CHECK_1.
55268         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55269         <bp-checks.h>.
55270         (__fxstat): Do not use CHECK_1.
55271         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55272         <bp-checks.h>.
55273         (__fxstatat): Do not use CHECK_1.
55274         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55275         <bp-checks.h>.
55276         (__lxstat): Do not use CHECK_1.
55277         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55278         <bp-checks.h>.
55279         (__xstat): Do not use CHECK_1.
55280         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55281         (__xstat): Do not use CHECK_1.
55282         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55283         (___xstat64): Do not use CHECK_1.
55285         [BZ #13550]
55286         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55287         definitions.
55288         (CHECK_BOUNDS_HIGH): Likewise.
55289         * string/strcpy.c: Do not include <bp-checks.h>.
55290         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55292 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55294         * nscd/nscd-client.h (__nscd_drop_map_ref):
55295         Add __attribute__ ((unused)).
55296         * nis/nss-nisplus.h (niserr2nss): Likewise.
55298         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55299         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55301         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55302         Remove inline keyword.
55303         * include/rounding-mode.h (round_away): Likewise.
55304         * libio/wfileops.c (adjust_wide_data): Likewise.
55305         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55306         (__m128i_strloadu_tolower): Likewise.
55307         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55308         (__m128i_strloadu_tolower): Likewise.
55309         * time/mktime.c (ydhms_diff): Likewise.
55310         * locale/elem-hash.h (elem_hash): Likewise.
55311         * locale/setlocale.c (setdata): Likewise.
55312         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55313         (re_string_wchar_at): Likewise.
55314         (bitset_not, bitset_merge, bitset_mask): Likewise.
55315         [!(__GNUC__ > 3)] (inline): Remove macro.
55316         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55317         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55318         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55319         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55320         * string/memcmp.c (memcmp_bytes): Likewise.
55321         * locale/programs/locarchive.c (compute_hashval): Likewise.
55322         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55323         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55324         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55325         * nss/getent.c (print_rpc, print_protocols): Likewise.
55326         (print_passwd, print_group, print_aliases): Likewise.
55327         * nis/nss-nisplus.h (niserr2nss): Likewise.
55328         * nscd/connections.c (restart_p): Likewise.
55329         Change return type to bool.
55331 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55333         * Makeconfig (all-Depend-files): Add existing
55334         $(sorted-subdirs:=/Depend) files.
55335         (all-subdirs): Remove nss.
55336         * sysdeps/unix/inet/Subdirs: Add it here instead.
55337         * hesiod/Depend: New file.
55339         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55340         instead of calling alloca.
55342         * io/lseek.c (__lseek): Rename to __libc_lseek.
55343         Define __lseek as an alias.
55345         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55347 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55349         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55350         else clause and remove check for non-standard endianness.
55352 2013-02-04  David S. Miller  <davem@davemloft.net>
55354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55356 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55358         [BZ #13550]
55359         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55360         (__ubp_memchr): Remove prototype.
55361         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55362         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55363         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55364         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55365         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55366         Remove alias.
55367         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55368         (__ubp_memchr): Likewise.
55369         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55370         (__ubp_memchr): Likewise.
55371         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55372         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55373         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55374         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55375         CHECK_STRING.
55376         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55377         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55378         (__getcwd): Do not use CHECK_STRING.
55379         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55380         <bp-checks.h>.
55381         (__real_chown): Do not use CHECK_STRING.
55382         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55383         <bp-checks.h>.
55384         (fchownat): Do not use CHECK_STRING.
55385         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55386         CHECK_STRING.
55387         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55388         <bp-checks.h>.
55389         (__lchown): Do not use CHECK_STRING.
55390         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55391         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55392         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55393         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55395         include <bp-checks.h>.
55396         (truncate64): Do not use CHECK_STRING.
55397         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55398         <bp-checks.h>.
55399         (__real_chown): Do not use CHECK_STRING.
55400         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55401         <bp-checks.h>.
55402         (__lchown): Do not use CHECK_STRING.
55403         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55404         <bp-checks.h>.
55405         (__chown): Do not use CHECK_STRING.
55406         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55407         <bp-checks.h>.
55408         (truncate64): Do not use CHECK_STRING.
55409         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55410         Likewise.
55411         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55412         (__xmknod): Do not use CHECK_STRING.
55413         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55414         <bp-checks.h>.
55415         (__xmknodat): Do not use CHECK_STRING.
55416         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55417         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55419 2013-02-04  Andreas Schwab  <schwab@suse.de>
55421         [BZ #14142]
55422         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55423         * include/netdb.h: Likewise for h_errno.
55424         * elf/tst-stackguard1.c: Include <tls.h>.
55426 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55428         * elf/link.h (struct link_map): Extend the l_addr comment.
55429         * include/link.h (struct link_map): Likewise.
55431 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55433         [BZ #13550]
55434         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55435         (BOUNDED_1): Remove macro.
55436         * debug/backtrace.c: Don't include <bp-checks.h>.
55437         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55438         (__backtrace): Likewise.
55439         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55440         <bp-checks.h>.
55441         (__backtrace): Don't use BOUNDED_1.
55442         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55443         <bp-checks.h>.
55444         (__backtrace): Don't use BOUNDED_1.
55445         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55446         (__backtrace): Don't use BOUNDED_1.
55447         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55448         (shmat): Don't use BOUNDED_N.
55450 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55452         [BZ #13550]
55453         * sysdeps/generic/bp-start.h: Remove file.
55454         * csu/libc-start.c: Don't include <bp-start.h>.
55455         (LIBC_START_MAIN): Set up __environ directly instead of using
55456         INIT_ARGV_and_ENVIRON.
55457         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55458         <bp-start.h>.
55460         [BZ #13550]
55461         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55462         definitions.
55463         (CHECK_FCNTL): Likewise.
55464         (CHECK_N_PAGES): Likewise.
55466         [BZ #13550]
55467         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55468         definitions.
55469         (CHECK_SIGSET_NULL_OK): Likewise.
55470         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55471         <bp-checks.h>.
55472         (sigpending): Don't use CHECK_SIGSET.
55473         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55474         <bp-checks.h>.
55475         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55476         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55477         <bp-checks.h>.
55478         (do_sigsuspend): Don't use CHECK_SIGSET.
55479         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55480         use CHECK_SIGSET.
55481         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55482         (do_sigwait): Don't use CHECK_SIGSET.
55483         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55484         use CHECK_SIGSET.
55485         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55486         include <bp-checks.h>.
55487         (sigpending): Don't use CHECK_SIGSET.
55488         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55489         include <bp-checks.h>.
55490         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55491         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55492         <bp-checks.h>.
55493         (sigpending): Don't use CHECK_SIGSET.
55494         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55495         <bp-checks.h>.
55496         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55498         [BZ #13550]
55499         * sysdeps/generic/bp-semctl.h: Remove file.
55500         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55501         <bp-checks.h> and <bp-semctl.h>.
55502         (__old_semctl): Don't use CHECK_SEMCTL.
55503         (__new_semctl): Likewise.
55504         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55505         and <bp-semctl.h>.
55506         (__old_semctl): Don't use CHECK_SEMCTL.
55507         (__new_semctl): Likewise.
55508         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55509         <bp-checks.h> and <bp-semctl.h>.
55510         (__old_semctl): Don't use CHECK_SEMCTL.
55511         (__new_semctl): Likewise.
55512         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55513         <bp-checks.h> and <bp-semctl.h>.
55514         (semctl): Don't use CHECK_SEMCTL.
55516         [BZ #13550]
55517         * Makerules (elide-bp-thunks): Remove variable.
55518         (elide-routines.oS): Don't use $(elide-bp-thunks).
55519         (elide-routines.os): Likewise.
55520         (elide-routines.o): Likewise.
55521         (elide-routines.op): Likewise.
55522         (elide-routines.og): Likewise.
55523         (objects): Don't use $(bp-thunks).
55524         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55525         include.
55526         (common-generated): Do not add s-proto-bp.d.
55527         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55528         (int): Likewise.
55529         (typ): Likewise.
55530         Do not generate makefile rules for bounded-pointer thunks.
55531         * sysdeps/generic/bp-thunks.h: Remove file.
55532         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55533         * sysdeps/unix/s-proto-bp.S: Likewise.
55535         [BZ #15062]
55536         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55537         parts of result separately when argument is not close to line from
55538         -i to i and one part of argument is small.
55539         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55540         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55541         * math/libm-test.inc (cacos_test): Add more tests.
55542         (casin_test): Likewise.
55543         (casinh_test): Likewise.
55544         * sysdeps/i386/fpu/libm-test-ulps: Update.
55545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55547 2013-01-31  David S. Miller  <davem@davemloft.net>
55549         * po/de.po: Update from translation team.
55551 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55553         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55555 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55557         * configure.in (_AC_PROG_CC_C89): New definition.
55558         * configure: Regenerate.
55560         * configure.in (AC_PROG_CPP): New definition.
55561         * configure: Regenerate.
55563 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55565         * debug/tst-backtrace.h: New file.
55566         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55567         (ret): Remove variable.
55568         (x): Likewise.
55569         (FAIL): Remove macro.
55570         (NO_INLINE): Likewise.
55571         (fn1): Use match function instead of strstr.
55572         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55573         (ret): Remove variable.
55574         (x): Likewise.
55575         (FAIL): Remove macro.
55576         (NO_INLINE): Likewise.
55577         (fn): Use match function instead of strstr.
55578         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55579         (ret): Remove variable.
55580         (x): Likewise.
55581         (FAIL): Remove macro.
55582         (NO_INLINE): Likewise.
55583         (handle_signal): Use match function instead of strstr.
55584         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55585         (ret): Remove variable.
55586         (x): Likewise.
55587         (FAIL): Remove macro.
55588         (NO_INLINE): Likewise.
55589         (handle_signal): Use match function instead of strstr.
55591 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55593         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55595 2013-01-23  David S. Miller  <davem@davemloft.net>
55597         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55598         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55599         argument of CAS if possible.
55600         * sysdeps/sparc/sparc64/bits/atomic.h
55601         (__arch_compare_and_exchange_val_32_acq): Likewise.
55602         (__arch_compare_and_exchange_val_64_acq): Likewise.
55604 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55606         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55607         * sysdeps/posix/ulimit.c: ... this.
55608         Include <limits.h>.
55609         * sysdeps/unix/bsd/ulimit.c: Remove file.
55611 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55613         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55614         (LDFLAGS-tst-array5): Likewise.
55616 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55618         [BZ #15036]
55619         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55620         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55621         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55622         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55624 2013-01-21  David S. Miller  <davem@davemloft.net>
55626         * sysdeps/sparc/backtrace.c: New file.
55627         * sysdeps/sparc/sparc32/backtrace.h: New file.
55628         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55629         * sysdeps/sparc/sparc64/backtrace.h: New file.
55630         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55631         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55632         -funwind-tables.
55634 2013-01-21  Andreas Schwab  <schwab@suse.de>
55636         [BZ #15020]
55637         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55638         closed its stdout.
55640 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55643         "mpa2.h".
55644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55646 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55647             Mark Mitchell  <mark@codesourcery.com>
55648             Tom de Vries  <tom@codesourcery.com>
55649             Paul Pluzhnikov  <ppluzhnikov@google.com>
55651         * debug/tst-backtrace2.c: New file.
55652         * debug/tst-backtrace3.c: Likewise.
55653         * debug/tst-backtrace4.c: Likewise.
55654         * debug/tst-backtrace5.c: Likewise.
55655         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55656         (CFLAGS-tst-backtrace3.c): Likewise.
55657         (CFLAGS-tst-backtrace4.c): Likewise.
55658         (CFLAGS-tst-backtrace5.c): Likewise.
55659         (LDFLAGS-tst-backtrace2): Likewise.
55660         (LDFLAGS-tst-backtrace3): Likewise.
55661         (LDFLAGS-tst-backtrace4): Likewise.
55662         (LDFLAGS-tst-backtrace5): Likewise.
55663         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55664         tst-backtrace4 and tst-backtrace5.
55666 2013-01-18  Anton Blanchard  <anton@samba.org>
55667             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55669         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55670         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55671         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55672         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55674         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55675         "+r" and remove output regs list as redundant.  Add explicit inline
55676         asm to specify register of return val to work around compiler codegen
55677         bug.  Remove (int) cast on return value.  Add return type parameter to
55678         use in macro so that this macro does not truncate return value for
55679         64-bit values.
55680         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55681         pass to INTERNAL_VSYSCALL_NCS.
55682         (INLINE_VSYSCALL): Add 'long int' as return type to
55683         INTERNAL_VSYSCALL_NCS macro invocation.
55684         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55685         INTERNAL_VSYSCALL_NCS macro invocation.
55686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55688 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55690         [BZ #14496]
55691         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55692         Fix application of SIMD FP exception mask.
55694         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55695         mp_no from a power of two.
55696         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55697         __mpexp_twomm1.  Use __pow_mp.
55699         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55700         multiplication.
55702 2013-01-17  David S. Miller  <davem@davemloft.net>
55704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55706 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55708         [BZ #15023]
55709         * include/complex.h: Condition contents on [!_COMPLEX_H].
55710         (__kernel_casinhf): New prototype.
55711         (__kernel_casinh): Likewise.
55712         (__kernel_casinhl): Likewise.
55713         * math/Makefile (libm_calls): Add k_casinh.
55714         * math/k_casinh.c: New file.
55715         * math/k_casinhf.c: Likewise.
55716         * math/k_casinhl.c: Likewise.
55717         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55718         finite nonzero arguments.
55719         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55720         finite nonzero arguments.
55721         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55722         finite nonzero arguments.
55723         * math/s_casinh.c: Do not include <float.h>.
55724         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55725         * math/s_casinhf.c: Do not include <float.h>.
55726         (__casinhf): Move code for finite nonzero arguments to
55727         k_casinhf.c.
55728         * math/s_casinhl.c: Do not include <float.h>.
55729         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55730         redefine.
55731         (__casinhl): Move code for finite nonzero arguments to
55732         k_casinhl.c.
55733         * math/libm-test.inc (cacos_test): Add more tests.
55734         * sysdeps/i386/fpu/libm-test-ulps: Update.
55735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55737 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55739         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55740         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55741         [!HAVE_MREMAP]: Remove [defined linux] case.
55742         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55744 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55746         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55748 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55750         * elf/elf.h (R_386_SIZE32): New relocation.
55751         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55752         R_386_SIZE32.
55753         (elf_machine_rela): Likewise.
55754         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55755         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55757 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55759         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55760         (FP_FAST_FMA): Do not define.
55761         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55762         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55763         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55764         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55765         !_SOFT_FLOAT]: Likewise.
55766         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55767         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55768         value.
55769         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55770         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55771         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55772         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55773         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55774         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55775         file.
55777 2013-01-16  Andreas Schwab  <schwab@suse.de>
55779         [BZ #14327]
55780         * include/stdlib.h (__mktemp): Add declaration.
55781         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55782         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55784 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55786         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55787         definitions.
55788         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55789         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55790         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55791         definitions here.
55792         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55793         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55794         definitions.
55795         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55796         and ONE.
55797         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55798         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55799         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55800         definitions.
55801         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55802         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55803         definitions.
55804         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55806         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55808 2013-01-15  David S. Miller  <davem@davemloft.net>
55810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55811         trunc{,f} to libm-sysdep_routes.
55812         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55814         file.
55815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55817         file.
55818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55819         file.
55820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55822         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55823         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55824         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55825         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55826         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55827         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55830         nearbyint{,f} to libm-sysdep_routes.
55831         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55833         New file.
55834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55835         file.
55836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55837         New file.
55838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55839         file.
55840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55842         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55843         file.
55844         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55845         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55846         file.
55847         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55848         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55849         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55851         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55852         libc_feholdexcept and libc_fesetenv.
55854 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55856         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55858 2013-01-14  David S. Miller  <davem@davemloft.net>
55860         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55861         (SPARC_ASM_VIS2_IFUNC): Likewise.
55862         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55864         use of 'siam' instruction.
55865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55866         Likewise.
55867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55868         Likewise.
55869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55870         Likewise.
55871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55876         file.
55877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55878         file.
55879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55880         file.
55881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55882         file.
55883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55886         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55888         new VIS2 routines.
55889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55892         Likewise.
55893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55898         routines to libm-sysdep_routines.
55899         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55902         fdim/fdimf to libm-sysdep_routines.
55903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55904         file.
55905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55907         file.
55908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55911         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55912         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55913         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55914         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55916 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55918         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55919         to optimize copies.
55921         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55925         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55926         local variable MPTWO.
55927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55928         Likewise.
55930 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55932         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55933         GLOB_NOESCAPE.
55935 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55937         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55939 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55941         * manual/pattern.texi (glob_t): Document gl_flags.
55942         (glob64_t): Likewise.
55944 2013-01-11  David S. Miller  <davem@davemloft.net>
55946         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55947         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55948         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55949         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55950         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55951         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55952         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55953         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55954         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55955         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55956         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55957         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55958         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55960         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55961         sparc V9 rather than using V8 code.
55962         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55963         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55965         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55966         Move to...
55967         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55968         Here.
55970 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55972         [BZ #14941]
55973         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55974         not in the main loop.
55975         * configure: Regenerated.
55977 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55979         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55980         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55981         to just #else.
55982         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55983         [!__GLIBC_HAVE_LONG_LONG] case.
55984         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55985         condition to just #else.
55986         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55987         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55988         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55989         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55990         unconditional.
55991         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55992         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55993         #elif condition to just #else.
55994         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55995         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55996         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55997         #elif condition to just #else.
55999 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56001         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56002         (EF_MIPS_ARCH_64): Fix value.
56003         (EF_MIPS_ARCH_32R2): New.
56004         (EF_MIPS_ARCH_64R2): New.
56006 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56008         * Makeconfig (+link-pie-before-libc): New.
56009         (+link-pie-after-libc): Likewise.
56010         (+link-pie-tests): Likewise.
56011         (+link-pie): Rewritten.
56012         (link-before-libc): Remove $(config-LDFLAGS).
56013         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56014         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56015         (config-LDFLAGS): Renamed to ...
56016         (rtld-LDFLAGS): This.
56017         (rtld-tests-LDFLAGS): New macro.
56018         (link-libc-rpath-link): Likewise.
56019         (link-libc-tests-rpath-link): Likewise.
56020         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56021         (link-libc): Prepand $(link-libc-rpath-link).
56022         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56023         (test-program-prefix): New macro.
56024         (test-via-rtld-prefix): Likewise.
56025         (test-program-cmd): Likewise.
56026         (host-test-program-cmd): Likewise.
56027         * Makefile ($(common-objpfx)testrun.sh): Replace
56028         $(run-program-prefix) with $(test-program-prefix).
56029         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56030         $(rtld-LDFLAGS).
56031         ($(common-objpfx)shlib.lds): Likewise.
56032         (build-module-helper): Likewise.
56033         ($(common-objpfx)format.lds): Likewise.
56034         * Rules (binaries-pie-tests): New.
56035         (binaries-pie-notests): Likewise.
56036         (binaries-pie): Rewritten.
56037         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56038         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56039         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56040         (make-test-out): Replace $(host-built-program-cmd) with
56041         $(host-test-program-cmd).
56042         * config.make.in (build-hardcoded-path-in-tests): New variable.
56043         * configure.in (--enable-hardcoded-path-in-tests): New configure
56044         option.
56045         (hardcoded_path_in_tests): New AC_SUBST.
56046         * configure: Regenerated.
56047         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56048         $(built-program-cmd) with $(test-program-cmd).
56049         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56050         (test_program_cmd): This.
56051         * elf/Makefile ($(objpfx)order.out): Run test with
56052         $(test-program-prefix).
56053         ($(objpfx)order2.out): Likewise.
56054         ($(objpfx)tst-initorder.out): Likewise.
56055         ($(objpfx)tst-initorder2.out): Likewise.
56056         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56057         $(test-program-cmd).
56058         ($(objpfx)tst-array1-static.out): Likewise.
56059         ($(objpfx)tst-array2.out): Likewise.
56060         ($(objpfx)tst-array3.out): Likewise.
56061         ($(objpfx)tst-array4.out): Likewise.
56062         ($(objpfx)tst-array5.out): Likewise.
56063         ($(objpfx)tst-array5-static.out): Likewise.
56064         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56065         $(test-program-cmd).
56066         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56067         $(run-program-prefix) with $(test-program-prefix).
56068         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56069         (test_program_prefix): This.
56070         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56071         $(run-program-prefix) with $(test-program-prefix).
56072         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56073         (test_program_prefix): This.
56074         * iconvdata/tst-tables.sh: Likewise.
56075         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56076         $(run-program-prefix) with $(test-program-prefix).
56077         ($(objpfx)tst-translit.out): Likewise.
56078         ($(objpfx)tst-gettext2.out): Likewise.
56079         ($(objpfx)tst-gettext4.out): Likewise.
56080         ($(objpfx)tst-gettext6.out): Likewise.
56081         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56082         (test_program_prefix): This.
56083         * intl/tst-gettext2.sh: Likewise.
56084         * intl/tst-gettext4.sh  Likewise.
56085         * intl/tst-gettext6.sh: Likewise.
56086         * intl/tst-translit.sh: Likewise.
56087         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56088         with $(test-program-cmd).
56089         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56090         $(run-program-prefix) with $(test-program-prefix).
56091         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56092         (test_program_prefix): This.
56093         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56094         $(run-program-prefix) with $(test-program-prefix).
56095         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56096         (test_program_prefix): This.
56097         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56098         * posix/Makefile ($(objpfx)globtest.out): Replace
56099         $(run-via-rtld-prefix) and $(test-wrapper) with
56100         $(test-program-prefix) and $(test-via-rtld-prefix).
56101         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56102         $(test-program-prefix).
56103         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56104         $(host-test-program-cmd).
56105         (tst-spawn-ARGS): Likewise.
56106         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56107         $(test-program-prefix).
56108         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56109         (test_via_rtld_prefix): This.
56110         (test_wrapper): Renamed to ...
56111         (test_program_prefix): This.
56112         (run_program_prefix): Replaced by test_program_prefix.
56113         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56114         (test_program_prefix): This.
56115         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56116         with $(host-test-program-cmd).
56117         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56118         $(run-program-prefix) with $(test-program-prefix).
56119         ($(objpfx)tst-printf.out): Likewise.
56120         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56121         $(test-program-cmd).
56122         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56123         (test_program_prefix): This.
56124         * stdio-common/tst-unbputc.sh: Likewise.
56125         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56126         $(run-program-prefix) with $(test-program-prefix).
56127         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56128         (test_program_prefix): This.
56129         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56130         $(built-program-cmd) with $(test-program-cmd).
56132 2013-01-11  Andreas Jaeger  <aj@suse.de>
56134         [BZ #15003]
56135         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56136         value. Sync with Linux 3.7.
56138 2013-01-10  David S. Miller  <davem@davemloft.net>
56140         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56141         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56142         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56144 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56146         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56147         never set.
56148         * configure: Regenerated.
56150 2013-01-10  David S. Miller  <davem@davemloft.net>
56152         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56153         sparc V9 rather than using V8 code.
56154         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56155         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56157 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56159         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56160         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56161         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56162         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56163         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56164         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56165         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56166         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56167         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56168         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56169         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56170         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56171         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56172         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56173         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56174         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56175         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56176         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56177         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56178         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56179         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56180         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56181         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56182         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56183         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56184         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56185         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56187 2013-01-10  David S. Miller  <davem@davemloft.net>
56189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56191 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56193         * posix/Makefile (tests-static): New variable.
56194         (tests): Add $(tests-static).
56195         (tst-exec-static-ARGS): New variable.
56196         (tst-spawn-static-ARGS): Likewise.
56197         * posix/tst-exec-static.c: New file.
56198         * posix/tst-spawn-static.c: Likewise.
56199         * posix/tst-exec.c: Support run directly.
56200         * posix/tst-spawn.c: Likewise.
56202 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56204         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56205         long.
56206         * math/bits/mathcalls.h (llrint): Likewise.
56207         (llround): Likewise.
56208         * stdlib/stdlib.h (struct drand48_data): Likewise.
56209         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56210         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56211         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56212         Likewise.
56213         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56214         Likewise.
56215         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56216         (elf_greg_t): Likewise.
56217         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56218         (__jmp_buf): Likewise.
56219         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56220         definitions.
56221         (llrint): Likewise, for all definitions.
56222         (llrintl): Likewise.
56224         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56225         Remove [__GNUC__] condition.
56226         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56227         condition to just [__USE_ISOC99].
56228         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56230 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56232         [BZ #14200]
56233         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56234         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56235         defined.
56236         (_POSIX_V6_ILP32_OFF32): Likewise.
56237         (_XBS5_ILP32_OFF32): Likewise.
56238         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56239         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56241 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56243         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56245         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56246         doubles __mpexp_twomm1.  Adjust usage.
56247         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56248         Remove.
56250 2013-01-10  Andreas Schwab  <schwab@suse.de>
56252         [BZ #14964]
56253         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56254         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56256 2013-01-09  David S. Miller  <davem@davemloft.net>
56258         [BZ #15003]
56259         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56260         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56261         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56262         (TCP_FASTOPEN): Define.
56263         (tcp_repair_opt): New structure.
56264         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56265         enum values.
56266         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56267         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56268         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56269         (tcp_cookie_transactions): New structure.
56271 2013-01-09  Anton Blanchard  <anton@samba.org>
56273         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56274         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56275         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56276         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56278 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56280         * include/features.h (__USE_ANSI): Remove.
56282 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56284         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56286         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56288 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56290         * sysdeps/s390/fpu/libm-test-ulps: Update.
56292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56294         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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.
56308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56309         (__acr): Likewise.
56310         (__cpy): Likewise.
56311         (norm): Likewise.
56312         (denorm): Likewise.
56313         (__mp_dbl): Likewise.
56314         (__dbl_mp): Likewise.
56315         (add_magnitudes): Likewise.
56316         (sub_magnitudes): Likewise.
56317         (__add): Likewise.
56318         (__sub): Likewise.
56319         (__mul): Likewise.
56320         (__inv): Likewise.
56321         (__dvd): Likewise.
56322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56323         (__acr): Likewise.
56324         (__cpy): Likewise.
56325         (norm): Likewise.
56326         (denorm): Likewise.
56327         (__mp_dbl): Likewise.
56328         (__dbl_mp): Likewise.
56329         (add_magnitudes): Likewise.
56330         (sub_magnitudes): Likewise.
56331         (__add): Likewise.
56332         (__sub): Likewise.
56333         (__mul): Likewise.
56334         (__inv): Likewise.
56335         (__dvd): Likewise.
56337 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56339         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56340         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56341         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56342         2 && __USE_EXTERN_INLINES]: Likewise.
56344 2013-01-08  Andreas Jaeger  <aj@suse.de>
56346         [BZ# 14985]
56347         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56348         Remove.
56349         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56350         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56352 2013-01-07  Anton Blanchard  <anton@samba.org>
56354         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56355         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56356         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56357         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56358         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56359         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56360         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56361         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56363         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56364         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56365         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56366         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56367         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56368         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56369         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56370         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56371         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56372         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56373         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56374         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56375         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56376         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56377         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56378         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56379         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56380         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56381         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56382         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56383         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56384         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56386         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56387         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56388         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56389         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56390         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56391         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56392         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56393         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56394         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56395         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56396         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56398 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56400         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56401         (__MALLOC_PMT): Likewise.
56402         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56403         [__GNUC__], only on [_LIBC].
56404         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56405         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56406         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56407         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56408         forward declaration.
56409         (realloc_hook_ini): Likewise.
56410         (memalign_hook_ini): Likewise.
56411         (__libc_memalign): Do not use __MALLOC_PMT in variable
56412         declaration.
56413         (__libc_valloc): Likewise.
56414         (__libc_pvalloc): Likewise.
56415         (__libc_calloc): Likewise.
56416         (__posix_memalign): Likewise.
56418         [BZ #14996]
56419         * math/s_casinh.c: Include <float.h>.
56420         (__casinh): Do not do computation with squaring and square root
56421         for large arguments.
56422         * math/s_casinhf.c: Include <float.h>.
56423         (__casinhf): Do not do computation with squaring and square root
56424         for large arguments.
56425         * math/s_casinhl.c: Include <float.h>.
56426         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56427         (__casinhl): Do not do computation with squaring and square root
56428         for large arguments.
56429         * math/libm-test.inc (casin_test): Add more tests.
56430         (casinh_test): Likewise.
56431         * sysdeps/i386/fpu/libm-test-ulps: Update.
56432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56434 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56436         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56437         (__x86_64_raw_data_cache_size): Likewise.
56438         (__x86_64_data_cache_size_half): Likewise.
56439         (__x86_64_raw_data_cache_size_half): Likewise.
56440         (__x86_64_shared_cache_size): Likewise.
56441         (__x86_64_raw_shared_cache_size): Likewise.
56442         (__x86_64_shared_cache_size_half): Likewise.
56443         (__x86_64_raw_shared_cache_size_half): Likewise.
56444         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56445         to ...
56446         (__x86_data_cache_size): This.
56447         (__x86_64_raw_data_cache_size): Renamed to ...
56448         (__x86_raw_data_cache_size): This.
56449         (__x86_64_data_cache_size_half): Renamed to ...
56450         (__x86_data_cache_size_half): This.
56451         (__x86_64_raw_data_cache_size_half): Renamed to ...
56452         (__x86_raw_data_cache_size_half): This.
56453         (__x86_64_shared_cache_size): Renamed to ...
56454         (__x86_shared_cache_size): This.
56455         (__x86_64_raw_shared_cache_size): Renamed to ...
56456         (__x86_raw_shared_cache_size): This.
56457         (__x86_64_shared_cache_size_half): Renamed to ...
56458         (__x86_shared_cache_size_half): This.
56459         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56460         (__x86_raw_shared_cache_size_half): This.
56461         * sysdeps/x86_64/memcpy.S: Updated.
56462         * sysdeps/x86_64/memset.S: Likewise.
56463         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56464         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56465         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56467 2013-01-04  David S. Miller  <davem@davemloft.net>
56469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56471 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56473         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56474         1 to avoid redefinition warning.
56475         (__USE_GNU): Don't define.
56476         (init_signaling_nan): Protoize.
56478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56480 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56482         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56484         (__cpymn): Likewise.
56485         (norm): Remove commented code.
56486         (denorm): Likewise.
56487         (__mp_dbl): Likewise.
56488         (__inv): Likewise.
56489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56490         (__cpymn): Likewise.
56491         (norm): Remove commented code.
56492         (denorm): Likewise.
56493         (__mp_dbl): Likewise.
56494         (__inv): Likewise.
56496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56497         mp_no value for 1.0 and 2.0.
56498         (norm): Use RADIXI instead of radixi.d.
56499         (denorm): Likewise.
56500         (__mul): Use 0.0 instead of zero.d.
56501         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56502         mp_no value for 1.0 and 2.0.
56503         (norm): Use RADIXI instead of radixi.d.
56504         (denorm): Likewise.
56505         (__mul): Use 0.0 instead of zero.d.
56507 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56509         [BZ #14994]
56510         * math/s_casinh.c (__casinh): Reduce finite argument to first
56511         quadrant then set signs of results at the end.
56512         * math/s_casinhf.c (__casinhf): Likewise.
56513         * math/s_casinhl.c (__casinhl): Likewise.
56514         * math/libm-test.inc (casin_test): Add more tests.
56515         (casinh_test): Likewise.
56516         * sysdeps/i386/fpu/libm-test-ulps: Update.
56517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56519 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56521         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56523         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56525         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56526         declarations.
56527         (denorm): Likewise.
56528         (__mp_dbl): Likewise.
56529         (__inv): Likewise.
56531         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56532         and adjust the header comment.
56534         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56535         variable name from declaration.
56537 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56540         Initialize COMMON_CPUID_INDEX_7 element.
56541         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56542         (CPUID_RTM): Likewise.
56543         (HAS_RTM): Likewise.
56544         (COMMON_CPUID_INDEX_7): New enum.
56546 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56548         [BZ #14981]
56549         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56550         size is zero, record memory as freed.
56552 2013-01-03  Andreas Jaeger  <aj@suse.de>
56554         * po/ia.po: Add new Interlingua translation.
56556 2012-01-03  Allan McRae  <allan@archlinux.org>
56558         * locale/programs/localedef.c: Fix description of '--posix' flag.
56560 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56562         * NEWS: Update dates in second copyright notice.
56563         * README: Update copyright dates in example.
56564         * manual/libc.texinfo: Update copyright dates.
56565         * scripts/test-installation.pl: Update copyright date in --version
56566         output.
56568         * hurd/ctty-input.c: Fix copyright notice formatting.
56569         * hurd/ctty-output.c: Likewise.
56570         * hurd/dtable.c: Likewise.
56571         * hurd/hurd-raise.c: Likewise.
56572         * hurd/hurdprio.c: Likewise.
56573         * hurd/msgportdemux.c: Likewise.
56574         * misc/sys/file.h: Likewise.
56575         * misc/sys/ioctl.h: Likewise.
56576         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56577         * sysdeps/mach/hurd/chdir.c: Likewise.
56578         * sysdeps/mach/hurd/fchdir.c: Likewise.
56579         * sysdeps/mach/hurd/rename.c: Likewise.
56580         * sysdeps/mach/hurd/rmdir.c: Likewise.
56581         * sysdeps/mach/hurd/seekdir.c: Likewise.
56582         * sysdeps/mach/hurd/setsid.c: Likewise.
56583         * sysdeps/posix/wait3.c: Likewise.
56585         * All files with FSF copyright notices: Update copyright dates
56586         using scripts/update-copyrights.
56587         * intl/plural.c: Regenerated.
56588         * locale/programs/charmap-kw.h: Likewise.
56589         * locale/programs/locfile-kw.h: Likewise.
56591 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56593         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56594         four values.
56596         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56597         calculation loop and add branch prediction.
56599         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56600         check access beyond bounds of m1np.
56602         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56603         MPTWO.
56604         (__inv): Remove local variable MPTWO to use the global
56605         constant.
56606         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56607         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56608         variable MPTWO.
56609         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56610         MP3HALFS static const.
56612 2013-01-01  David S. Miller  <davem@davemloft.net>
56614         * po/ca.po: Update from translation team.
56616 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56618         * scripts/update-copyrights: New file.
56619         * Makeconfig: Reformat copyright notice.
56620         * ctype/ctype.h: Likewise.
56621         * debug/swprintf_chk.c: Likewise.
56622         * elf/dl-cache.c: Likewise.
56623         * elf/dl-debug.c: Likewise.
56624         * elf/dl-object.c: Likewise.
56625         * grp/initgroups.c: Likewise.
56626         * hurd/Makefile: Likewise.
56627         * hurd/hurd/signal.h: Likewise.
56628         * hurd/hurdfault.c: Likewise.
56629         * hurd/hurdioctl.c: Likewise.
56630         * hurd/hurdlookup.c: Likewise.
56631         * hurd/intr-msg.c: Likewise.
56632         * iconv/gconv_open.c: Likewise.
56633         * libio/swprintf.c: Likewise.
56634         * locale/lc-ctype.c: Likewise.
56635         * locale/nl_langinfo.c: Likewise.
56636         * mach/Machrules: Likewise.
56637         * mach/Makefile: Likewise.
56638         * malloc/obstack.h: Likewise.
56639         * manual/Makefile: Likewise.
56640         * manual/tsort.awk: Likewise.
56641         * misc/bits/stab.def: Likewise.
56642         * nis/nis_print_group_entry.c: Likewise.
56643         * nis/nis_table.c: Likewise.
56644         * nis/nss_compat/compat-pwd.c: Likewise.
56645         * nis/nss_compat/compat-spwd.c: Likewise.
56646         * po/Makefile: Likewise.
56647         * posix/fnmatch.c: Likewise.
56648         * posix/regex.h: Likewise.
56649         * resolv/Makefile: Likewise.
56650         * resolv/nss_dns/dns-network.c: Likewise.
56651         * resolv/res_hconf.c: Likewise.
56652         * scripts/gen-sorted.awk: Likewise.
56653         * soft-fp/soft-fp.h: Likewise.
56654         * stdio-common/printf.h: Likewise.
56655         * stdlib/monetary.h: Likewise.
56656         * stdlib/random.c: Likewise.
56657         * stdlib/random_r.c: Likewise.
56658         * sysdeps/generic/Makefile: Likewise.
56659         * sysdeps/gnu/Makefile: Likewise.
56660         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56661         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56662         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56664         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56665         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56666         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56667         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56668         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56669         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56670         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56671         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56672         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56673         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56674         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56675         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56676         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56677         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56678         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56679         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56680         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56681         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56682         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56683         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56684         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56685         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56686         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56687         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56688         * sysdeps/mach/hurd/errnos.awk: Likewise.
56689         * sysdeps/mach/hurd/fork.c: Likewise.
56690         * sysdeps/mach/hurd/getcwd.c: Likewise.
56691         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56692         * sysdeps/mach/hurd/mmap.c: Likewise.
56693         * sysdeps/mach/hurd/utimes.c: Likewise.
56694         * sysdeps/mach/hurd/xmknod.c: Likewise.
56695         * sysdeps/posix/profil.c: Likewise.
56696         * sysdeps/posix/readdir_r.c: Likewise.
56697         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56698         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56699         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56700         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56702         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56703         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56704         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56705         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56706         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56707         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56708         * sysdeps/pthread/lio_listio.c: Likewise.
56709         * sysdeps/sparc/dl-procinfo.h: Likewise.
56710         * sysdeps/unix/i386/sysdep.S: Likewise.
56711         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56712         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56713         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56714         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56716         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56717         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56718         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56719         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56720         * sysdeps/wordsize-32/divdi3.c: Likewise.
56721         * time/sys/time.h: Likewise.
56722         * wcsmbs/Makefile: Likewise.
56724 2013-01-01  David S. Miller  <davem@davemloft.net>
56726         * po/fr.po: Update from translation team.
56728         * catgets/gencat.c: Update copyright year.
56729         * csu/version.c: Likewise.
56730         * debug/catchsegv.sh: Likewise.
56731         * debug/pcprofiledump.c: Likewise.
56732         * debug/xtrace.sh: Likewise.
56733         * elf/ldconfig.c: Likewise.
56734         * elf/ldd.bash.in: Likewise.
56735         * elf/pldd.c: Likewise.
56736         * elf/sotruss.ksh: Likewise.
56737         * elf/sprof.c: Likewise.
56738         * iconv/iconv_prog.c: Likewise.
56739         * iconv/iconvconfig.c: Likewise.
56740         * locale/programs/locale.c: Likewise.
56741         * locale/programs/localedef.c: Likewise.
56742         * login/programs/pt_chown.c: Likewise.
56743         * malloc/memusage.sh: Likewise.
56744         * malloc/memusagestat.c: Likewise.
56745         * malloc/mtrace.pl: Likewise.
56746         * nscd/nscd.c: Likewise.
56747         * nss/getent.c: Likewise.
56748         * nss/makedb.c: Likewise.
56749         * posix/getconf.c: Likewise.
56751 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56753         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56754         numbers.
56756 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56758         * math/bits/mathcalls.h (modf): Use __nonnull.
56760 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56762         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56763         (split): Use macro CN instead of the bare value.
56764         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56765         could be used.
56766         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56767         instead of the bare value.
56768         (power1): Likewise.
56770 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56772         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56773         __ATAN_TWOM.
56774         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56776         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56777         their values.
56778         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56779         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56780         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56781         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56783 2012-12-28  Andreas Jaeger  <aj@suse.de>
56785         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56786         values are from Linux 3.7.
56788         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56789         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56791 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56793         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56794         TRUE case.
56796         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56797         (norm): Likewise.
56798         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56799         variables with preprocessor constants.
56800         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56801         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56802         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56804 2012-12-27  Bruno Haible  <bruno@clisp.org>
56806         [BZ #14317]
56807         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56808         only if needed.
56810 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56812         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56813         and use variable directly.
56814         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56816         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56817         MPONE.
56818         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56819         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56820         variable MPONE.
56821         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56822         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56823         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56824         include directive.  Remove local variable MPONE.
56825         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56826         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56827         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56829 2012-12-25  David S. Miller  <davem@davemloft.net>
56831         * version.h (RELEASE): Set to "development".
56832         (VERSION): Set to "2.17.90".
56833         * NEWS: Add 2.18 section.
56835 2012-12-21  David S. Miller  <davem@davemloft.net>
56837         * po/hr.po: Update from translation team.
56839 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56841         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56843 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56845         * NEWS:  Mention new memcpy for MIPS.
56847 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56849         * manual/contrib.texi (Contributors): Spelling correction.
56851 2012-12-15  David S. Miller  <davem@davemloft.net>
56853         * po/ru.po: Update from translation team.
56855 2012-12-13  David S. Miller  <davem@davemloft.net>
56857         * NEWS: Mention IFUNC testsuite enhancements.
56859         * po/pl.po: Update from translation team.
56860         * po/bg.po: Likewise.
56862         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56863         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56865 2012-12-11  David S. Miller  <davem@davemloft.net>
56867         * po/sv.po: Update from translation team.
56869         * po/vi.po: Update from translation team.
56871         * po/cs.po: Update from translation team.
56873         * po/de.po: Update from translation team.
56874         * po/eo.po: Likewise.
56875         * po/nl.po: Likewise.
56877 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56879         [BZ #14246]
56880         * manual/argp.texi (Argp Helper Functions): Move node to follow
56881         Argp Parsing State.
56883         [BZ #14872]
56884         * manual/conf.texi (Limits on File System Capacity): Mention if
56885         terminating null is included in the max size.
56887 2012-12-10  Andreas Jaeger  <aj@suse.de>
56889         * po/cs.po: Update from translation team.
56891 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56893         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56894         void pointer and cast to uintptr_t.
56895         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56896         path.
56897         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56898         * sysdeps/s390/s390-64/memset.S: Likewise.
56900 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56902         [BZ #14833]
56903         * menual/message.texi (Message Translation): Fix typos.
56904         (Helper programs for gettext): Likewise.
56906 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56908         [BZ #14898]
56909         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56910         Change to -1.
56912 2012-12-07  David S. Miller  <davem@davemloft.net>
56914         * po/libc.pot: Update.
56916 2012-12-07  Richard Henderson  <rth@redhat.com>
56918         [BZ #10114]
56919         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56920         normal/normal case to before the switch.
56921         (_FP_DIV): Likewise.
56923 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56924             Mike Frysinger  <vapier@gentoo.org>
56926         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56927         check for __NR_fadvise64_64.
56929 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56931         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56932         0, not just to plain "0" as a statement.
56933         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56934         with cw.
56936 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56938         * NEWS: Use sourceware.org in Bugzilla URL.
56940 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56943         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56945         * stdio-common/tst-put-error.c (do_test): Add newline to the
56946         padded test to ensure flush.
56948 2012-12-05  Jeff Law  <law@redhat.com>
56950         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56952 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56954         * README: Don't refer to ports add-on as distributed separately.
56955         Mention AArch64 in list of systems supported in the ports add-on.
56957         * LICENSES: Add more non-FSF copyright and license notices.
56959         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56960         ((unused)).
56962         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56964         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56965         10000 as width of padded output.
56967 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56969         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56971         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56972         variable LX with __attribute__ ((unused)).
56973         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56974         Likewise.
56975         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56976         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56977         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56978         with __attribute__ ((unused)).
56980 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56982         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56984 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56986         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56987         (CFLAGS-nldbl-acos.c): New variable.
56988         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56989         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56990         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56991         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56992         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56993         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56994         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56995         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56996         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56997         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56998         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56999         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57000         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57001         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57002         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57003         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57004         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57005         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57006         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57007         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57008         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57009         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57010         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57011         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57012         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57013         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57014         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57015         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57016         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57017         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57018         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57019         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57020         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57021         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57022         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57023         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57024         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57025         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57026         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57027         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57028         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57029         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57030         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57031         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57032         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57033         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57034         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57035         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57036         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57037         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57038         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57039         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57040         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57041         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57042         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57043         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57044         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57045         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57046         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57047         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57048         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57049         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57050         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57051         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57052         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57053         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57054         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57055         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57056         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57057         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57058         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57059         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57060         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57061         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57062         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57063         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57064         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57065         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57066         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57067         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57068         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57069         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57070         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57071         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57072         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57073         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57074         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57075         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57076         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57077         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57078         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57079         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57080         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57081         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57082         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57083         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57084         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57087         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57089         [BZ #14914]
57090         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57091         whole low double instead of just low 47 bits when splitting values
57092         into two parts.
57094 2012-12-03  Allan McRae  <allan@archlinux.org>
57096         * manual/stdio.texi (Predefined Printf Handlers): Remove
57097         @hsep and @vsep usage.
57099 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57101         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57102         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57104 2012-12-03  Jeff Law  <law@redhat.com>
57106         * time/sys/time.h (settimeofday): Do not mark TV argument
57107         as __nonnull.
57109 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57111         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57112         when currently writing and seek to current position when not.
57113         * libio/Makefile (tests): Remove bug-fclose1.
57114         * libio/bug-fclose1.c: Delete.
57116 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57118         * manual/arith.texi (feenableexcept): Fix typo.
57119         (fedisableexcept): Likewise.
57121 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57123         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57124         second, differently-typed declaration, rather than a cast.
57126 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57128         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57129         * include/rpc/svc.h: ... here.
57131 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57133         [BZ #13013]
57134         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57135         depending n and resplen2 to catch cases where answer
57136         equals answerp2.
57138 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57140         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57141         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57143 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57145         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57147 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57149         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57151 2012-11-28  Jeff Law  <law@redhat.com>
57153         [BZ #13761]
57154         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57155         dataset_temporary.  Track alloca usage into alloca_used.
57156         If dataset is large allocate and release it via malloc/free.
57158 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57160         [BZ #14197]
57161         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57163 2012-11-28  David S. Miller  <davem@davemloft.net>
57165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57167 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57169         [BZ #14803]
57170         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57171         of pi/2 rounded to nearest to 64 bits.
57172         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57173         nearest to 64 bits.
57174         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57175         bits.
57177 2012-11-28  Jeff Law <law@redhat.com>
57178             Martin Osvald <mosvald@redhat.com>
57180         [BZ #14889]
57181         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57182         * sunrpc/svc.c: Include time.h.
57183         (__svc_accept_failed): New function.
57184         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57185         any reason other than EINTR, call __svc_accept_failed.
57186         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57187         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57189 2012-11-28  Andreas Schwab  <schwab@suse.de>
57191         * scripts/abilist.awk: Also handle indirect functions in .opd
57192         section.
57194 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57196         [BZ #13881]
57197         * sysdeps/x86/fpu/powl_helper.c: New file.
57198         * sysdeps/x86/fpu/Makefile: Likewise.
57199         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57200         (p3): New object.
57201         (__ieee754_powl): Use __powl_helper for finite arguments except
57202         integer exponents below 8.
57203         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57204         (p3): New object.
57205         (__ieee754_powl): Use __powl_helper for finite arguments except
57206         integer exponents below 8.
57207         * math/libm-test.inc (pow_test): Add more tests and enable some
57208         previously disabled tests.
57209         * sysdeps/i386/fpu/libm-test-ulps: Update.
57210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57212 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57213             Carlos O'Donell  <carlos_odonell@mentor.com>
57215         * nss/makedb.c (is_prime): Assert that input is odd and greater
57216         than 4.  Note that fact in a comment too.
57217         (next_prime): Add 4 to input.
57219 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57221         [BZ #11741]
57222         * libio/Makefile (tests): Add test case tst-fwrite-error.
57223         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57224         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57225         * libio/tst-fwrite-error.c: New test case.
57227 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57229         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57230         before casting to void *.
57231         * include/libc-internal.h (__pointer_type): New macro.
57232         (__integer_if_pointer_type_sub): Likewise.
57233         (__integer_if_pointer_type): Likewise.
57234         (cast_to_integer): Likewise.
57235         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57236         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57237         before casting to atomic64_t.
57238         (atomic_exchange_acq): Likewise.
57239         (__arch_exchange_and_add_body): Likewise.
57240         (__arch_add_body): Likewise.
57241         (atomic_add_negative): Likewise.
57242         (atomic_add_zero): Likewise.
57244 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57246         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57247         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57248         (add_fdes): Likewise.
57249         (linear_search_fdes): Likewise.
57250         (binary_search_unencoded_fdes): Likewise.
57252 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57254         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57256 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57258         * configure.in: Autodetect C++ header directories.
57259         * configure: Regenerated.
57261 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57263         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57265 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57269 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57271         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57272         LDBL_MANT_DIG == 106]: Disable some tests.
57273         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57274         Likewise.
57275         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57276         Likewise.
57278         [BZ #14871]
57279         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57280         input for small inputs.  Return +/- pi/2 for large inputs.
57281         * math/libm-test.inc (atan_test): Add more tests.
57283         * sysdeps/generic/unwind-dw2-fde-glibc.c
57284         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57285         __attribute__ ((unused)).
57287         [BZ #14645]
57288         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57289         x * y if x and y are nonzero and z is zero.
57291         [BZ #14811]
57292         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57293         nonzero exponents with absolute value below 0x1p-117 to +/-
57294         0x1p-117.
57296         [BZ #14869]
57297         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57298         up arguments below 2**-450, not just those below 2**-500.
57299         * math/libm-test.inc (hypot_test): Add another test.
57301         [BZ #14868]
57302         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57303         Return a+b for ratio over 2**120, not 2**60.
57304         * math/libm-test.inc (hypot_test): Add another test.
57306         * math/libm-test.inc (clog_test): Use
57307         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57308         (clog10_test): Likewise.
57310         [BZ #6778]
57311         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57313 2012-11-22  Andreas Schwab  <schwab@suse.de>
57315         * sysdeps/i386/fpu/libm-test-ulps: Update.
57317 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57319         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57320         printf output with newline.
57322 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57324         [BZ #14865]
57325         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57326         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57327         -z nodlopen, -z initfirst and -z execstack support.
57328         * configure: Regenerated.
57330         * elf/elf.h (DF_1_NODIRECT): New macro.
57331         (DF_1_IGNMULDEF): Likewise.
57332         (DF_1_NOKSYMS): Likewise.
57333         (DF_1_NOHDR): Likewise.
57334         (DF_1_EDITED): Likewise.
57335         (DF_1_NORELOC): Likewise.
57336         (DF_1_SYMINTPOSE): Likewise.
57337         (DF_1_GLOBAUDIT): Likewise.
57338         (DF_1_SINGLETON): Likewise.
57339         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57340         DT_1_SUPPORTED_MASK bits.
57341         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57343 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57345         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57347 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57349         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57350         macro.
57352         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57353         (sendmmsg): Move declarations...
57354         * socket/sys/socket.h: ... here.
57355         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57356         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57357         include it from...
57358         * socket/recvmmsg.c: ... this new file.
57359         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57360         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57361         definition of __sendmmsg hidden.
57362         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57363         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57364         Move ENOSYS stub into and include it from...
57365         * socket/sendmmsg.c: ... this new file.
57366         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57367         (sysdep_routines): Move recvmmsg and sendmmsg...
57368         * socket/Makefile (routines): ... here.
57369         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57370         (GLIBC_PRIVATE): Add __sendmmsg.
57371         * include/sys/socket.h (__sendmmsg): Add declarations.
57372         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57373         sendmmsg.
57375 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57377         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57378         variable I1 with __attribute__ ((unused)).
57379         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57381 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57383         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57384         DUMMY variables with __attribute__ ((unused)).
57386         * bits/byteswap.h: Include <bits/types.h>.
57387         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57389 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57391         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57392         string_t.  Do not manually set errno.
57393         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57394         length with __strnlen.  Make sure to both set errno and return it on
57395         failure.
57397 2012-11-19  David S. Miller  <davem@davemloft.net>
57399         With help from Joseph Myers.
57400         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57401         very large arguments properly.
57402         * math/libm-test.inc (atan_test): New tests.
57403         (atan2_test): New tests.
57404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57407 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57409         [BZ #14856]
57410         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57411         Define to 3.
57413         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57414         [POSIX] (EADDRNOTAVAIL): Likewise.
57415         [POSIX] (EAFNOSUPPORT): Likewise.
57416         [POSIX] (EALREADY): Likewise.
57417         [POSIX] (ECONNABORTED): Likewise.
57418         [POSIX] (ECONNREFUSED): Likewise.
57419         [POSIX] (ECONNRESET): Likewise.
57420         [POSIX] (EDESTADDRREQ): Likewise.
57421         [POSIX] (EDQUOT): Likewise.
57422         [POSIX] (EHOSTUNREACH): Likewise.
57423         [POSIX] (EIDRM): Likewise.
57424         [POSIX] (EISCONN): Likewise.
57425         [POSIX] (ELOOP): Likewise.
57426         [POSIX] (EMULTIHOP): Likewise.
57427         [POSIX] (ENETDOWN): Likewise.
57428         [POSIX] (ENETUNREACH): Likewise.
57429         [POSIX] (ENOBUFS): Likewise.
57430         [POSIX] (ENODATA): Likewise.
57431         [POSIX] (ENOLINK): Likewise.
57432         [POSIX] (ENOMSG): Likewise.
57433         [POSIX] (ENOPROTOOPT): Likewise.
57434         [POSIX] (ENOSR): Likewise.
57435         [POSIX] (ENOSTR): Likewise.
57436         [POSIX] (ENOTCONN): Likewise.
57437         [POSIX] (ENOTSOCK): Likewise.
57438         [POSIX] (EOPNOTSUPP): Likewise.
57439         [POSIX] (EOVERFLOW): Likewise.
57440         [POSIX] (EPROTO): Likewise.
57441         [POSIX] (EPROTONOSUPPORT): Likewise.
57442         [POSIX] (EPROTOTYPE): Likewise.
57443         [POSIX] (ESTALE): Likewise.
57444         [POSIX] (ETIME): Likewise.
57445         [POSIX] (ETXTBSY): Likewise.
57446         [POSIX] (EWOULDBLOCK): Likewise.
57447         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57448         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57449         [POSIX] (SEEK_CUR): Likewise.
57450         [POSIX] (SEEK_END): Likewise.
57451         [POSIX || UNIX98] (mode_t): Do not require.
57452         [POSIX] (off_t): Likewise.
57453         [POSIX] (pid_t): Likewise.
57454         [POSIX] (sys/stat.h): Do not allow header.
57455         [POSIX] (unistd.h): Likewise.
57456         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57457         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57458         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57459         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57460         require.
57461         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57462         sigevent): Specify elements.
57463         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57464         entry.
57465         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57466         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57468         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57469         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57470         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57471         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57472         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57473         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57474         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57475         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57476         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57477         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57478         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57479         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57480         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57481         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57482         Likewise.
57483         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57484         Likewise.
57485         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57486         Likewise.
57487         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57488         Likewise.
57489         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57490         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57491         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57492         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57493         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57494         Specify lower bound on value.
57495         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57496         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57497         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57498         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57499         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57500         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57501         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57502         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57503         value.
57504         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57505         as optional.
57506         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57507         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57508         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57509         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57510         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57511         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57512         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57513         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57514         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57515         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57516         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57517         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57518         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57519         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57520         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57521         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57522         entry.
57523         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57524         optional.
57525         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57526         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57527         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57528         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57529         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57530         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57531         Likewise.
57532         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57533         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57534         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57535         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57536         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57537         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57538         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57539         as optional.
57540         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57541         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57542         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57543         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57544         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57545         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57546         specify as optional.
57547         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57548         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57549         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57550         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57551         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57552         [XPG3] (NL_LANGMAX): Likewise.
57553         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57554         [POSIX || XPG3] (NL_NMAX): Likewise.
57555         [POSIX || XPG3] (NL_SETMAX): Likewise.
57556         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57557         [XPG3] (NZERO): Likewise.
57558         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57559         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57560         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57561         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57562         (REG_ERANGE): Expect.
57563         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57564         optional-constant.
57565         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57566         Use (void) in prototype.
57567         [POSIX] (*_t): Allow.
57568         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57569         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57570         (WRDE_BADVAL): Expect.
57572         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57573         expect.
57574         [XPG3 || XPG4] (O_RSYNC): Likewise.
57575         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57576         Likewise.
57577         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57578         [XPG3 || XPG4] (sigqueue): Likewise.
57579         [XPG3 || XPG4] (sigtimedwait): Likewise.
57580         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57581         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57582         [XPG3 || XPG4] (vsnprintf): Likewise.
57583         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57584         Likewise.
57585         [XPG3 || XPG4] (blksize_t): Likewise.
57586         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57587         Likewise.
57588         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57589         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57590         [XPG3 || XPG4] (struct itimerspec): Likewise.
57591         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57592         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57593         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57594         [XPG3 || XPG4] (clockid_t): Likewise.
57595         [XPG3 || XPG4] (timer_t): Likewise.
57596         [XPG3 || XPG4] (clock_getres): Likewise.
57597         [XPG3 || XPG4] (clock_gettime): Likewise.
57598         [XPG3 || XPG4] (clock_settime): Likewise.
57599         [XPG3 || XPG4] (nanosleep): Likewise.
57600         [XPG3 || XPG4] (timer_create): Likewise.
57601         [XPG3 || XPG4] (timer_delete): Likewise.
57602         [XPG3 || XPG4] (timer_gettime): Likewise.
57603         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57604         [XPG3 || XPG4] (timer_settime): Likewise.
57605         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57606         [XPG3 || XPG4] (getlogin_r): Likewise.
57607         [XPG3 || XPG4] (pread): Likewise.
57608         [XPG3 || XPG4] (pthread_atfork): Likewise.
57609         [XPG3 || XPG4] (pwrite): Likewise.
57611         [BZ #14835]
57612         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57613         <bits/siginfo.h>.
57615 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57617         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57618         finalizing MALLSTREAM.
57620         * sysdeps/mach/hurd/syncfs.c: New file.
57622 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57624         [BZ #14719]
57625         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57626         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57627         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57628         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57629         (_nss_dns_gethostbyname4_r): Likewise.
57630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57631         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57633 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57635         [BZ #13763]
57636         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57638 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57640         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57641         * elf/cache.c (print_entry): Print ",AArch64" for
57642         FLAG_AARCH64_LIB64
57644         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57645         * elf/cache.c (print_entry): Print ",hard-float" for
57646         FLAG_ARM_LIBHF.
57648 2012-11-18  David S. Miller  <davem@davemloft.net>
57650         With help from Joseph Myers.
57651         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57652         cutoff to 2**-13.
57653         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57654         cutoff to 2**-25.
57655         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57656         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57657         small.
57658         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57659         * math/libm-test.inc (y0_test): New tests.
57660         (y1_test): New tests.
57661         * sysdeps/i386/fpu/libm-test-ulps: Update.
57662         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57665 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57667         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57668         64-bit targets.
57669         * configure: Regenerated.
57671 2012-11-17  David S. Miller  <davem@davemloft.net>
57673         [BZ #14811]
57674         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57675         nonzero exponents with absolute value below 0x1p-128 to +/-
57676         0x1p-128.
57678 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57680         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57682         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57684         * posix/getconf-speclist.c: New file.
57685         * posix/posix-envs.def: Likewise.
57686         * posix/confstr.c (START_ENV_GROUP): New macro.
57687         (END_ENV_GROUP): Likewise.
57688         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57689         (KNOWN_PRESENT_ENV_STRING): Likewise.
57690         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57691         (UNKNOWN_ENVIRONMENT): Likewise.
57692         (confstr): Include posix-envs.def instead of handling
57693         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57694         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57695         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57696         (END_ENV_GROUP): Likewise.
57697         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57698         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57699         (UNKNOWN_ENVIRONMENT): Likewise.
57700         (__sysconf): Include posix-envs.def instead of handling associated
57701         cases directly here.
57702         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57703         preprocessing getconf-speclist.c rather than running getconf or
57704         generating empty file.
57706 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57708         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57710 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57712         [BZ #14672]
57713         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57715 2012-11-16  David S. Miller  <davem@davemloft.net>
57717         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57718         smaller than LDBL_EPSILON/2.0L, just return xm1.
57720 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57722         * elf/tst-array1.c (init): Set constructor priority to 1000.
57723         (fini): Set destructor priority to 1000.
57724         * elf/tst-array2dep.c: Likewise.
57726 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57728         [BZ #11741]
57729         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57730         (_IO_new_file_xsputn): Also return EOF if none of the input
57731         data was written when overflow failed.
57732         * libio/iopadn.c (_IO_padn): Likewise.
57733         * libio/iowpadn.c (_IO_wpadn): Likewise.
57734         * stdio-common/tst-put-error.c: Add copyright notice.
57735         (do_test): Add case for printing padded string.
57736         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57737         _IO_padn returned error.
57738         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57739         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57740         return EOF.
57742 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57744         * libio/libioP.h: Add comment note that the references to C++
57745         bits are now obsolete.
57747 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57749         * math/libm-test.inc (check_complex): Use asprintf.
57751 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57753         * debug/pcprofiledump.c (print_version): Update copyright year.
57754         * malloc/memusagestat.c (print_version): Likewise.
57756 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57758         [BZ #14831]
57759         * elf/Makefile (tests): Add tst-audit8.
57760         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57761         ($(objpfx)tst-audit8.out): New target.
57762         (tst-audit8-ENV): New variable.
57763         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57764         audit if l_reloc_result is NULL.
57765         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57766         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57767         * elf/tst-audit8.c: New file.
57769 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57771         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57772         * misc/Makefile (CFLAGS-select.c): Define.
57773         * posix/Makefile (CFLAGS-pause.c): Define.
57775 2012-11-13  David S. Miller  <davem@davemloft.net>
57777         * crypt/Makefile: Move test targets after toplevel Rules
57778         inclusion.  Grab any necessary sysdep routines when linking.
57779         * crypt/md5.c (md5_process_block): Remove define, we will always
57780         name it __md5_process_block.
57781         (md5_finish_ctx): Update md5_process_block call.
57782         (md5_stream): Likewise.
57783         (md5_process_bytes): Likewise.
57784         (md5_process_block): Rename to __md5_process_block and move to ...
57785         * crypt/md5-block.c: ... here.
57786         * crypt/sha256.c (sha256_process_block): Move to ...
57787         * crypt/sha256-block.c: ... here.
57788         * crypt/sha512.c (sha512_process_block): Move to ...
57789         * crypt/sha512-block.c: ... here.
57790         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57791         path.
57792         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57793         * sysdeps/sparc/sparc64/multiarch/Makefile
57794         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57795         crypt subdir.
57796         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57797         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57798         multiarch changes.
57799         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57800         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57801         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57802         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57803         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57804         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57805         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57806         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57807         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57808         file.
57809         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57810         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57811         file.
57812         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57814 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57816         * timezone/tzselect.ksh: Update from tzcode git revision
57817         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57818         * timezone/zdump.c: Likewise.
57819         * timezone/zic.c: Likewise.
57820         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57821         in TZVERSION setting, not $(PKGVERSION).
57822         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57823         REPORT_BUGS_TO settings.
57825         [BZ #14838]
57826         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57827         macro.
57829 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57831         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57832         detection to immediately after _FP_ROUND().
57833         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57834         bits are 0.
57836 2012-11-11  David S. Miller  <davem@davemloft.net>
57838         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57839         inttypes.h
57840         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57841         __close rather than their public counterparts.
57843 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57845         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57846         file.
57847         [UNIX98] (sem_timedwait): Do not expect.
57848         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57849         [XPG4 || UNIX98] (sockatmark): Do not expect.
57850         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57851         (clock_getcpuclockid): Do not expect.
57852         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57853         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57854         Do not expect.
57855         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57856         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57857         [UNIX98] (vwscanf): Likewise.
57858         [UNIX98] (vswscanf): Likewise.
57860 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57862         * timezone/version.h: Remove file.
57863         * timezone/README: Do not refer to version.h.
57864         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57865         $(objpfx)version.h.
57866         ($(objpfx)zdump.o): Likewise.
57867         ($(objpfx)version.h): New target.
57869         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57870         2012i.
57871         * timezone/README: Don't mention modification to tzselect.ksh.
57872         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57873         work on unmodified tzselect.ksh.  Substitute version numbers in
57874         tzselect.ksh.
57876         * Makefile (format-me): Remove.
57877         (INSTALL): Adjust indentation.  Use commands directly instead of
57878         using $(format-me).
57880         * aclocal.m4 (ACX_PKGVERSION): New macro.
57881         (ACX_BUGURL): Likewise.
57882         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57883         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57884         (REPORT_BUGS_TO): Likewise.
57885         * configure: Regenerated.
57886         * config.h.in (PKGVERSION): New macro.
57887         (REPORT_BUGS_TO): Likewise.
57888         * config.make.in (PKGVERSION): New variable.
57889         (PKGVERSION_TEXI): Likewise.
57890         (REPORT_BUGS_TO): Likewise.
57891         (REPORT_BUGS_TEXI): Likewise.
57892         * Makefile (format-me): Use -I$(common-objpfx)manual.
57893         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57894         ($(common-objpfx)manual/%): New target.
57895         (manual/%): Remove target.
57896         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57897         (print_version): Use PKGVERSION.
57898         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57899         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57900         and REPORT_BUGS_TO.
57901         ($(objpfx)xtrace): Likewise.
57902         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57903         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57904         (print_version): Use PKGVERSION.
57905         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57906         (do_version): Use PKGVERSION.
57907         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57908         REPORT_BUGS_TO.
57909         (common-ldd-rewrite): Likewise.
57910         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57911         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57912         (print_version): Use PKGVERSION.
57913         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57914         * elf/pldd.c (argp_program_bug_address): Remove variable.
57915         (more_help): New function.
57916         (argp): Use more_help.
57917         (print_version): Use PKGVERSION.
57918         * elf/sln.c (main): Use PKGVERSION.
57919         (usage): Use REPORT_BUGS_TO.
57920         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57921         (top level): Use PKGVERSION.
57922         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57923         (print_version): Use PKGVERSION.
57924         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57925         (print_version): Use PKGVERSION.
57926         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57927         (print_version): Use PKGVERSION.
57928         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57929         (print_version): Use PKGVERSION.
57930         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57931         (print_version): Use PKGVERSION.
57932         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57933         (print_version): Use PKGVERSION.
57934         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57935         and BUGURL.
57936         ($(objpfx)memusage): Likewise.
57937         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57938         (do_version): Use PKGVERSION.
57939         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57940         (print_version): Use PKGVERSION.
57941         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57942         ($PKGVERSION): New variable.
57943         ($REPORT_BUGS_TO): Likewise.
57944         (usage): Use $REPORT_BUGS_TO.
57945         (top level): Use $PKGVERSION.
57946         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57947         ($(objpfx)pkgvers.texi): New rule.
57948         ($(objpfx)stamp-pkgvers): Likewise.
57949         * manual/install.texi: Include pkgvers.texi.
57950         (--with-pkgversion): Document new configure option.
57951         (--with-bugurl): Likewise.
57952         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57953         than necessarily for this particular distribution.  Use
57954         REPORT_BUGS_TO for where to report bugs.
57955         * INSTALL: Regenerated.
57956         * manual/libc.texinfo: Include pkgvers.texi.
57957         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57958         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57959         (print_version): Use PKGVERSION.
57960         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57961         (print_version): Use PKGVERSION.
57962         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57963         (print_version): Use PKGVERSION.
57964         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57965         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57966         macro.
57967         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57968         (print_version): Use PKGVERSION.
57969         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57970         (print_version): Use PKGVERSION.
57971         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57972         and PKGVERSION.
57974         * timezone/checktab.awk: Update from tzcode 2012i.
57975         * timezone/ialloc.c: Likewise.
57976         * timezone/private.h: Likewise.
57977         * timezone/scheck.c: Likewise.
57978         * timezone/tzfile.h: Likewise.
57979         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57980         (TZVERSION): Hardcode tzcode version number.
57981         * timezone/zdump.c: Update from tzcode 2012i.
57982         * timezone/zic.c: Likewise.
57983         * timezone/version.h: New file.
57984         * timezone/README: Describe version.h.  Update upstream location.
57986         [BZ #14824]
57987         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57988         (mktemp): Enable declaration.
57989         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57990         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57991         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57992         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57993         Likewise.
57994         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57995         Likewise.
57996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57997         Likewise.
57998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57999         Likewise.
58000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58001         Likewise.
58002         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58003         Likewise.
58005         [BZ #14821]
58006         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58007         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58008         for copies of such integer values.
58009         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58010         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58012 2012-11-09  Andreas Jaeger  <aj@suse.de>
58014         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58015         definitions and declarations that are provided by
58016         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58018 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58020         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58021         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58022         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58023         definition.
58025 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58027         * elf/elf.h: Update comment before AArch64 relocations.
58029 2012-11-07  David S. Miller  <davem@davemloft.net>
58031         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58032         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58033         (__start_context): Declare.
58034         (__makecontext_ret): Delete.
58035         (__makecontext): Hook up __start_context instead of
58036         __makecontext_ret.
58037         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58038         (sysdep_routines): Add __start_context when in stdlib.
58040 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58042         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58043         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58044         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58045         hardcoded "nm".
58046         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58047         (READELF): New variable.  Use it instead of hardcoded "readelf".
58049 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58051         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58052         * sysdeps/x86/Makefile: Here.
58053         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58054         * sysdeps/x86/tst-xmmymm.sh: This.
58056 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58058         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58059         expectations.
58060         [UNIX98] (pthread_barrier_t): Do not expect.
58061         [UNIX98] (pthread_barrierattr_t): Likewise.
58062         [UNIX98] (pthread_spinlock_t): Likewise.
58063         [UNIX98] (pthread_barrier_destroy): Likewise.
58064         [UNIX98] (pthread_barrier_init): Likewise.
58065         [UNIX98] (pthread_barrier_wait): Likewise.
58066         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58067         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58068         [UNIX98] (pthread_barrierattr_init): Likewise.
58069         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58070         [UNIX98] (pthread_getcpuclockid): Likewise.
58071         [UNIX98] (pthread_mutex_timedlock): Likewise.
58072         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58073         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58074         [UNIX98] (pthread_sigmask): Likewise.
58075         [UNIX98] (pthread_spin_destroy): Likewise.
58076         [UNIX98] (pthread_spin_init): Likewise.
58077         [UNIX98] (pthread_spin_lock): Likewise.
58078         [UNIX98] (pthread_spin_trylock): Likewise.
58079         [UNIX98] (pthread_spin_unlock): Likewise.
58080         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58081         Do not expect.
58082         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58083         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58084         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58085         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58086         [XPG3 || XPG4] (pthread_key_t): Likewise.
58087         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58088         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58089         [XPG3 || XPG4] (pthread_once_t): Likewise.
58090         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58091         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58092         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58093         [XPG3 || XPG4] (pthread_t): Likewise.
58095         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58096         not expect.
58097         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58099         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58100         Change function return type to int.
58102         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58103         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58104         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58105         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58106         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58107         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58108         [!POSIX] (posix_madvise): Likewise.
58109         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58110         && !UNIX98].
58111         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58112         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58113         (mode_t): Likewise.
58114         (posix_mem_offset): Likewise.
58115         (posix_typed_mem_get_info): Likewise.
58116         (posix_typed_mem_open): Likewise.
58118         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58119         Change condition to [XOPEN2K8].
58121         * conform/conformtest.pl: Preprocess allow-header data with -x c
58122         instead of from stdin.
58123         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58124         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58125         [C99-based standards] (cerfc): Likewise.
58126         [C99-based standards] (cexp2): Likewise.
58127         [C99-based standards] (cexpm1): Likewise.
58128         [C99-based standards] (clog10): Likewise.
58129         [C99-based standards] (clog1p): Likewise.
58130         [C99-based standards] (clog2): Likewise.
58131         [C99-based standards] (clgamma): Likewise.
58132         [C99-based standards] (ctgamma): Likewise.
58133         [C99-based standards] (cerff): Likewise.
58134         [C99-based standards] (cerfcf): Likewise.
58135         [C99-based standards] (cexp2f): Likewise.
58136         [C99-based standards] (cexpm1f): Likewise.
58137         [C99-based standards] (clog10f): Likewise.
58138         [C99-based standards] (clog1pf): Likewise.
58139         [C99-based standards] (clog2f): Likewise.
58140         [C99-based standards] (clgammaf): Likewise.
58141         [C99-based standards] (ctgammaf): Likewise.
58142         [C99-based standards] (cerfl): Likewise.
58143         [C99-based standards] (cerfcl): Likewise.
58144         [C99-based standards] (cexp2l): Likewise.
58145         [C99-based standards] (cexpm1l): Likewise.
58146         [C99-based standards] (clog10l): Likewise.
58147         [C99-based standards] (clog1pl): Likewise.
58148         [C99-based standards] (clog2l): Likewise.
58149         [C99-based standards] (clgammal): Likewise.
58150         [C99-based standards] (ctgammal): Likewise.
58151         * conform/data/inttypes.h-data [C99-based standards]: Include
58152         stdint.h-data.  Remove all expectations for stdint.h contents.
58153         [C99-based standards] (PRI*): Do not allow.
58154         [C99-based standards] (SCN*): Likewise.
58155         [C99-based standards] (*_t): Likewise.
58156         [C99-based-standards] (PRId8): Expect macro.
58157         [C99-based-standards] (PRIi8): Likewise.
58158         [C99-based-standards] (PRIo8): Likewise.
58159         [C99-based-standards] (PRIu8): Likewise.
58160         [C99-based-standards] (PRIx8): Likewise.
58161         [C99-based-standards] (PRIX8): Likewise.
58162         [C99-based-standards] (SCNd8): Likewise.
58163         [C99-based-standards] (SCNi8): Likewise.
58164         [C99-based-standards] (SCNo8): Likewise.
58165         [C99-based-standards] (SCNu8): Likewise.
58166         [C99-based-standards] (SCNx8): Likewise.
58167         [C99-based-standards] (PRIdLEAST8): Likewise.
58168         [C99-based-standards] (PRIiLEAST8): Likewise.
58169         [C99-based-standards] (PRIoLEAST8): Likewise.
58170         [C99-based-standards] (PRIuLEAST8): Likewise.
58171         [C99-based-standards] (PRIxLEAST8): Likewise.
58172         [C99-based-standards] (PRIXLEAST8): Likewise.
58173         [C99-based-standards] (SCNdLEAST8): Likewise.
58174         [C99-based-standards] (SCNiLEAST8): Likewise.
58175         [C99-based-standards] (SCNoLEAST8): Likewise.
58176         [C99-based-standards] (SCNuLEAST8): Likewise.
58177         [C99-based-standards] (SCNxLEAST8): Likewise.
58178         [C99-based-standards] (PRIdFAST8): Likewise.
58179         [C99-based-standards] (PRIiFAST8): Likewise.
58180         [C99-based-standards] (PRIoFAST8): Likewise.
58181         [C99-based-standards] (PRIuFAST8): Likewise.
58182         [C99-based-standards] (PRIxFAST8): Likewise.
58183         [C99-based-standards] (PRIXFAST8): Likewise.
58184         [C99-based-standards] (SCNdFAST8): Likewise.
58185         [C99-based-standards] (SCNiFAST8): Likewise.
58186         [C99-based-standards] (SCNoFAST8): Likewise.
58187         [C99-based-standards] (SCNuFAST8): Likewise.
58188         [C99-based-standards] (SCNxFAST8): Likewise.
58189         [C99-based-standards] (PRId16): Likewise.
58190         [C99-based-standards] (PRIi16): Likewise.
58191         [C99-based-standards] (PRIo16): Likewise.
58192         [C99-based-standards] (PRIu16): Likewise.
58193         [C99-based-standards] (PRIx16): Likewise.
58194         [C99-based-standards] (PRIX16): Likewise.
58195         [C99-based-standards] (SCNd16): Likewise.
58196         [C99-based-standards] (SCNi16): Likewise.
58197         [C99-based-standards] (SCNo16): Likewise.
58198         [C99-based-standards] (SCNu16): Likewise.
58199         [C99-based-standards] (SCNx16): Likewise.
58200         [C99-based-standards] (PRIdLEAST16): Likewise.
58201         [C99-based-standards] (PRIiLEAST16): Likewise.
58202         [C99-based-standards] (PRIoLEAST16): Likewise.
58203         [C99-based-standards] (PRIuLEAST16): Likewise.
58204         [C99-based-standards] (PRIxLEAST16): Likewise.
58205         [C99-based-standards] (PRIXLEAST16): Likewise.
58206         [C99-based-standards] (SCNdLEAST16): Likewise.
58207         [C99-based-standards] (SCNiLEAST16): Likewise.
58208         [C99-based-standards] (SCNoLEAST16): Likewise.
58209         [C99-based-standards] (SCNuLEAST16): Likewise.
58210         [C99-based-standards] (SCNxLEAST16): Likewise.
58211         [C99-based-standards] (PRIdFAST16): Likewise.
58212         [C99-based-standards] (PRIiFAST16): Likewise.
58213         [C99-based-standards] (PRIoFAST16): Likewise.
58214         [C99-based-standards] (PRIuFAST16): Likewise.
58215         [C99-based-standards] (PRIxFAST16): Likewise.
58216         [C99-based-standards] (PRIXFAST16): Likewise.
58217         [C99-based-standards] (SCNdFAST16): Likewise.
58218         [C99-based-standards] (SCNiFAST16): Likewise.
58219         [C99-based-standards] (SCNoFAST16): Likewise.
58220         [C99-based-standards] (SCNuFAST16): Likewise.
58221         [C99-based-standards] (SCNxFAST16): Likewise.
58222         [C99-based-standards] (PRId32): Likewise.
58223         [C99-based-standards] (PRIi32): Likewise.
58224         [C99-based-standards] (PRIo32): Likewise.
58225         [C99-based-standards] (PRIu32): Likewise.
58226         [C99-based-standards] (PRIx32): Likewise.
58227         [C99-based-standards] (PRIX32): Likewise.
58228         [C99-based-standards] (SCNd32): Likewise.
58229         [C99-based-standards] (SCNi32): Likewise.
58230         [C99-based-standards] (SCNo32): Likewise.
58231         [C99-based-standards] (SCNu32): Likewise.
58232         [C99-based-standards] (SCNx32): Likewise.
58233         [C99-based-standards] (PRIdLEAST32): Likewise.
58234         [C99-based-standards] (PRIiLEAST32): Likewise.
58235         [C99-based-standards] (PRIoLEAST32): Likewise.
58236         [C99-based-standards] (PRIuLEAST32): Likewise.
58237         [C99-based-standards] (PRIxLEAST32): Likewise.
58238         [C99-based-standards] (PRIXLEAST32): Likewise.
58239         [C99-based-standards] (SCNdLEAST32): Likewise.
58240         [C99-based-standards] (SCNiLEAST32): Likewise.
58241         [C99-based-standards] (SCNoLEAST32): Likewise.
58242         [C99-based-standards] (SCNuLEAST32): Likewise.
58243         [C99-based-standards] (SCNxLEAST32): Likewise.
58244         [C99-based-standards] (PRIdFAST32): Likewise.
58245         [C99-based-standards] (PRIiFAST32): Likewise.
58246         [C99-based-standards] (PRIoFAST32): Likewise.
58247         [C99-based-standards] (PRIuFAST32): Likewise.
58248         [C99-based-standards] (PRIxFAST32): Likewise.
58249         [C99-based-standards] (PRIXFAST32): Likewise.
58250         [C99-based-standards] (SCNdFAST32): Likewise.
58251         [C99-based-standards] (SCNiFAST32): Likewise.
58252         [C99-based-standards] (SCNoFAST32): Likewise.
58253         [C99-based-standards] (SCNuFAST32): Likewise.
58254         [C99-based-standards] (SCNxFAST32): Likewise.
58255         [C99-based-standards] (PRId64): Likewise.
58256         [C99-based-standards] (PRIi64): Likewise.
58257         [C99-based-standards] (PRIo64): Likewise.
58258         [C99-based-standards] (PRIu64): Likewise.
58259         [C99-based-standards] (PRIx64): Likewise.
58260         [C99-based-standards] (PRIX64): Likewise.
58261         [C99-based-standards] (SCNd64): Likewise.
58262         [C99-based-standards] (SCNi64): Likewise.
58263         [C99-based-standards] (SCNo64): Likewise.
58264         [C99-based-standards] (SCNu64): Likewise.
58265         [C99-based-standards] (SCNx64): Likewise.
58266         [C99-based-standards] (PRIdLEAST64): Likewise.
58267         [C99-based-standards] (PRIiLEAST64): Likewise.
58268         [C99-based-standards] (PRIoLEAST64): Likewise.
58269         [C99-based-standards] (PRIuLEAST64): Likewise.
58270         [C99-based-standards] (PRIxLEAST64): Likewise.
58271         [C99-based-standards] (PRIXLEAST64): Likewise.
58272         [C99-based-standards] (SCNdLEAST64): Likewise.
58273         [C99-based-standards] (SCNiLEAST64): Likewise.
58274         [C99-based-standards] (SCNoLEAST64): Likewise.
58275         [C99-based-standards] (SCNuLEAST64): Likewise.
58276         [C99-based-standards] (SCNxLEAST64): Likewise.
58277         [C99-based-standards] (PRIdFAST64): Likewise.
58278         [C99-based-standards] (PRIiFAST64): Likewise.
58279         [C99-based-standards] (PRIoFAST64): Likewise.
58280         [C99-based-standards] (PRIuFAST64): Likewise.
58281         [C99-based-standards] (PRIxFAST64): Likewise.
58282         [C99-based-standards] (PRIXFAST64): Likewise.
58283         [C99-based-standards] (SCNdFAST64): Likewise.
58284         [C99-based-standards] (SCNiFAST64): Likewise.
58285         [C99-based-standards] (SCNoFAST64): Likewise.
58286         [C99-based-standards] (SCNuFAST64): Likewise.
58287         [C99-based-standards] (SCNxFAST64): Likewise.
58288         [C99-based-standards] (PRIdMAX): Likewise.
58289         [C99-based-standards] (PRIiMAX): Likewise.
58290         [C99-based-standards] (PRIoMAX): Likewise.
58291         [C99-based-standards] (PRIuMAX): Likewise.
58292         [C99-based-standards] (PRIxMAX): Likewise.
58293         [C99-based-standards] (PRIXMAX): Likewise.
58294         [C99-based-standards] (SCNdMAX): Likewise.
58295         [C99-based-standards] (SCNiMAX): Likewise.
58296         [C99-based-standards] (SCNoMAX): Likewise.
58297         [C99-based-standards] (SCNuMAX): Likewise.
58298         [C99-based-standards] (SCNxMAX): Likewise.
58299         [C99-based-standards] (PRIdPTR): Likewise.
58300         [C99-based-standards] (PRIiPTR): Likewise.
58301         [C99-based-standards] (PRIoPTR): Likewise.
58302         [C99-based-standards] (PRIuPTR): Likewise.
58303         [C99-based-standards] (PRIxPTR): Likewise.
58304         [C99-based-standards] (PRIXPTR): Likewise.
58305         [C99-based-standards] (SCNdPTR): Likewise.
58306         [C99-based-standards] (SCNiPTR): Likewise.
58307         [C99-based-standards] (SCNoPTR): Likewise.
58308         [C99-based-standards] (SCNuPTR): Likewise.
58309         [C99-based-standards] (SCNxPTR): Likewise.
58310         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58311         allow.
58312         * conform/data/stdint.h-data: Update comments to clarify
58313         requirements.
58314         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58315         type.
58316         [C99-based standards] (INT8_MAX): Likewise.
58317         [C99-based standards] (INT16_MIN): Likewise.
58318         [C99-based standards] (INT16_MAX): Likewise.
58319         [C99-based standards] (INT32_MIN): Likewise.
58320         [C99-based standards] (INT32_MAX): Likewise.
58321         [C99-based standards] (INT64_MIN): Likewise.
58322         [C99-based standards] (INT64_MAX): Likewise.
58323         [C99-based standards] (UINT8_MAX): Likewise.
58324         [C99-based standards] (UINT16_MAX): Likewise.
58325         [C99-based standards] (UINT32_MAX): Likewise.
58326         [C99-based standards] (UINT64_MAX): Likewise.
58327         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58328         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58329         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58330         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58331         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58332         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58333         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58334         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58335         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58336         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58337         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58338         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58339         [C99-based standards] (INT_FAST8_MIN): Likewise.
58340         [C99-based standards] (INT_FAST8_MAX): Likewise.
58341         [C99-based standards] (INT_FAST16_MIN): Likewise.
58342         [C99-based standards] (INT_FAST16_MAX): Likewise.
58343         [C99-based standards] (INT_FAST32_MIN): Likewise.
58344         [C99-based standards] (INT_FAST32_MAX): Likewise.
58345         [C99-based standards] (INT_FAST64_MIN): Likewise.
58346         [C99-based standards] (INT_FAST64_MAX): Likewise.
58347         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58348         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58349         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58350         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58351         [C99-based standards] (INTPTR_MIN): Likewise.
58352         [C99-based standards] (INTPTR_MAX): Likewise.
58353         [C99-based standards] (UINTPTR_MAX): Likewise.
58354         [C99-based standards] (INTMAX_MIN): Likewise.
58355         [C99-based standards] (INTMAX_MAX): Likewise.
58356         [C99-based standards] (UINTMAX_MAX): Likewise.
58357         [C99-based standards] (PTRDIFF_MIN): Likewise.
58358         [C99-based standards] (PTRDIFF_MAX): Likewise.
58359         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58360         [C99-based standards] (SIZE_MAX): Likewise.
58361         [C99-based standards] (WCHAR_MAX): Likewise.
58362         [C99-based standards] (WINT_MAX): Likewise.
58363         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58364         constraint on value.
58365         [C99-based standards] (WCHAR_MIN): Likewise.
58366         [C99-based standards] (WINT_MIN): Likewise.
58367         [C99-based standards] (*_t): Allow.
58368         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58369         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58370         Include math.h-data and complex.h-data.  Remove all expectations
58371         of math.h and complex.h contents.
58372         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58373         at end of line.
58374         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58375         (struct tm): Expect tag.
58376         [C99-based-standards] (wcstof): Expect function.
58377         [C99-based-standards] (wcstold): Likewise.
58378         [C99-based-standards] (wcstoll): Likewise.
58379         [C99-based-standards] (wcstoull): Likewise.
58380         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58381         macro-int-constant.  Specify type.
58382         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58383         constraint on value.
58384         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58385         Specify type.
58386         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58387         Specify value.
58388         [ISO C standards]: Do not allow headers.
58389         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58390         wcs[abcdefghijklmnopqrstuvwxyz]*.
58391         [ISO C standards] (*_t): Do not allow.
58392         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58393         Expect function.
58394         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58395         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58396         Specify type.
58397         [ISO C standards]: Do not allow headers.
58398         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58399         is[abcdefghijklmnopqrstuvwxyz]*.
58400         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58401         to[abcdefghijklmnopqrstuvwxyz]*.
58402         [ISO C standards] (*_t): Do not allow.
58403         * conform/data/stdalign.h-data: New file.
58404         * conform/data/stdbool.h-data: Likewise.
58405         * conform/data/stdnoreturn.h-data: Likewise.
58407 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58409         [BZ #14815]
58410         * manual/filesys.texi (Directory Entries): Typo fix.
58411         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58413 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58415         * elf/elf.h (EM_AARCH64): New macro.
58416         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58417         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58418         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58419         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58420         (R_AARCH64_TLSDESC): Likewise.
58421         (NT_ARM_TLS): Likewise.
58422         (NT_ARM_HW_BREAK): Likewise.
58423         (NT_ARM_HW_WATCH): Likewise.
58425 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58427         [BZ #14811]
58428         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58429         (__ieee754_powl): Saturate nonzero exponents with absolute value
58430         below 0x1p-79 to +/- 0x1p-79.
58431         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58432         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58433         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58434         nonzero exponents with absolute value below 0x1p-32 to +/-
58435         0x1p-32.
58436         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58437         (__ieee754_powl): Saturate nonzero exponents with absolute value
58438         below 0x1p-79 to +/- 0x1p-79.
58439         * math/libm-test.inc (pow_test): Add more tests.
58441 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58443         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58444         _dl_s390_cap_flags with kernel. Increase string length.
58445         (_dl_s390_platforms): Add z196 and zEC12.
58447 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58449         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58450         Change XOPEN21K to XOPEN2K.
58452 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58454         * string/memmove.c: Use memcpy when possible.
58456 2012-11-06  Andreas Jaeger  <aj@suse.de>
58458         * po/eo.po: Update from translation team.
58460 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58462         [BZ #14793]
58463         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58464         exponent and small x and y exponents, scale x or y up.  Increase
58465         by 2 the exponent used in scaling up.
58466         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58467         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58468         * math/libm-test.inc (fma_test): Add more tests.
58469         (fma_test_towardzero): Likewise.
58470         (fma_test_downward): Likewise.
58471         (fma_test_upward): Likewise.
58473 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58475         [BZ #14805]
58476         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58477         fenv_t *.
58479         [BZ #14801]
58480         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58481         namespace for names of struct fields.
58482         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58483         fenv_t fields.
58484         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58485         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58487 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58489         [BZ #3665]
58490         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58492 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58494         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58495         PTR_DEMANGLE.
58497         [BZ #5246]
58498         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58499         PTR_DEMANGLE.
58501 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58503         [BZ #14797]
58504         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58505         definitely overflow as x * y not x * y + z.
58506         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58507         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58508         * math/libm-test.inc (fma_test): Add more tests.
58509         (fma_test_towardzero): Likewise.
58510         (fma_test_downward): Likewise.
58511         (fma_test_upward): Likewise.
58513 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58515         [BZ #157]
58517         * include/stub-tag.h: Remove file.
58518         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58519         '#include' of it.
58520         * manual/maint.texi (Porting): Don't reference it.
58521         * Makerules ($(objpfx)stubs): Likewise.
58522         * dirent/closedir.c: Don't include <stub-tag.h>.
58523         * dirent/dirfd.c: Likewise.
58524         * dirent/fdopendir.c: Likewise.
58525         * dirent/getdents.c: Likewise.
58526         * dirent/getdents64.c: Likewise.
58527         * dirent/opendir.c: Likewise.
58528         * dirent/readdir.c: Likewise.
58529         * dirent/readdir64.c: Likewise.
58530         * dirent/readdir64_r.c: Likewise.
58531         * dirent/readdir_r.c: Likewise.
58532         * dirent/rewinddir.c: Likewise.
58533         * dirent/seekdir.c: Likewise.
58534         * dirent/telldir.c: Likewise.
58535         * gmon/profil.c: Likewise.
58536         * grp/setgroups.c: Likewise.
58537         * inet/if_index.c: Likewise.
58538         * io/access.c: Likewise.
58539         * io/chdir.c: Likewise.
58540         * io/chmod.c: Likewise.
58541         * io/chown.c: Likewise.
58542         * io/close.c: Likewise.
58543         * io/dup.c: Likewise.
58544         * io/dup2.c: Likewise.
58545         * io/dup3.c: Likewise.
58546         * io/euidaccess.c: Likewise.
58547         * io/faccessat.c: Likewise.
58548         * io/fchdir.c: Likewise.
58549         * io/fchmod.c: Likewise.
58550         * io/fchmodat.c: Likewise.
58551         * io/fchown.c: Likewise.
58552         * io/fchownat.c: Likewise.
58553         * io/fcntl.c: Likewise.
58554         * io/flock.c: Likewise.
58555         * io/fstatfs.c: Likewise.
58556         * io/fstatfs64.c: Likewise.
58557         * io/fstatvfs.c: Likewise.
58558         * io/fstatvfs64.c: Likewise.
58559         * io/futimens.c: Likewise.
58560         * io/fxstat.c: Likewise.
58561         * io/fxstat64.c: Likewise.
58562         * io/fxstatat.c: Likewise.
58563         * io/fxstatat64.c: Likewise.
58564         * io/getcwd.c: Likewise.
58565         * io/isatty.c: Likewise.
58566         * io/lchmod.c: Likewise.
58567         * io/lchown.c: Likewise.
58568         * io/link.c: Likewise.
58569         * io/linkat.c: Likewise.
58570         * io/lseek.c: Likewise.
58571         * io/lseek64.c: Likewise.
58572         * io/lxstat64.c: Likewise.
58573         * io/mkdir.c: Likewise.
58574         * io/mkdirat.c: Likewise.
58575         * io/mkfifo.c: Likewise.
58576         * io/mkfifoat.c: Likewise.
58577         * io/open.c: Likewise.
58578         * io/open64.c: Likewise.
58579         * io/openat.c: Likewise.
58580         * io/openat64.c: Likewise.
58581         * io/pipe.c: Likewise.
58582         * io/pipe2.c: Likewise.
58583         * io/poll.c: Likewise.
58584         * io/posix_fadvise.c: Likewise.
58585         * io/posix_fadvise64.c: Likewise.
58586         * io/posix_fallocate.c: Likewise.
58587         * io/posix_fallocate64.c: Likewise.
58588         * io/read.c: Likewise.
58589         * io/readlink.c: Likewise.
58590         * io/readlinkat.c: Likewise.
58591         * io/rmdir.c: Likewise.
58592         * io/sendfile.c: Likewise.
58593         * io/sendfile64.c: Likewise.
58594         * io/statfs.c: Likewise.
58595         * io/statfs64.c: Likewise.
58596         * io/statvfs.c: Likewise.
58597         * io/statvfs64.c: Likewise.
58598         * io/symlink.c: Likewise.
58599         * io/symlinkat.c: Likewise.
58600         * io/ttyname.c: Likewise.
58601         * io/ttyname_r.c: Likewise.
58602         * io/umask.c: Likewise.
58603         * io/unlink.c: Likewise.
58604         * io/unlinkat.c: Likewise.
58605         * io/utime.c: Likewise.
58606         * io/utimensat.c: Likewise.
58607         * io/write.c: Likewise.
58608         * io/xmknod.c: Likewise.
58609         * io/xmknodat.c: Likewise.
58610         * io/xstat.c: Likewise.
58611         * io/xstat64.c: Likewise.
58612         * login/getpt.c: Likewise.
58613         * login/grantpt.c: Likewise.
58614         * login/unlockpt.c: Likewise.
58615         * math/e_acoshl.c: Likewise.
58616         * math/e_acosl.c: Likewise.
58617         * math/e_asinl.c: Likewise.
58618         * math/e_atan2l.c: Likewise.
58619         * math/e_atanhl.c: Likewise.
58620         * math/e_coshl.c: Likewise.
58621         * math/e_expl.c: Likewise.
58622         * math/e_fmodl.c: Likewise.
58623         * math/e_gammal_r.c: Likewise.
58624         * math/e_hypotl.c: Likewise.
58625         * math/e_j0l.c: Likewise.
58626         * math/e_j1l.c: Likewise.
58627         * math/e_jnl.c: Likewise.
58628         * math/e_lgammal_r.c: Likewise.
58629         * math/e_log10l.c: Likewise.
58630         * math/e_log2l.c: Likewise.
58631         * math/e_logl.c: Likewise.
58632         * math/e_powl.c: Likewise.
58633         * math/e_rem_pio2l.c: Likewise.
58634         * math/e_sinhl.c: Likewise.
58635         * math/e_sqrtl.c: Likewise.
58636         * math/fclrexcpt.c: Likewise.
58637         * math/fedisblxcpt.c: Likewise.
58638         * math/feenablxcpt.c: Likewise.
58639         * math/fegetenv.c: Likewise.
58640         * math/fegetexcept.c: Likewise.
58641         * math/fegetround.c: Likewise.
58642         * math/feholdexcpt.c: Likewise.
58643         * math/fesetenv.c: Likewise.
58644         * math/fesetround.c: Likewise.
58645         * math/feupdateenv.c: Likewise.
58646         * math/fgetexcptflg.c: Likewise.
58647         * math/fraiseexcpt.c: Likewise.
58648         * math/fsetexcptflg.c: Likewise.
58649         * math/ftestexcept.c: Likewise.
58650         * math/k_cosl.c: Likewise.
58651         * math/k_rem_pio2l.c: Likewise.
58652         * math/k_sinl.c: Likewise.
58653         * math/k_tanl.c: Likewise.
58654         * math/s_asinhl.c: Likewise.
58655         * math/s_atanl.c: Likewise.
58656         * math/s_cbrtl.c: Likewise.
58657         * math/s_erfl.c: Likewise.
58658         * math/s_expm1l.c: Likewise.
58659         * math/s_log1pl.c: Likewise.
58660         * math/s_tanhl.c: Likewise.
58661         * misc/acct.c: Likewise.
58662         * misc/brk.c: Likewise.
58663         * misc/chflags.c: Likewise.
58664         * misc/chroot.c: Likewise.
58665         * misc/fchflags.c: Likewise.
58666         * misc/fgetxattr.c: Likewise.
58667         * misc/flistxattr.c: Likewise.
58668         * misc/fremovexattr.c: Likewise.
58669         * misc/fsetxattr.c: Likewise.
58670         * misc/fsync.c: Likewise.
58671         * misc/ftruncate.c: Likewise.
58672         * misc/futimes.c: Likewise.
58673         * misc/futimesat.c: Likewise.
58674         * misc/getdomain.c: Likewise.
58675         * misc/getdtsz.c: Likewise.
58676         * misc/gethostid.c: Likewise.
58677         * misc/gethostname.c: Likewise.
58678         * misc/getloadavg.c: Likewise.
58679         * misc/getpagesize.c: Likewise.
58680         * misc/getsysstats.c: Likewise.
58681         * misc/getxattr.c: Likewise.
58682         * misc/gtty.c: Likewise.
58683         * misc/ioctl.c: Likewise.
58684         * misc/lgetxattr.c: Likewise.
58685         * misc/listxattr.c: Likewise.
58686         * misc/llistxattr.c: Likewise.
58687         * misc/lremovexattr.c: Likewise.
58688         * misc/lsetxattr.c: Likewise.
58689         * misc/lutimes.c: Likewise.
58690         * misc/madvise.c: Likewise.
58691         * misc/mincore.c: Likewise.
58692         * misc/mlock.c: Likewise.
58693         * misc/mlockall.c: Likewise.
58694         * misc/mmap.c: Likewise.
58695         * misc/mprotect.c: Likewise.
58696         * misc/msync.c: Likewise.
58697         * misc/munlock.c: Likewise.
58698         * misc/munlockall.c: Likewise.
58699         * misc/munmap.c: Likewise.
58700         * misc/preadv.c: Likewise.
58701         * misc/preadv64.c: Likewise.
58702         * misc/ptrace.c: Likewise.
58703         * misc/pwritev.c: Likewise.
58704         * misc/pwritev64.c: Likewise.
58705         * misc/readv.c: Likewise.
58706         * misc/reboot.c: Likewise.
58707         * misc/remap_file_pages.c: Likewise.
58708         * misc/removexattr.c: Likewise.
58709         * misc/revoke.c: Likewise.
58710         * misc/select.c: Likewise.
58711         * misc/setdomain.c: Likewise.
58712         * misc/setegid.c: Likewise.
58713         * misc/seteuid.c: Likewise.
58714         * misc/sethostid.c: Likewise.
58715         * misc/sethostname.c: Likewise.
58716         * misc/setregid.c: Likewise.
58717         * misc/setreuid.c: Likewise.
58718         * misc/setxattr.c: Likewise.
58719         * misc/sstk.c: Likewise.
58720         * misc/stty.c: Likewise.
58721         * misc/swapoff.c: Likewise.
58722         * misc/swapon.c: Likewise.
58723         * misc/sync.c: Likewise.
58724         * misc/syncfs.c: Likewise.
58725         * misc/syscall.c: Likewise.
58726         * misc/truncate.c: Likewise.
58727         * misc/ualarm.c: Likewise.
58728         * misc/usleep.c: Likewise.
58729         * misc/ustat.c: Likewise.
58730         * misc/utimes.c: Likewise.
58731         * misc/vhangup.c: Likewise.
58732         * misc/writev.c: Likewise.
58733         * posix/_exit.c: Likewise.
58734         * posix/alarm.c: Likewise.
58735         * posix/execve.c: Likewise.
58736         * posix/fexecve.c: Likewise.
58737         * posix/fork.c: Likewise.
58738         * posix/fpathconf.c: Likewise.
58739         * posix/getaddrinfo.c: Likewise.
58740         * posix/getegid.c: Likewise.
58741         * posix/geteuid.c: Likewise.
58742         * posix/getgid.c: Likewise.
58743         * posix/getgroups.c: Likewise.
58744         * posix/getlogin.c: Likewise.
58745         * posix/getlogin_r.c: Likewise.
58746         * posix/getpgid.c: Likewise.
58747         * posix/getpid.c: Likewise.
58748         * posix/getppid.c: Likewise.
58749         * posix/getresgid.c: Likewise.
58750         * posix/getresuid.c: Likewise.
58751         * posix/getsid.c: Likewise.
58752         * posix/getuid.c: Likewise.
58753         * posix/glob64.c: Likewise.
58754         * posix/nanosleep.c: Likewise.
58755         * posix/pathconf.c: Likewise.
58756         * posix/pause.c: Likewise.
58757         * posix/posix_madvise.c: Likewise.
58758         * posix/pread.c: Likewise.
58759         * posix/pread64.c: Likewise.
58760         * posix/pwrite.c: Likewise.
58761         * posix/pwrite64.c: Likewise.
58762         * posix/sched_getaffinity.c: Likewise.
58763         * posix/sched_getp.c: Likewise.
58764         * posix/sched_gets.c: Likewise.
58765         * posix/sched_primax.c: Likewise.
58766         * posix/sched_primin.c: Likewise.
58767         * posix/sched_rr_gi.c: Likewise.
58768         * posix/sched_setaffinity.c: Likewise.
58769         * posix/sched_setp.c: Likewise.
58770         * posix/sched_sets.c: Likewise.
58771         * posix/sched_yield.c: Likewise.
58772         * posix/setgid.c: Likewise.
58773         * posix/setlogin.c: Likewise.
58774         * posix/setpgid.c: Likewise.
58775         * posix/setresgid.c: Likewise.
58776         * posix/setresuid.c: Likewise.
58777         * posix/setsid.c: Likewise.
58778         * posix/setuid.c: Likewise.
58779         * posix/sleep.c: Likewise.
58780         * posix/spawni.c: Likewise.
58781         * posix/sysconf.c: Likewise.
58782         * posix/times.c: Likewise.
58783         * posix/wait.c: Likewise.
58784         * posix/wait3.c: Likewise.
58785         * posix/wait4.c: Likewise.
58786         * posix/waitpid.c: Likewise.
58787         * resolv/gai_sigqueue.c: Likewise.
58788         * resource/getpriority.c: Likewise.
58789         * resource/getrlimit.c: Likewise.
58790         * resource/getrusage.c: Likewise.
58791         * resource/nice.c: Likewise.
58792         * resource/setpriority.c: Likewise.
58793         * resource/setrlimit.c: Likewise.
58794         * resource/ulimit.c: Likewise.
58795         * rt/aio_cancel.c: Likewise.
58796         * rt/aio_fsync.c: Likewise.
58797         * rt/aio_read.c: Likewise.
58798         * rt/aio_sigqueue.c: Likewise.
58799         * rt/aio_suspend.c: Likewise.
58800         * rt/aio_write.c: Likewise.
58801         * rt/clock_getres.c: Likewise.
58802         * rt/clock_gettime.c: Likewise.
58803         * rt/clock_nanosleep.c: Likewise.
58804         * rt/clock_settime.c: Likewise.
58805         * rt/lio_listio.c: Likewise.
58806         * rt/mq_close.c: Likewise.
58807         * rt/mq_getattr.c: Likewise.
58808         * rt/mq_notify.c: Likewise.
58809         * rt/mq_open.c: Likewise.
58810         * rt/mq_receive.c: Likewise.
58811         * rt/mq_send.c: Likewise.
58812         * rt/mq_setattr.c: Likewise.
58813         * rt/mq_timedreceive.c: Likewise.
58814         * rt/mq_timedsend.c: Likewise.
58815         * rt/mq_unlink.c: Likewise.
58816         * rt/shm_open.c: Likewise.
58817         * rt/shm_unlink.c: Likewise.
58818         * rt/timer_create.c: Likewise.
58819         * rt/timer_delete.c: Likewise.
58820         * rt/timer_getoverr.c: Likewise.
58821         * rt/timer_gettime.c: Likewise.
58822         * rt/timer_settime.c: Likewise.
58823         * setjmp/__longjmp.c: Likewise.
58824         * setjmp/setjmp.c: Likewise.
58825         * signal/kill.c: Likewise.
58826         * signal/killpg.c: Likewise.
58827         * signal/raise.c: Likewise.
58828         * signal/sigaction.c: Likewise.
58829         * signal/sigaltstack.c: Likewise.
58830         * signal/sigblock.c: Likewise.
58831         * signal/sigignore.c: Likewise.
58832         * signal/sigintr.c: Likewise.
58833         * signal/signal.c: Likewise.
58834         * signal/sigpause.c: Likewise.
58835         * signal/sigpending.c: Likewise.
58836         * signal/sigqueue.c: Likewise.
58837         * signal/sigreturn.c: Likewise.
58838         * signal/sigset.c: Likewise.
58839         * signal/sigsetmask.c: Likewise.
58840         * signal/sigstack.c: Likewise.
58841         * signal/sigsuspend.c: Likewise.
58842         * signal/sigtimedwait.c: Likewise.
58843         * signal/sigvec.c: Likewise.
58844         * signal/sigwait.c: Likewise.
58845         * signal/sigwaitinfo.c: Likewise.
58846         * signal/sysv_signal.c: Likewise.
58847         * socket/accept.c: Likewise.
58848         * socket/accept4.c: Likewise.
58849         * socket/bind.c: Likewise.
58850         * socket/connect.c: Likewise.
58851         * socket/getpeername.c: Likewise.
58852         * socket/getsockname.c: Likewise.
58853         * socket/getsockopt.c: Likewise.
58854         * socket/isfdtype.c: Likewise.
58855         * socket/listen.c: Likewise.
58856         * socket/recv.c: Likewise.
58857         * socket/recvfrom.c: Likewise.
58858         * socket/recvmsg.c: Likewise.
58859         * socket/send.c: Likewise.
58860         * socket/sendmsg.c: Likewise.
58861         * socket/sendto.c: Likewise.
58862         * socket/setsockopt.c: Likewise.
58863         * socket/shutdown.c: Likewise.
58864         * socket/sockatmark.c: Likewise.
58865         * socket/socket.c: Likewise.
58866         * socket/socketpair.c: Likewise.
58867         * stdio-common/ctermid.c: Likewise.
58868         * stdio-common/cuserid.c: Likewise.
58869         * stdio-common/remove.c: Likewise.
58870         * stdio-common/rename.c: Likewise.
58871         * stdio-common/renameat.c: Likewise.
58872         * stdio-common/tempname.c: Likewise.
58873         * stdlib/getcontext.c: Likewise.
58874         * stdlib/makecontext.c: Likewise.
58875         * stdlib/setcontext.c: Likewise.
58876         * stdlib/swapcontext.c: Likewise.
58877         * stdlib/system.c: Likewise.
58878         * streams/fattach.c: Likewise.
58879         * streams/fdetach.c: Likewise.
58880         * streams/getmsg.c: Likewise.
58881         * streams/getpmsg.c: Likewise.
58882         * streams/putmsg.c: Likewise.
58883         * streams/putpmsg.c: Likewise.
58884         * sysdeps/unix/bsd/getpt.c: Likewise.
58885         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58886         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58887         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58889         Likewise.
58890         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58891         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58892         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58893         * sysvipc/msgctl.c: Likewise.
58894         * sysvipc/msgget.c: Likewise.
58895         * sysvipc/msgrcv.c: Likewise.
58896         * sysvipc/msgsnd.c: Likewise.
58897         * sysvipc/semctl.c: Likewise.
58898         * sysvipc/semget.c: Likewise.
58899         * sysvipc/semop.c: Likewise.
58900         * sysvipc/semtimedop.c: Likewise.
58901         * sysvipc/shmat.c: Likewise.
58902         * sysvipc/shmctl.c: Likewise.
58903         * sysvipc/shmdt.c: Likewise.
58904         * sysvipc/shmget.c: Likewise.
58905         * termios/tcdrain.c: Likewise.
58906         * termios/tcflow.c: Likewise.
58907         * termios/tcflush.c: Likewise.
58908         * termios/tcgetattr.c: Likewise.
58909         * termios/tcgetpgrp.c: Likewise.
58910         * termios/tcsendbrk.c: Likewise.
58911         * termios/tcsetattr.c: Likewise.
58912         * termios/tcsetpgrp.c: Likewise.
58913         * time/adjtime.c: Likewise.
58914         * time/clock.c: Likewise.
58915         * time/getitimer.c: Likewise.
58916         * time/gettimeofday.c: Likewise.
58917         * time/setitimer.c: Likewise.
58918         * time/settimeofday.c: Likewise.
58919         * time/stime.c: Likewise.
58920         * time/time.c: Likewise.
58922 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58924         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58925         /usr/old/bin.
58927         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58928         instead of spaces.
58929         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58931 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58933         [BZ #14796]
58934         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58935         FE_TONEAREST before applying Dekker multiplication and Knuth
58936         addition.  Clear inexact exceptions and check for exact zero
58937         results afterwards.
58938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58939         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58940         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58941         * math/libm-test.inc (fma_test): Add more tests.
58942         (fma_test_towardzero): Likewise.
58943         (fma_test_downward): Likewise.
58944         (fma_test_upward): Likewise.
58945         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58946         function.
58947         (libc_fesetround): New macro.
58948         (libc_fesetroundf): Likewise.
58949         (libc_fesetroundl): Likewise.
58950         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58951         function.
58952         (libc_fesetround_387): Likewise.
58953         (libc_fesetroundf): New macro.
58954         (libc_fesetround): Likewise.
58955         (libc_fesetroundl): Likewise.
58956         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58957         function.
58958         (libc_fesetroundf): New macro.
58959         (libc_fesetround): Likewise.
58960         (libc_fesetroundl): Likewise.
58961         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58962         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58963         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58964         libm_hidden_ver.
58965         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58966         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58967         libm_hidden_def.
58968         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58969         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58970         libm_hidden_ver.
58971         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58972         libm_hidden_def.
58974         [BZ #3439]
58975         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58976         integer constant usable in #if and use that to give value to enum
58977         constant.
58978         (FE_DIVBYZERO): Likewise.
58979         (FE_UNDERFLOW): Likewise.
58980         (FE_OVERFLOW): Likewise.
58981         (FE_INVALID): Likewise.
58982         (FE_INVALID_SNAN): Likewise.
58983         (FE_INVALID_ISI): Likewise.
58984         (FE_INVALID_IDI): Likewise.
58985         (FE_INVALID_ZDZ): Likewise.
58986         (FE_INVALID_IMZ): Likewise.
58987         (FE_INVALID_COMPARE): Likewise.
58988         (FE_INVALID_SOFTWARE): Likewise.
58989         (FE_INVALID_SQRT): Likewise.
58990         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58991         (FE_TONEAREST): Likewise.
58992         (FE_TOWARDZERO): Likewise.
58993         (FE_UPWARD): Likewise.
58994         (FE_DOWNWARD): Likewise.
58995         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58996         (FE_DIVBYZERO): Likewise.
58997         (FE_OVERFLOW): Likewise.
58998         (FE_UNDERFLOW): Likewise.
58999         (FE_INEXACT): Likewise.
59000         (FE_TONEAREST): Likewise.
59001         (FE_DOWNWARD): Likewise.
59002         (FE_UPWARD): Likewise.
59003         (FE_TOWARDZERO): Likewise.
59004         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59005         (FE_UNDERFLOW): Likewise.
59006         (FE_OVERFLOW): Likewise.
59007         (FE_DIVBYZERO): Likewise.
59008         (FE_INVALID): Likewise.
59009         (FE_TONEAREST): Likewise.
59010         (FE_TOWARDZERO): Likewise.
59011         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59012         (FE_OVERFLOW): Likewise.
59013         (FE_UNDERFLOW): Likewise.
59014         (FE_DIVBYZERO): Likewise.
59015         (FE_INEXACT): Likewise.
59016         (FE_TONEAREST): Likewise.
59017         (FE_TOWARDZERO): Likewise.
59018         (FE_UPWARD): Likewise.
59019         (FE_DOWNWARD): Likewise.
59020         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59021         (FE_DIVBYZERO): Likewise.
59022         (FE_OVERFLOW): Likewise.
59023         (FE_UNDERFLOW): Likewise.
59024         (FE_INEXACT): Likewise.
59025         (FE_TONEAREST): Likewise.
59026         (FE_DOWNWARD): Likewise.
59027         (FE_UPWARD): Likewise.
59028         (FE_TOWARDZERO): Likewise.
59030 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59032         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59034 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59036         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59037         commands.  Quote $PWD.
59038         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59039         -x" by "export".
59040         (remove_newlines): Remove.
59042 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59044         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59045         * stdlib/stdlib.h (atof): Moved to ...
59046         * include/bits/stdlib-float.h: Here.  New file.
59047         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59048         * stdlib/bits/stdlib-float.h: New file.
59049         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59050         -mno-sse -mno-mmx.
59051         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59052         <xmmintrin.h>.
59054 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59056         * conform/conformtest.pl (@headers): Add fenv.h.
59057         * conform/data/fenv.h-data: New file.
59058         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59059         include of <math/fenv.h>.
59061         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59062         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59063         && !UNIX98].  Enables tests for XOPEN2K8.
59064         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59065         POSIX2008]: Likewise.
59067         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59068         (struct rusage): Do not expect type or its members.
59070         [BZ #3439]
59071         * math/math.h (FP_NAN): Define macro to integer constant usable in
59072         #if and use that to give value to enum constant.
59073         (FP_INFINITE): Likewise.
59074         (FP_ZERO): Likewise.
59075         (FP_SUBNORMAL): Likewise.
59076         (FP_NORMAL): Likewise.
59078 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59080         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59081         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59082         arguments.
59084 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59086         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59087         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59088         autoconf-time if not.
59089         * configure.in: Remove AC_PREREQ.
59091 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59093         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59094         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59095         of the internal implementation.
59097 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59099         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59100         except include of <misc/sys/syslog.h>.
59102 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59105         function returns with a NULL context exit with zero.
59107 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59109         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59111 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59113         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59114         (run_program_cmd): This.
59115         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59116         (tst_langinfo): New variable.  Use it.
59118 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59120         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59121         floating point opcodes.
59123 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59125         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59126         variable.
59128         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59130         * sysdeps/mach/hurd/powerpc: Remove directory.
59131         * sysdeps/mach/powerpc: Likewise.
59133 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59135         * scripts/check-local-headers.sh: Ignore c++ headers.
59137 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59139         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59140         __libc_cleanup_region_start argument.
59142 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59144         [BZ #14784]
59145         [BZ #14785]
59146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59147         x * y using scaling, not as x * y + z.
59148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59150         * math/libm-test.inc (fma_test): Add more tests.
59151         (fma_test_towardzero): Likewise.
59152         (fma_test_downward): Likewise.
59153         (fma_test_upward): Likewise.
59155 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59157         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59159 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59161         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59162         New variable.
59164 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59166         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59168 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59171         Fix sort order.
59172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59173         Likewise.
59175 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59178         Fix the order of the list for glibc 2.17.
59179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59180         Likewise.
59182 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59186 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59188         [BZ #14610]
59189         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59190         for low part of x being zero before using __atanl (y).
59191         * math/libm-test.inc (atan2_test): Add another test.
59193         * manual/install.texi (Configuring and compiling): Document
59194         general use of test-wrapper and test-wrapper-env.
59195         * INSTALL: Regenerated.
59197         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59198         (__fma): Do not extract and scale down low bits on after-rounding
59199         systems when result rounded to normal precision would have normal
59200         exponent.
59201         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59202         (__fmal): Do not extract and scale down low bits on after-rounding
59203         systems when result rounded to normal precision would have normal
59204         exponent.
59205         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59206         (__fmal): Do not extract and scale down low bits on after-rounding
59207         systems when result rounded to normal precision would have normal
59208         exponent.
59209         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59210         macro.
59211         (fma_test): Add more tests.
59212         (fma_test_towardzero): Likewise.
59213         (fma_test_downward): Likewise.
59214         (fma_test_upward): Likewise.
59216 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59218         * sysdeps/i386/tininess.h: Renamed to ...
59219         * sysdeps/x86/tininess.h: This.
59220         * sysdeps/x86_64/tininess.h: Removed.
59222 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59224         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59225         input.  Use $(build-program-cmd).
59226         ($(objpfx)tst-array1-static.out): Likewise.
59227         ($(objpfx)tst-array2.out): Likewise.
59228         ($(objpfx)tst-array3.out): Likewise.
59229         ($(objpfx)tst-array4.out): Likewise.
59230         ($(objpfx)tst-array5.out): Likewise.
59231         ($(objpfx)tst-array5-static.out): Likewise.
59233 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59235         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59236         if defined.
59238         * nss/nsswitch.h (nss_interface_function): Provide new
59239         macro for use with NSS functions.
59240         * grp/initgroups.c: Use new macro.
59241         * nss/getXXbyYY.c: Likewise.
59242         * nss/getXXbyYY_r.c: Likewise.
59243         * nss/getXXent.c: Likewise.
59244         * nss/getXXent_r.c: Likewise.
59245         * sysdeps/posix/getaddrinfo.c: Likewise.
59247 2012-10-30  Andreas Jaeger  <aj@suse.de>
59249         * po/ru.po: Update Russion translation from translation project.
59251 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59253         [BZ #14152]
59254         [BZ #14783]
59255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59256         result and shift together with sticky bit instead of replicating
59257         round-to-nearest rounding.
59258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59259         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59260         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59261         missing underflow exceptions.
59262         (fma_test_towardzero): Add more tests.
59263         (fma_test_downward): Likewise.
59264         (fma_test_upward): Likewise.
59266         [BZ #14047]
59267         * sysdeps/generic/tininess.h: New file.
59268         * sysdeps/i386/tininess.h: Likewise.
59269         * sysdeps/sh/tininess.h: Likewise.
59270         * sysdeps/x86_64/tininess.h: Likewise.
59271         * stdlib/tst-strtod-underflow.c: Likewise.
59272         * stdlib/tst-tininess.c: Likewise.
59273         * stdlib/strtod_l.c: Include <tininess.h>.
59274         (round_and_return): Do not set errno for exact underflow cases.
59275         Force an underflow exception when setting errno for underflow.
59276         Determine underflow based on rounding to normal precision if
59277         TININESS_AFTER_ROUNDING.
59278         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59279         ERANGE for exact underflow cases.
59280         * stdlib/Makefile (tests): Add tst-tininess and
59281         tst-strtod-underflow.
59282         ($(objpfx)tst-tininess): Use $(link-libm).
59283         ($(objpfx)tst-strtod-underflow): Likewise.
59285 2012-10-30  Andreas Jaeger  <aj@suse.de>
59287         [BZ#14767]
59288         * elf/Makefile (tests): Remove conditional for have-initfini-array
59289         since this is now always required and the variable does not exist
59290         anymore.
59291         (tests-static): Likewise.
59292         (modules-names): Likewise.
59294         * po/eo.po: Add Esperanto translation from translation project.
59296         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59297         merged with constructor/destructor.
59298         (init_array): Likewise.
59299         * elf/tst-array2dep.c (fini_array): Likewise.
59300         (init_array): Likewise.
59302 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59304         * manual/message.texi: Delete @cartouche tags.
59306 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59308         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59309         EOPNOTSUPP.
59310         * sysdeps/mach/hurd/fsync.c: Likewise.
59312         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59313         [_POSIX_REALTIME_SIGNALS]: Change condition to
59314         [_POSIX_REALTIME_SIGNALS > 0].
59316 2012-10-27  Andreas Jaeger  <aj@suse.de>
59318         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59319         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59320         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59321         [__WORDSIZE != 64]: Likewise.
59323 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59325         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59326         *  iconvdata/tst-tables.sh: Likewise.
59328 2012-10-25  David S. Miller  <davem@davemloft.net>
59330         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59331         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59332         of strtoull.
59334         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59335         ifunc-impl-list.c
59336         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59337         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59338         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59339         file.
59341 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59343         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59344         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59345         __getdirentries.
59347 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59348             Jim Blandy  <jimb@codesourcery.com>
59350         * scripts/cross-test-ssh.sh: New file.
59351         * manual/install.texi (Configuring and compiling): Document use of
59352         cross-test-ssh.sh.
59353         * INSTALL: Regenerated.
59355 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59357         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59358         EOPNOTSUPP.
59360 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59362         * Makeconfig (run-program-prefix): Fix comment.
59364 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59365             Jim Blandy  <jimb@codesourcery.com>
59367         * Makeconfig (test-wrapper): New variable,
59368         (test-wrapper-env): Likewise.
59369         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59370         (run-built-tests): Define to yes.
59371         (run-program-prefix): Use $(test-wrapper).
59372         (built-program-cmd): Likewise.
59373         * Rules (make-test-out): Use $(test-wrapper-env) and
59374         $(host-built-program-cmd).
59375         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59376         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59377         tst-pathopt.sh.
59378         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59379         $(test-wrapper-env) to tst-rtld-load-self.sh.
59380         ($(objpfx)order2.out): Use $(test-wrapper).
59381         ($(objpfx)tst-initorder.out): Likewise.
59382         ($(objpfx)tst-initorder2.out): Likewise.
59383         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59384         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59385         (test_wrapper_env): New variable.  Use it to run ld.so.
59386         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59387         Use it to run ld.so.
59388         (test_wrapper_env): Likewise.
59389         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59390         $(test-wrapper) to run-iconv-test.sh.
59391         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59392         (ICONV): Use $test_wrapper.
59393         * posix/Makefile ($(objpfx)globtest.out): Pass
59394         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59395         globtest.sh, not $(run-program-prefix).
59396         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59397         (test_wrapper): Likewise.
59398         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59399         set together with run_via_rtld_prefix.
59400         (run_program_prefix): Define in terms of test_wrapper and
59401         run_via_rtld_prefix.
59403 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59405         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59406         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59407         Targets removed.
59409         [BZ #14743]
59410         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59411         Declare __clock_getres, __clock_gettime, __clock_settime,
59412         __clock_nanosleep, and __clock_getcpuclockid.
59413         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59414         Remove librt_hidden_def (clock_gettime).
59415         * sysdeps/unix/clock_gettime.c: Likewise.
59416         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59417         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59418         * rt/clock_getres.c: Define __clock_getres as an alias.
59419         * sysdeps/posix/clock_getres.c: Likewise.
59420         * rt/clock_settime.c: Define __clock_settime as an alias.
59421         * sysdeps/unix/clock_settime.c: Likewise.
59422         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59423         * sysdeps/unix/clock_nanosleep.c: Likewise.
59424         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59425         * rt/clock-compat.c: New file.
59426         * rt/Makefile (librt-routines): Add clock-compat and move
59427         $(clock-routines) to ...
59428         (routines): ... here, new variable.
59429         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59430         Don't add get_clockfreq here.
59431         * rt/Versions (libc: GLIBC_2.17): New version set.
59432         Add clock_* symbols here.
59433         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59434         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59435         (GLIBC_2.17): Add clock_* symbols.
59436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59438         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59440         Likewise.
59441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59442         Likewise.
59443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59447         * NEWS: Mention the move.
59449         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59450         Use __open, __read, __close rather than their public counterparts.
59451         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59452         (__get_clockfreq_via_cpuinfo): Likewise.
59453         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59454         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59456         * config.h.in (HAVE_IFUNC): New #undef.
59457         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59458         was successful.
59459         * configure: Regenerated.
59461 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59463         * configure.in: Move READELF check to start of file.
59464         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59465         libc_cv_asm_gnu_indirect_function in the process.
59466         * configure: Regenerated.
59468 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59470         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59471         send the output to /dev/null.
59472         (libc_cv_cc_with_libunwind): Likewise.
59473         (libc_cv_as_noexecstack): Likewise.
59474         * configure: Regenerate.
59476 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59478         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59480         * posix/globtest.sh (TMPDIR): Do not set.
59481         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59482         (testout): Likewise.
59484 2012-10-24  Andreas Jaeger  <aj@suse.de>
59486         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59487         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59488         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59489         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59490         posix_fadvise64, posix_fallocate64.
59492         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59493         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59494         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59495         Likewise.
59496         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59497         Likewise.
59498         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59500         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59501         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59502         <bits/fcntl-linux.h>.
59503         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59505         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59506         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59507         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59508         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59509         [__WORDSIZE != 64]: Likewise.
59511 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59513         * Makeconfig (run-built-tests): New variable.
59514         * Rules [$(cross-compiling) = yes]: Change condition to
59515         [$(run-built-tests) = no].
59516         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59517         to [$(run-built-tests) = yes].
59518         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59519         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59520         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59521         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59522         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59523         * io/Makefile [$(cross-compiling) = no]: Likewise.
59524         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59525         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59526         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59527         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59528         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59529         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59530         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59531         * string/Makefile [$(cross-compiling) = no]: Likewise.
59533         * posix/Makefile ($(objpfx)globtest.out): Pass
59534         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59535         $(rtld-installed-name).
59536         * posix/globtest.sh (elf_objpfx): Remove variable.
59537         (rtld_installed_name): Likewise.
59538         (library_path): Likewise.
59539         (run_program_prefix): New variable.  Use for running globtest
59540         binary.
59542 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59543             Joseph Myers  <joseph@codesourcery.com>
59545         * Makeconfig (host-built-program-cmd): New variable.
59546         * elf/Makefile (tst-stackguard1-ARGS): Use
59547         $(host-built-program-cmd).
59548         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59549         (tst-spawn-ARGS): Likewise.
59550         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59552 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59553             Jim Blandy  <jimb@codesourcery.com>
59555         * Makeconfig (run-via-rtld-prefix): New variable.
59556         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59557         (built-program-cmd): Likewise.
59559 2012-10-22  Andreas Jaeger  <aj@suse.de>
59561         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59562         __O_RSYNC if it exists, otherwise to O_SYNC.
59564 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59565             Joseph Myers  <joseph@codesourcery.com>
59567         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59568         /dev/null.
59569         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59570         from /dev/null
59571         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59572         /dev/null.
59574 2012-10-22  Andreas Jaeger  <aj@suse.de>
59576         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59577         Define always.
59578         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59581         bits/fcntl-linux.h.
59583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59584         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59587         to __O_LARGEFILE.
59588         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59589         to __O_LARGEFILE.
59591 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59592             Joseph Myers  <joseph@codesourcery.com>
59594         * config.make.in (NM): New variable.
59596 2012-10-21  Andreas Jaeger  <aj@suse.de>
59598         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59599         definitions and declarations that are provided by
59600         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59602 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59604         [BZ #14683]
59605         * elf/Makefile (tests-static): Add tst-leaks1-static.
59606         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59607         ($(objpfx)tst-leaks1-static): New rule.
59608         ($(objpfx)tst-leaks1-static-mem): Likewise.
59609         (tst-leaks1-static-ENV): New macro.
59610         * elf/dl-open.c (dl_open_worker): Check the main application
59611         only if SHARED is defined.
59612         * elf/tst-leaks1-static.c: New file.
59614 2012-10-20  Andreas Jaeger  <aj@suse.de>
59616         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59617         generic values for Linux.
59618         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59619         and declarations that are provided by <bits/fcntl-linux.h> and
59620         include <bits/fcntl-linux.h>.
59621         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59622         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59624 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59626         * io/fcntl.h: Move include of <bits/types.h> to the top and
59627         include it unconditionally.
59629 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59631         * wcsmbs/Makefile (tests-ifunc): New variable.
59632         (tests): Add $(tests-ifunc).
59633         * wcsmbs/test-wcschr-ifunc.c: New file.
59634         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59635         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59636         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59637         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59638         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59640         * string/Makefile (tests-ifunc): New variable.
59641         (tests): Add $(tests-ifunc).
59642         * string/test-memccpy.c (TEST_NAME): New macro.
59643         * string/test-memchr.c (TEST_NAME): Likewise.
59644         * string/test-memcmp.c (TEST_NAME): Likewise.
59645         * string/test-memcpy.c (TEST_NAME): Likewise.
59646         * string/test-memmem.c (TEST_NAME): Likewise.
59647         * string/test-memmove.c (TEST_NAME): Likewise.
59648         * string/test-memset.c (TEST_NAME): Likewise.
59649         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59650         * string/test-stpcpy.c (TEST_NAME): Likewise.
59651         * string/test-stpncpy.c (TEST_NAME): Likewise.
59652         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59653         * string/test-strcasestr.c (TEST_NAME): Likewise.
59654         * string/test-strcat.c (TEST_NAME): Likewise.
59655         * string/test-strchr.c (TEST_NAME): Likewise.
59656         * string/test-strcmp.c(TEST_NAME): Likewise.
59657         * string/test-strcpy.c (TEST_NAME): Likewise.
59658         * string/test-strcspn.c (TEST_NAME): Likewise.
59659         * string/test-strlen.c (TEST_NAME): Likewise.
59660         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59661         * string/test-strncmp.c (TEST_NAME): Likewise.
59662         * string/test-strncpy.c (TEST_NAME): Likewise.
59663         * string/test-strnlen.c (TEST_NAME): Likewise.
59664         * string/test-strpbrk.c (TEST_NAME): Likewise.
59665         * string/test-strrchr.c (TEST_NAME): Likewise.
59666         * string/test-strspn.c (TEST_NAME): Likewise.
59667         * string/test-strstr.c (TEST_NAME): Likewise.
59668         * string/test-bcopy-ifunc.c: New file.
59669         * string/test-bzero-ifunc.c: Likewise.
59670         * string/test-memccpy-ifunc.c: Likewise.
59671         * string/test-memchr-ifunc.c: Likewise.
59672         * string/test-memcmp-ifunc.c: Likewise.
59673         * string/test-memcpy-ifunc.c: Likewise.
59674         * string/test-memmem-ifunc.c: Likewise.
59675         * string/test-memmove-ifunc.c: Likewise.
59676         * string/test-mempcpy-ifunc.c: Likewise.
59677         * string/test-memset-ifunc.c: Likewise.
59678         * string/test-rawmemchr-ifunc.c: Likewise.
59679         * string/test-stpcpy-ifunc.c: Likewise.
59680         * string/test-stpncpy-ifunc.c: Likewise.
59681         * string/test-strcasecmp-ifunc.c: Likewise.
59682         * string/test-strcasestr-ifunc.c: Likewise.
59683         * string/test-strcat-ifunc.c: Likewise.
59684         * string/test-strchr-ifunc.c: Likewise.
59685         * string/test-strchrnul-ifunc.c: Likewise.
59686         * string/test-strcmp-ifunc.c: Likewise.
59687         * string/test-strcpy-ifunc.c: Likewise.
59688         * string/test-strcspn-ifunc.c: Likewise.
59689         * string/test-strlen-ifunc.c: Likewise.
59690         * string/test-strncasecmp-ifunc.c: Likewise.
59691         * string/test-strncat-ifunc.c: Likewise.
59692         * string/test-strncmp-ifunc.c: Likewise.
59693         * string/test-strncpy-ifunc.c: Likewise.
59694         * string/test-strnlen-ifunc.c: Likewise.
59695         * string/test-strpbrk-ifunc.c: Likewise.
59696         * string/test-strrchr-ifunc.c: Likewise.
59697         * string/test-strspn-ifunc.c: Likewise.
59698         * string/test-strstr-ifunc.c: Likewise.
59700         * debug/Makefile (tests-ifunc): New variable.
59701         (tests): Add $(tests-ifunc).
59702         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59703         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59704         * debug/test-stpcpy_chk-ifunc.c: New file.
59705         * debug/test-strcpy_chk-ifunc.c: Likewise.
59707 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59709         [BZ #13601]
59710         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59711         header is not read in.
59713 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59715         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59716         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59717         directly.  Pass built executable to script as
59718         $(built-program-cmd).
59719         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59720         $testprogram without using LD_LIBRARY_PATH and $ldso.
59722         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59723         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59724         $(rtld-installed-name).
59725         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59726         (rtld_installed_name): Likewise.
59727         (library_path): Likewise.
59728         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59729         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59730         $(run-program-prefix) to tst-tables.sh.
59731         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59732         it to run tst-table-from and tst-table-to.
59733         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59734         Pass it to tst-table.sh.
59735         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59736         $(run-program-prefix) to tst-gettext.sh.
59737         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59738         tst-translit.sh.
59739         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59740         tst-gettext2.sh.
59741         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59742         to run tst-gettext.
59743         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59744         to run tst-gettext2.
59745         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59746         to run tst-translit.
59747         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59748         $(run-program-prefix) to tst-mtrace.sh.
59749         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59750         to run tst-mtrace.
59751         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59752         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59753         $(rtld-installed-name).
59754         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59755         (rtld_installed_name): Likewise.
59756         (run_program_prefix): New variable.  Use it to run wordexp-test.
59758         * Makeconfig (ARCH): Remove all definitions.
59759         (machine): Likewise.
59760         [ARCH]: Remove conditional code.
59761         [!objdir]: Give error.
59762         [!objdir] (objpfx): Remove.
59763         [!objdir] (common-objpfx): Likewise.
59764         [!objdir] (common-objdir): Likewise.
59765         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59766         AC_CONFIG_FILES call.
59767         * configure: Regenerated.
59769         [BZ #13888]
59770         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59771         or TMPDIR.
59772         (testout): Likewise.
59774         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59775         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59776         $(rtld-installed-name).
59777         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59778         (rtld_installed_name): Likwise.
59779         (runit): Remove function.
59780         (run_getconf): New variable,  Use it for running getconf binary.
59782 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59784         [BZ #14716]
59785         * string/test-memmem.c (check_result): New function.
59786         (do_one_test): Use it.
59787         (check1): New function.
59788         (test_main): Use it.
59790 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59792         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59794 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59796         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59797         (_G_LSEEK64): Likewise.
59798         (_G_MMAP64): Likewise.
59799         (_G_FSTAT64): Likewise.
59800         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59801         (_G_LSEEK64): Likewise.
59802         (_G_MMAP64): Likewise.
59803         (_G_FSTAT64): Likewise.
59804         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59805         unconditional.  Call __mmap64 directly.
59806         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59807         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59808         __lseek64 directly.
59809         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59810         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59811         __mmap64 directly.
59812         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59813         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59814         __lseek64 directly.
59815         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59816         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59817         __lseek64 directly.
59818         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59819         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59820         __lseek64 directly.
59821         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59822         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59823         __fxstat64 directly.
59824         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59825         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59826         unconditional.
59827         (freopen64) [!_G_OPEN64]: Remove conditional code.
59828         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59829         unconditional.
59830         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59831         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59832         unconditional.
59833         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59834         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59835         unconditional.
59836         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59837         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59838         unconditional.
59839         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59840         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59841         unconditional.
59842         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59843         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59844         unconditional.
59845         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59846         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59847         unconditional.
59848         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59850 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59852         [BZ #12140]
59853         * manual/memory.texi (Malloc Tunable Parameters): Add note
59854         about free list pointers overwriting some perturb bytes.
59855         Wording suggested by Roland McGrath.
59857 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59859         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59860         (lgamma_test): Likewise.
59861         (tgamma_test): Likewise.
59863 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59865         [BZ #14700]
59866         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59867         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59869 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59871         * NEWS: Mention BZ #14716.
59872         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59873         when removing AVAILABLE1_USES_J macro.
59875 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59877         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59878         (__bswap_64): __uint64_t for unsigned 64-bit int.
59880 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59882         * include/string.h (memmem): Declare libc hidden alias.
59883         * string/memmem.c (memmem): Define libc hidden alias.
59884         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59885         __read, __close instead of open, read, close.
59887 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59889         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59890         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59891         global and hidden.
59892         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59893         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59894         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59895         Likewise.
59896         (__rawmemchr_sse2): Likewise.
59897         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59898         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59899         (__strchr_sse2): Likewise.
59900         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59901         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59902         (__strcasecmp_sse2): Likewise.
59903         (__strncasecmp_sse2): Likewise.
59904         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59905         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59906         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59907         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59908         (__strrchr_sse2): Likewise.
59909         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59910         ifunc-impl-list.c.
59911         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59912         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59913         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59914         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59915         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59916         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59917         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59918         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59919         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59920         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59921         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59922         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59923         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59924         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59925         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59926         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59927         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59928         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59929         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59930         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59931         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59932         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59933         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59934         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59935         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59936         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59937         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59938         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59939         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59940         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59942         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59943         global and hidden.
59944         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59945         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59946         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59947         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59948         Likewise.
59949         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59950         Likewise.
59951         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59952         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59953         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59954         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59955         ifunc-impl-list.c.
59956         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59957         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59958         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59959         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59960         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59961         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59962         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59963         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59964         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59965         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59966         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59967         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59968         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59969         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59970         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59971         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59972         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59973         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59974         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59975         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59976         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59977         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59978         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59979         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59980         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59981         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59982         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59983         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59984         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59985         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59986         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59987         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59988         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59989         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59990         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59991         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59992         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59993         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59994         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59995         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59996         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59998         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59999         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60000         * include/ifunc-impl-list.h: New file.
60001         * misc/ifunc-impl-list.c: Likewise.
60002         * misc/Makefile (routines): Add ifunc-impl-list.
60003         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60004         * string/test-string.h: Include <ifunc-impl-list.h>.
60005         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60006         TEST_NAME]: New variables.
60007         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60008         are defined.
60009         (test_init): Call __libc_ifunc_impl_list to initialize
60010         func_list if TEST_IFUNC and TEST_NAME are defined.
60012         * string/Makefile (strop-tests): Add bcopy and bzero.
60013         * string/test-bcopy.c: New file.
60014         * string/test-bzero.c: Likewise.
60015         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60016         defined.
60017         * string/test-memset.c: Support bzero test if TEST_BZERO is
60018         defined.
60019         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60020         __libc_memmove.
60021         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60022         __libc_memset.
60023         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60024         of memset.
60026 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60028         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60029         * configure: Regenerated.
60031         * Makeconfig (+link-static-before-libc): Don't include
60032         $(link-static-libc).
60034         * libio/libio.h (_IO_pos_t): Remove.
60036 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60038         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60039         McGrath.
60041 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60043         * crypt/crypt-entry.c: Include fips-private.h.
60044         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60045         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60046         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60047         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60049 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60051         * crypt/crypt-private.h: Include stdbool.h.
60052         (_ufc_setup_salt_r): Return bool.
60053         * crypt/crypt-entry.c: Include errno.h.
60054         (__crypt_r): Return NULL with EINVAL for bad salt.
60055         * crypt/crypt_util.c (bad_for_salt): New.
60056         (_ufc_setup_salt_r): Check that salt is long enough and within
60057         the specified alphabet.
60058         * crypt/badsalttest.c: New file.
60059         * crypt/Makefile (tests): Add it.
60060         ($(objpfx)badsalttest): New.
60062 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60064         * NEWS: Add entry for BZ #14602.
60066 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60068         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60069         type-generic.
60070         * math/libm-test.inc: Update comment listing what functions and
60071         macros are tested.
60072         (isgreater_test): New function.
60073         (isgreaterequal_test): Likewise.
60074         (isless_test): Likewise.
60075         (islessequal_test): Likewise.
60076         (islessgreater_test): Likewise.
60077         (isunordered_test): Likewise.
60078         (main): Call the new functions.
60080 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60082         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60083         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60084         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60085         * sysdeps/i386/configure: Regenerated.
60086         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60087         * sysdeps/mach/configure: Regenerated.
60088         * sysdeps/mach/hurd/configure: Regenerated.
60089         * sysdeps/powerpc/configure: Regenerated.
60090         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60091         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60092         * sysdeps/s390/s390-32/configure: Regenerated.
60093         * sysdeps/s390/s390-64/configure: Regenerated.
60094         * sysdeps/sh/configure: Regenerated.
60095         * sysdeps/sparc/configure: Regenerated.
60096         * sysdeps/unix/sysv/linux/configure: Regenerated.
60097         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60098         * sysdeps/x86_64/configure: Regenerated.
60100         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60101         defined.  Don't check if MAP is NULL.
60103 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60105         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60106         (_G_stat64): Likewise.
60107         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60108         (_G_stat64): Likewise.
60109         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60110         instead of struct _G_stat64.
60111         * libio/fileops.c (mmap_remap_check): Likewise.
60112         (decide_maybe_mmap): Likewise.
60113         (_IO_new_file_seekoff): Likewise.
60114         (_IO_file_stat): Likewise.
60115         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60116         _G_off64_t.
60117         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60118         instead of struct _G_stat64.
60119         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60121 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60123         [BZ #14602]
60124         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60125         Replace with ...
60126         (CHECK_EOL): New macro.
60127         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60128         CHECK_EOL.
60129         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60130         Replace with CHECK_EOL.
60131         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60132         Replace with CHECK_EOL.
60134 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60136         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60137         type-generic.
60138         * math/libm-test.inc: Update comment listing what functions and
60139         macros are tested.
60140         (finite_test): New function.
60141         (isinf_test): Likewise.
60142         (isnan_test): Likewise.
60143         (fpclassify_test): Test subnormal input.
60144         (isfinite_test): Likewise.
60145         (isnormal_test): Likewise.
60146         (main): Call the new functions.
60148 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60150         [BZ #14660]
60151         * Makerules (%.dynsym): Force C locale when running
60152         $(OBJDUMP) --dynamic-syms.
60154 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60156         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60157         <stdint.h>.
60159 2012-10-06  David S. Miller  <davem@davemloft.net>
60161         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60162         upper 32-bits of the length value in %o2 since we use branch-on-register
60163         tests which consider the entire 64-bit register.
60165 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60167         * string/test-strstr.c (check2): Add a test for page boundary.
60169 2012-10-05  David S. Miller  <davem@davemloft.net>
60171         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60172         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60173         file.
60174         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60175         sysdep_routines.
60176         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60177         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60178         and bzero when HWCAP_SPARC_CRYPTO is present.
60180 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60182         [BZ #14602]
60183         * string/test-strstr.c (check2): New function.
60184         (test_main): Call check2.
60186         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60187         and bug-strchr1.
60188         * string/bug-strcasestr1.c (do_test): Moved to ...
60189         * string/test-strcasestr.c (check1): Here.  New function.
60190         (do_one_test): Break out result checking code into ...
60191         (check_result): This.  New function.
60192         (do_one_test): Call check_result.
60193         (test_main): Call check1.
60194         * string/bug-strchr1.c (do_test): Moved to ...
60195         * string/test-strchr.c (check1): Here.  New function.
60196         (do_one_test): Break out result checking code into ...
60197         (check_result): This.  New function.
60198         (do_one_test): Call check_result.
60199         (test_main): Call check1.
60200         * string/bug-strstr1.c (main): Moved to ...
60201         * string/test-strstr.c (check1): Here.  New function.
60202         (do_one_test): Break out result checking code into ...
60203         (check_result): This.  New function.
60204         (do_one_test): Call check_result.
60205         (test_main): Call check1.
60206         * string/bug-strcasestr1.c: Removed.
60207         * string/bug-strchr1.c: Likewise.
60208         * string/bug-strstr1.c: Likewise.
60210         * elf/Makefile (dl-routines): Add hwcaps.
60211         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60212         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60213         (_dl_important_hwcaps): Moved to ...
60214         * elf/dl-hwcaps.c: Here.  New file.
60215         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60217         [BZ #14557]
60218         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60219         if IS_IN_rtld isn't defined.
60221         * elf/dl-support.c (_dl_sysinfo_map): New.
60222         Include "get-dynamic-info.h" and "setup-vdso.h".
60223         (_dl_non_dynamic_init): Call setup_vdso.
60224         * elf/dynamic-link.h: Don't include <assert.h>.
60225         (elf_get_dynamic_info): Moved to ...
60226         * elf/get-dynamic-info.h: Here.  New file.
60227         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60228         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60229         * elf/setup-vdso.h: Here.  New file.
60230         * elf/rtld.c: Include "setup-vdso.h".
60231         (dl_main): Call setup_vdso.
60233 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60235         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60236         creal in comment listing functions tested.  List finite, isinf,
60237         isnan, isless, islessequal, isgreater, isgreaterequal,
60238         islessgreater, isunordered, lgamma_r and pow10 as functions and
60239         macros not tested.  Mention which functions not tested are aliases
60240         for other functions.  Fix typo.  Note that signs of NaNs are not
60241         tested.
60243         * scripts/config.guess: Update from config.git.
60244         * scripts/config.sub: Likewise.
60246 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60248         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60249         * misc/madvise.c (madvise): Renamed to __madvise.
60250         Make madvise a weak alias.
60251         * include/sys/mman.h: Declare __madvise.
60252         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60253         * sysdeps/unix/syscalls.list
60254         (madvise): Make __madvise the strong name, and madvise a weak alias.
60255         * sysdeps/unix/sysv/linux/syscalls.list
60256         (madvise, mmap): Remove redundant entries.
60257         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60258         * malloc/malloc.c (mtrim): Likewise.
60259         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60261 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60263         * sysdeps/mach/hurd/dl-cache.c: File removed.
60264         * config.h.in (USE_LDCONFIG): New #undef.
60265         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60266         * configure: Regenerated.
60267         * elf/Makefile (dl-routines): Add dl-cache only under
60268         [$(use-ldconfig) = yes].
60269         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60270         cache on [USE_LDCONFIG].
60271         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60272         [USE_LDCONFIG].
60273         * elf/rtld.c (dl_main): Likewise.
60275 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60277         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60278         _SC_LEVEL4_CACHE_LINESIZE.
60280 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60282         * sysdeps/unix/bsd/confstr.h: File removed.
60284 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60286         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60287         sys/sdt-config.h.
60289 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60291         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60292         Make 'mapoff' field ElfW(Off) rather than off_t.
60294 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60296         * nscd/Makefile: Remove nscd-cflags and all its users.
60297         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60298         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60300         [BZ #10631]
60301         * malloc.c (malloc_printerr): Clarify error message.
60303 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60305         [BZ #14648]
60306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60307         Set bit_FMA_Usable if FMA is supported.
60308         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60309         macro.
60310         (bit_FMA4_Usable): Updated.
60311         (index_FMA_Usable): New macro.
60312         (CPUID_FMA): Likewise.
60313         (HAS_FMA): Defined with bit_FMA_Usable.
60315 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60317         * bits/types.h (__swblk_t): Type removed.
60318         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60319         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60320         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60321         (__SWBLK_T_TYPE): Likewise.
60322         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60323         (__SWBLK_T_TYPE): Likewise.
60324         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60325         (__SWBLK_T_TYPE): Likewise.
60326         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60327         (__SWBLK_T_TYPE): Likewise.
60329 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60330             Honza Horak <hhorak@redhat.com>
60332         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60333         (xdr_mapname): Use YPMAXMAP as maxsize.
60334         (xdr_peername): Use YPMAXPEER as maxsize.
60335         (xdr_keydat): Use YPAXRECORD as maxsize.
60336         (xdr_valdat): Use YPMAXRECORD as maxsize.
60338 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60340         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60342         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60343         * csu/init-first.c: ... here.
60344         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60345         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60346         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60347         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60348         * sysdeps/i386/init-first.c: File removed.
60349         * sysdeps/sh/init-first.c: File removed.
60351 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60353         [BZ #14645]
60354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60355         if x * y might underflow to zero and z is zero.
60356         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60357         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60358         * math/libm-test.inc (min_subnorm_value): New variable.
60359         (fma_test): Add more tests.
60360         (fma_test_towardzero): Likewise.
60361         (fma_test_downward): Likewise.
60362         (fma_test_upward): Likewise.
60363         (initialize): Set min_subnorm_value.
60365 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60367         [BZ #14638]
60368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60369         0 + 0.
60370         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60371         mode for addition resulting in exact zero.
60372         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60373         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60374         exact 0 + 0.
60375         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60376         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60377         * math/libm-test.inc (fma_test): Add more tests.
60378         (fma_test_towardzero): New function.
60379         (fma_test_downward): Likewise.
60380         (fma_test_upward): Likewise.
60381         (main): Call the new functions.
60383 2012-09-28  David S. Miller  <davem@davemloft.net>
60385         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60387 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60389         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60390         instead of SIGALRM.
60392         * sysdeps/gnu/_G_config.h: Moved to ...
60393         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60394         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60395         * sysdeps/generic/_G_config.h: ... here.
60397         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60399         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60401         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60402         Conditionalize target on [libnss_test1.so-version].
60404         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60406         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60407         (elfobjdir): Move out of conditionals.
60409         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60410         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60411         (__nss_lookup_function): Conditionalize label remove_from_tree on
60412         [!DO_STATIC_NSS || SHARED], matching its only use.
60414 2012-09-28  David S. Miller  <davem@davemloft.net>
60416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60417         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60418         file.
60419         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60420         sysdep_routines.
60421         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60422         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60423         when HWCAP_SPARC_CRYPTO is present.
60425 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60427         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60429 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60431         [BZ #6530]
60432         * stdio-common/vfprintf.c (process_string_arg): Revert
60433         2000-07-22 change.
60435 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60437         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60438         for testcase.
60439         * stdio-common/tst-sprintf.c: Include <locale.h>
60440         (main): Test sprintf's handling of incomplete multibyte
60441         characters.
60443 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60445         * elf/dl-runtime.c (VERSYMIDX): Removed.
60446         * elf/dl-version.c (VERSYMIDX): Likewise.
60447         * elf/do-rel.h (VERSYMIDX): Likewise.
60448         (VALIDX): Likewise.
60449         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60450         * elf/rtld.c (VALIDX): Likewise.
60451         (ADDRIDX): Likewise.
60452         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60453         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60454         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60455         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60456         (VALIDX): Likewise.
60457         (ADDRIDX): Likewise.
60459 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60461         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60463 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60465         [BZ #11438]
60466         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60467         to global scope.
60468         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60469         addresses are in the same scope as 192.0.2/24.
60470         * posix/gai.conf: Document new scope table defaults.
60472 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60474         [BZ #5298]
60475         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60476         for ftell.  Compute offsets from write pointers instead.
60477         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60479 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60481         [BZ #14543]
60482         * libio/Makefile (tests): New test case tst-fseek.
60483         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60484         combination works in wide mode.
60485         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60486         state when the external buffer state changes.
60488 2012-09-27  David S. Miller  <davem@davemloft.net>
60490         [BZ #14376]
60491         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60492         pass reloc->r_addend in as the 'high' argument to
60493         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60497 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60499         * rt/tst-aio2.c: Include <pthread.h>.
60500         * rt/tst-aio3.c: Likewise.
60502 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60504         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60506 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60508         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60509         contents on [SHARED].
60511 2012-09-26  Marek Polacek  <polacek@redhat.com>
60513         [BZ #14530]
60514         [BZ #13741]
60515         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60516         for C++ and GCC <4.3 as well as for non GCC compilers.
60518 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60522 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60524         * Makefile.in (all, install): Declare with .PHONY.
60525         Reported by Michael Hope <michael.hope@linaro.org>.
60527 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60529         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60530         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60531         system header.
60532         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60533         Likewise.
60534         (sydep_routines): Add the new and the internal functions.
60535         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60536         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60538         (GLIBC_2.17): Add the new function.
60539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60540         (GLIBC_2.17): Likewise.
60541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60542         (GLIBC_2.17): Likewise.
60543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60544         (GLIBC_2.17): Likewise.
60545         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60547 2012-09-25  Alan Modra  <amodra@gmail.com>
60549         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60550         Add release barrier before setting once_control to say
60551         initialisation is done.  Add hints on lwarx.  Use macro in
60552         place of isync.
60553         (clear_once_control): Add release barrier.
60555 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60557         [BZ #13629]
60558         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60559         specially.
60560         * math/s_clog10.c (__clog10): Likewise.
60561         * math/s_clog10f.c (__clog10f): Likewise.
60562         * math/s_clog10l.c (__clog10l): Likewise.
60563         * math/s_clogf.c (__clogf): Likewise.
60564         * math/s_clogl.c (__clogl): Likewise.
60565         * math/Makefile (libm-calls): Add x2y2m1.
60566         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60567         (__x2y2m1): Likewise.
60568         (__x2y2m1l): Likewise.
60569         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60570         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60571         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60572         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60573         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60574         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60575         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60576         * sysdeps/i386/fpu/libm-test-ulps: Update.
60577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60579         [BZ #14621]
60580         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60581         int as type of variable DEPTH.
60582         (glob): Use size_t instead of int as type of variables NEWCOUNT
60583         and OLD_PATHC.
60585 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60587         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60588         Add s_sincosf-sse2.
60589         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60590         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60591         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60592         macros for using routine as __sincosf_ia32.
60593         Use macro for function declaration and weak_alias.
60594         * sysdeps/i386/fpu/libm-test-ulps: Update.
60596         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60599         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60600         subnormal argument.
60601         * math/s_cexpf.c (__cexpf): Likewise.
60602         * math/s_csinf.c (__csinf): Likewise.
60603         * math/s_csinhf.c (__csinhf): Likewise.
60604         * math/s_ctanf.c (__ctanf): Likewise.
60605         * math/s_ctanhf.c (__ctanhf): Likewise.
60606         * math/s_ccosh.c (__ccoshf): Likewise.
60607         * math/s_cexp.c (__cexpl): Likewise.
60608         * math/s_csin.c (__csin): Likewise.
60609         * math/s_csinh.c (__csinh): Likewise.
60610         * math/s_ctan.c (__ctan): Likewise.
60611         * math/s_ctanh.c (ctanh): Likewise.
60612         * math/s_ccoshl.c (__ccoshl): Likewise.
60613         * math/s_cexpl.c (__cexpl): Likewise.
60614         * math/s_csinl.c (__csinl): Likewise.
60615         * math/s_csinhl.c (__csinhl): Likewise.
60616         * math/s_ctanl.c (__ctanl): Likewise.
60617         * math/s_ctanhl.c (__ctanhl): Likewise.
60619 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60621         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60622         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60623         (_IO_off_t): Define to __off_t, not _G_off_t.
60624         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60625         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60626         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60627         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60628         type of __dummy and __dummy2 fields.
60629         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60630         (_G_ssize_t): Likewise.
60631         (_G_off_t): Likewise.
60632         (_G_pid_t): Likewise.
60633         (_G_uid_t): Likewise.
60634         (_G_wchar_t): Likewise.
60635         (_G_wint_t): Likewise.
60636         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60637         (_G_ssize_t): Likewise.
60638         (_G_off_t): Likewise.
60639         (_G_pid_t): Likewise.
60640         (_G_uid_t): Likewise.
60641         (_G_wchar_t): Likewise.
60642         (_G_wint_t): Likewise.
60643         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60644         (_G_ssize_t): Likewise.
60645         (_G_off_t): Likewise.
60646         (_G_pid_t): Likewise.
60647         (_G_uid_t): Likewise.
60648         (_G_wchar_t): Likewise.
60649         (_G_wint_t): Likewise.
60651 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60653         * malloc/arena.c: Include malloc-sysdep.h.
60654         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60655         is sufficient to shrink the heap or an unmap is needed.
60656         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60657         new function check_may_shrink_heap.
60658         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60659         new function check_may_shrink_heap.
60661 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60663         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60664         comments.
60666 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60668         * catgets/test-gencat.sh: Add "set -e".
60669         * elf/tst-pathopt.sh: Likewise.
60670         * grp/tst_fgetgrent.sh: Likewise.
60671         * iconvdata/run-iconv-test.sh: Likewise.
60672         * intl/tst-gettext.sh: Likewise.
60673         * intl/tst-gettext2.sh: Likewise.
60674         * intl/tst-gettext4.sh: Likewise.
60675         * intl/tst-gettext6.sh: Likewise.
60676         * intl/tst-translit.sh: Likewise.
60677         * io/ftwtest-sh: Likewise.
60678         * libio/test-freopen.sh: Likewise.
60679         * malloc/tst-mtrace.sh: Likewise.
60680         * posix/globtest.sh: Likewise.
60681         * posix/tst-getconf.sh: Likewise.
60682         * posix/wordexp-tst.sh: Likewise.
60683         * stdio-common/tst-printf.sh: Likewise.
60684         * stdio-common/tst-unbputc.sh: Likewise.
60685         * stdlib/tst-fmtmsg.sh: Likewise.
60686         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60687         * catgets/Makefile: Do not specify -e option when running
60688         testsuite shell scripts.
60689         * elf/Makefile: Likewise.
60690         * grp/Makefile: Likewise.
60691         * iconvdata/Makefile: Likewise.
60692         * intl/Makefile: Likewise.
60693         * io/Makefile: Likewise.
60694         * libio/Makefile: Likewise.
60695         * malloc/Makefile: Likewise.
60696         * posix/Makefile: Likewise.
60697         * stdio-common/Makefile: Likewise.
60698         * stdlib/Makefile: Likewise.
60699         * sysdeps/x86_64/Makefile: Likewise.
60701         * io/ftwtest-sh: Add copyright header.
60702         * posix/globtest.sh: Likewise.
60703         * posix/tst-getconf.sh: Likewise.
60704         * posix/wordexp-tst.sh: Likewise.
60705         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60707 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60709         [BZ #13679]
60710         * Makeconfig (+link): Defined as $(+link-static) if
60711         $(build-shared) isn't yes.
60712         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60713         isn't yes.
60714         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60716         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60718         [BZ #14562]
60719         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60720         new chunk size with MALLOC_ALIGN_MASK.
60722 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60724         [BZ #5044]
60725         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60726         <rounding-mode.h>.
60727         (__printf_fphex): Determine rounding using get_rounding_mode and
60728         round_away.
60729         * stdio-common/tst-printf-round.c (struct hex_test): New
60730         structure.
60731         (hex_tests): New variable.
60732         (test_hex_in_one_mode): New function.
60733         (do_test): Also run tests for hex float output.
60735 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60737         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60738         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60739         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60740         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60741         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60742         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60743         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60744         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60746 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60748         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60749         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60750         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60751         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60753 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60755         [BZ #14579]
60756         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60757         mode only.
60758         * elf/tst-rtld-load-self.sh: New test.
60759         * elf/Makefile: Run it.
60761 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60763         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60764         (tst-writev-ENV): Remove.
60765         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60767 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60769         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60771 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60773         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60774         unconditional.
60775         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60776         Likewise.
60777         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60778         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60779         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60780         Likewise.
60782 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60784         [BZ #14587]
60785         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60786         * config.make.in (have-cpp-asm-debuginfo): Removed.
60787         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60788         * configure: Regenerated.
60790 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60792         [BZ #5044]
60793         * stdio-common/printf_fp.c: Include <stdbool.h> and
60794         <rounding-mode.h>.
60795         (___printf_fp): Determine rounding using get_rounding_mode and
60796         round_away.
60797         * stdio-common/tst-printf-round.c: New file.
60798         * stdio-common/Makefile (tests): Add tst-printf-round.
60799         (link-libm): New variable.
60800         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60802 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60804         [BZ #14576]
60805         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60806         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60807         Likewise.
60808         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60809         Likewise.
60811 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60813         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60814         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60815         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60816         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60818 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60820         [BZ #14518]
60821         * include/rounding-mode.h: New file.
60822         * sysdeps/generic/get-rounding-mode.h: Likewise.
60823         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60824         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60825         (MAX_VALUE): New macro.
60826         (MIN_VALUE): Likewise.
60827         (overflow_value): New function.
60828         (underflow_value): Likewise.
60829         (round_and_return): Use overflow_value and underflow_value to
60830         determine return values in overflow and underflow cases.  Use
60831         round_away to determine rounding depending on rounding mode.
60832         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60833         determine return values in overflow and underflow cases.
60834         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60835         (struct test_results): New structure.
60836         (struct test): Use struct test_results to store expected results
60837         for all rounding modes.
60838         (TEST): Include expected results for all rounding modes.
60839         (test_in_one_mode): New function.
60840         (do_test): Use test_in_one_mode to compute and check results.
60841         Check results for all rounding modes.
60842         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60843         $(link-libm).
60845 2012-12-09  Allan McRae  <allan@archlinux.org>
60847         * sysdeps/i386/fpu/libm-test-ulps: Update
60849 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60851         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60852         (_G_int32_t): Likewise.
60853         (_G_uint16_t): Likewise.
60854         (_G_uint32_t): Likewise.
60855         (_G_HAVE_BOOL): Likewise.
60856         (_G_HAVE_ATEXIT): Likewise.
60857         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60858         (_G_HAVE_IO_FILE_OPEN): Likewise.
60859         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60860         (_G_int32_t): Likewise.
60861         (_G_uint16_t): Likewise.
60862         (_G_uint32_t): Likewise.
60863         (_G_HAVE_BOOL): Likewise.
60864         (_G_HAVE_ATEXIT): Likewise.
60865         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60866         (_G_HAVE_IO_FILE_OPEN): Likewise.
60867         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60868         (_G_int32_t): Likewise.
60869         (_G_uint16_t): Likewise.
60870         (_G_uint32_t): Likewise.
60871         (_G_HAVE_BOOL): Likewise.
60872         (_G_HAVE_ATEXIT): Likewise.
60873         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60874         (_G_HAVE_IO_FILE_OPEN): Likewise.
60876 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60878         * csu/libc-tls.c: Update copyright years.
60880 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60882         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60883         [!_G_USING_THUNKS]: Remove conditional code.
60884         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60885         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60887         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60888         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60889         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60890         (_G_VTABLE_LABEL_PREFIX): Likewise.
60891         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60892         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60893         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60894         (_G_VTABLE_LABEL_PREFIX): Likewise.
60895         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60896         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60897         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60898         (_G_VTABLE_LABEL_PREFIX): Likewise.
60899         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60901 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60903         * libio/Makefile: Include ../Makeconfig before tests.
60904         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60905         only if $(build-shared) is yes.
60907         * iconv/gconv_db.c: Update copyright years.
60909 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60911         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60912         unwind info if defined PIC. Fix special cases description.
60913         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60915         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60916         DP_HI_MASK entry.
60917         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60919 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60921         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60923         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60924         is NULL.
60926         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60927         (LDLIBS-tst-chk4): This.
60928         (LDFLAGS-tst-chk5): Renamed to ...
60929         (LDLIBS-tst-chk5): This.
60930         (LDFLAGS-tst-chk6): Renamed to ...
60931         (LDLIBS-tst-chk6): This.
60932         (LDFLAGS-tst-lfschk4): Renamed to ...
60933         (LDLIBS-tst-lfschk4): This.
60934         (LDFLAGS-tst-lfschk5): Renamed to ...
60935         (LDLIBS-tst-lfschk5): This.
60936         (LDFLAGS-tst-lfschk6): Renamed to ...
60937         (LDLIBS-tst-lfschk6): This.
60939         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60940         on $(common-objpfx)soversions.mk.
60942 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60944         [BZ #10014]
60945         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60946         example host name.
60948 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60950         * malloc/arena.c (arena_get_retry): New function that gets
60951         another arena for the caller to try its request on.
60952         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60953         current arena cannot fulfill the request.
60954         (__libc_memalign): Likewise.
60955         (__libc_memalign): Likewise.
60956         (__libc_pvalloc): Likewise.
60957         (__libc_calloc): Likewise.
60959 2012-09-05  John Tobey  <john.tobey@gmail.com>
60961         [BZ #13542]
60962         * manual/arith.texi (Operations on Complex): Fix description
60963         of carg branch cut.
60965 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60967         [BZ #10014]
60968         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60969         host name.
60971         [BZ #10038]
60972         * manual/memory.texi (Memory): Make order of menu items match
60973         order of sections.
60975 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60977         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60978         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60979         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60981 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60983         * csu/libc-tls.c (static_dtv): Renamed to ...
60984         (_dl_static_dtv): This.  Make it global.
60985         (_dl_initial_dtv): Removed.
60986         (__libc_setup_tls): Updated.
60987         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60988         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60989         DL_INITIAL_DTV.
60991 2012-09-06  Petr Machata  <pmachata@redhat.com>
60993         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60994         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60995         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60996         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60998 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61000         [BZ #14545]
61001         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61002         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61003         freeing dtv[-1].
61005 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61007         [BZ #14544]
61008         * Makeconfig (link-static-before-libc): Replace $(+prector)
61009         with $(+prectorT).
61010         (link-static-after-libc): Replace $(+postctor) with
61011         $(+postctorT).
61012         (link-bounded): Replace $(+prector)/$(+postctor) with
61013         $(+prectorT)/$(+postctorT).
61014         (+prectorT): New macro.
61015         (+postctorT): Likewise.
61017 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61019         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61020         (round_str): Handle values above the maximum for IBM long double
61021         as inexact.
61022         * stdlib/tst-strtod-round.c (tests): Regenerated.
61024 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61026         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61027         assembler flag.
61028         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61029         zarch_nohighgprs around the zarch optimized routines.
61030         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61031         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61032         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61033         for zarch.
61035 2012-09-05  David S. Miller  <davem@davemloft.net>
61037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61039         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61040         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61041         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61042         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61043         entries.
61045 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61047         * malloc/arena.c: Fold copyright years.
61048         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61050 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61052         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61054 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61056         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61058 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61060         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61061         change internal state upon failure.
61063 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61065         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61066         * malloc/memusage.c (mmap): Likewise.
61067         (mmap64, mremap): Likewise.  Adjust name in comment.
61069 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61071         * libio/fileops.c: Fix typos in comments.
61072         * libio/oldfileops.c: Likewise.
61073         * libio/wfileops.c: Likewise.
61075 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61077         [BZ #1349]
61078         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61079         (tst-malloc-usable-ENV): Set environment for test case.
61080         * malloc/hooks.c (malloc_check_get_size): New function to get
61081         requested size.
61082         * malloc/malloc.c (musable): Use malloc_check_get_size.
61083         * malloc/tst-malloc-usable.c: New test case.
61085 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61087         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61089 2012-09-05  Allan McRae  <allan@archlinux.org>
61091         [BZ #13966]
61092         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61093         determine header location.
61094         * configure: Regenerated.
61096 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61098         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61099         float format.
61100         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61101         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61102         format.
61103         (test): Regenerate.
61105 2012-09-04  David S. Miller  <davem@davemloft.net>
61107         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61108         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61109         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61111 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61113         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61114         failures.
61116         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61118 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61120         [BZ #9914]
61121         * libio/iogetdelim.c: Include <limits.h>.
61122         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61123         + len + 1 would overflow.
61125 2012-09-03  Andreas Jaeger  <aj@suse.de>
61127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61128         * sysdeps/i386/fpu/libm-test-ulps: Update.
61130 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61132         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61133         Add s_sinf-sse2, s_conf-sse2.
61135         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61136         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61137         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61138         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61140         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61141         for using routine as __sinf_ia32.
61142         Use macro for function declaration and weak_alias.
61143         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61144         for using routine as __cosf_ia32.
61145         Use macro for function declaration and weak_alias.
61147         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61148         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61150         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61151         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61152         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61154         * math/libm-test.inc (cos_test): Add more test cases.
61155         (sin_test): Likewise.
61156         (sincos_test): Likewise.
61158 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61160         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61161         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61162         hidden.
61163         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61165 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61167         [BZ #14538]
61168         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61169         first element of the GOT.
61170         (elf_machine_load_address): Return the difference between
61171         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61173 2012-09-01  Allan McRae  <allan@archlinux.org>
61175         [BZ #13412]
61176         * configure.in (AWK): Require gawk version 3.0 or later.
61177         * configure: Regenerated.
61179 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61181         * sysdeps/unix/sysv/linux/kernel-features.h
61182         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61183         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61184         [__NR_clock_getres]: Make code unconditional.
61185         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61186         (clock_getcpuclockid): Remove code left unreachable by removal of
61187         conditionals.
61188         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61189         code unconditional.
61190         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61191         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61192         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61193         Make code unconditional.
61194         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61195         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61196         * sysdeps/unix/sysv/linux/clock_settime.c
61197         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61198         conditional code.
61199         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61200         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61202 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61204         [BZ #14476]
61205         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61206         scripts/test-installation.pl.
61208         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61209         and $ld_so_version if it is set.
61211 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61213         [BZ #14516]
61214         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61215         failure if reading from procfs failed.
61216         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61218 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61220         * sysdeps/unix/sysv/linux/kernel-features.h
61221         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61222         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61223         Remove conditional code.
61224         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61225         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61226         Remove conditional code.
61227         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61228         * sysdeps/unix/sysv/linux/i386/fxstat.c
61229         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61230         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61231         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61232         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61233         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61234         * sysdeps/unix/sysv/linux/i386/lxstat.c
61235         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61236         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61237         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61238         Remove conditional code.
61239         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61240         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61241         Remove conditional code.
61242         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61243         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61244         <kernel-features.h>.
61245         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61246         Remove.
61247         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61248         Remove conditional code.
61249         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61250         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61251         Remove conditional.
61253 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61255         [BZ #5400]
61256         * NEWS: Add fixed bug number.
61258 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61260         [BZ #14519]
61261         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61262         underflowing exponent in case of negative sign.
61263         * stdlib/tst-strtod-round-data: Add more tests.
61264         * stdlib/tst-strtod-round.c (tests): Regenerated.
61266         [BZ #3479]
61267         * stdlib/strtod_l.c (NDIG): Remove.
61268         (HEXNDIG): Likewise.
61269         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61270         smallest representable value.
61271         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61272         lie within an exact representation of 1/2 ulp of the result.
61273         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61274         unconditionally.
61275         (TENS_P9_IDX): Define unconditionally.
61276         (TENS_P9_SIZE): Likewise.
61277         (TENS_P10_IDX): Likewise.
61278         (TENS_P10_SIZE): Likewise.
61279         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61280         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61281         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61282         entries for 10^2^13 and 10^2^14.
61283         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61284         (TENS_P13_IDX): Define.
61285         (TENS_P13_SIZE): Likewise.
61286         (TENS_P14_IDX): Likewise.
61287         (TENS_P14_SIZE): Likewise.
61288         (_fpioconst_pow10): Change array size to
61289         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61290         unconditional.
61291         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61292         1024]: Add entries for 10^2^13 and 10^2^14.
61293         [LAST_POW10 > _LAST_POW10]: Remove #error.
61294         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61295         (_fpioconst_pow10): Change array size to
61296         FPIOCONST_POW10_ARRAY_SIZE.
61297         * stdlib/gen-fpioconst.c: New file.
61298         * stdlib/gen-tst-strtod-round.c: Likewise.
61299         * stdlib/tst-strtod-round-data: Likewise.
61300         * stdlib/tst-strtod-round.c: Likewise.
61301         * stdlib/Makefile (tests): Add tst-strtod-round.
61303         [BZ #14459]
61304         * stdlib/strtod_l.c: Include <stdint.h>.
61305         (NDEBUG): Do not define.
61306         (round_and_return): Change EXPONENT parameter to type intmax_t.
61307         Rearrange calculations to avoid internal overflow possibilities.
61308         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61309         Rearrange calculations to avoid internal overflow possibilities.
61310         Assert that number fits inside MPNSIZE limbs.
61311         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61312         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61313         calculations and add assertions to avoid internal overflow
61314         possibilities.  Add casts to avoid signed/unsigned operations.
61315         * stdlib/tst-strtod-overflow.c: New file.
61316         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61318 2012-08-25  Marek Polacek  <polacek@redhat.com>
61320         * time/time.h: Fix some typos in comments.
61322 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61324         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61325         * posix/tst-rfc3484-2.c: Likewise.
61326         * posix/tst-rfc3484-3.c: Likewise.
61328 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61330         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61331         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61333 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61335         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61336         #include of fxstatat64.c.
61338 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61340         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61341         * shadow/getspent_r.c: Likewise.
61342         * shadow/getspnam.c: Likewise.
61343         * shadow/getspnam_r.c: Likewise.
61344         * gshadow/getsgent.c: Likewise.
61345         * gshadow/getsgent_r.c: Likewise.
61346         * gshadow/getsgnam.c: Likewise.
61347         * gshadow/getsgnam_r.c: Likewise.
61348         * inet/getnetbyad.c: Likewise.
61349         * inet/getnetbyad_r.c: Likewise.
61350         * inet/getnetbynm.c: Likewise.
61351         * inet/getnetbynm_r.c: Likewise.
61352         * inet/getnetent.c: Likewise.
61353         * inet/getnetent_r.c: Likewise.
61354         * inet/getproto.c: Likewise.
61355         * inet/getproto_r.c: Likewise.
61356         * inet/getprtent.c: Likewise.
61357         * inet/getprtent_r.c: Likewise.
61358         * inet/getprtname.c: Likewise.
61359         * inet/getprtname_r.c: Likewise.
61360         * inet/getrpcbyname.c: Likewise.
61361         * inet/getrpcbyname_r.c: Likewise.
61362         * inet/getrpcbynumber.c: Likewise.
61363         * inet/getrpcbynumber_r.c: Likewise.
61364         * inet/getrpcent.c: Likewise.
61365         * inet/getrpcent_r.c: Likewise.
61366         * inet/getaliasent.c: Likewise.
61367         * inet/getaliasent_r.c: Likewise.
61368         * inet/getaliasname.c: Likewise.
61369         * inet/getaliasname_r.c: Likewise.
61370         * nscd/getgrgid_r.c: Likewise.
61371         * nscd/getgrnam_r.c: Likewise.
61372         * nscd/gethstbyad_r.c: Likewise.
61373         * nscd/gethstbynm3_r.c: Likewise.
61374         * nscd/getpwnam_r.c: Likewise.
61375         * nscd/getpwuid_r.c: Likewise.
61376         * nscd/getsrvbynm_r.c: Likewise.
61377         * nscd/getsrvbypt_r.c: Likewise.
61378         * nscd/gai.c: Likewise.
61380         * configure.in (build_nscd): New substituted variable, set
61381         by --disable-build-nscd and defaults to $use_nscd.
61382         * configure: Regenerated.
61383         * config.make.in (build-nscd): New substituted variable.
61384         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61385         Change conditional to require [$(build-nscd) = yes] as well.
61386         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61388         [BZ# 13696]
61389         * configure.in (use_nscd): New substituted variable, set by
61390         --disable-nscd.  If enabled, define USE_NSCD.
61391         * configure: Regenerated.
61392         * config.h.in: Add USE_NSCD.
61393         * config.make.in (use-nscd): New substituted variable.
61394         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61395         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61396         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61397         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61398         (CFLAGS-getgrnam_r.c): Likewise.
61399         (CFLAGS-initgroups.c): Likewise.
61400         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61401         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61402         Variables removed.
61403         * inet/getnetgrent_r.c
61404         (nscd_setnetgrent): New function, broken out of ...
61405         (setnetgrent): ... here.  Call it.
61406         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61407         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61408         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61409         * nscd/Makefile (routines, aux): Move definitions after include of
61410         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61411         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61412         Conditionalize on [USE_NSCD].
61413         (is_nscd, nscd_init_cb): Likewise.
61414         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61415         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61416         * nss/nss_db/db-init.c: Likewise.
61417         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61418         [USE_NSCD].
61419         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61420         (make_request): Use it.
61421         (cache_valid_p): New function.
61422         (__check_pf): Use it.
61423         * NEWS: Add item for --disable-nscd.
61425 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61427         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61428         to support sed >= 4.2.1-20-ga9bf076.
61429         * configure: Regenerated.
61431 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61433         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61434         Conditionalize whole body on [IREL].
61436 2012-08-22  Jeff Law <law@redhat.com>
61438         [BZ #14505]
61439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61440         if the family is PF_UNSPEC.
61442 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61444         * Makerules (lib-version): Rename from V.
61445         (install-lib-nosubdir): Change V to lib-version.
61447 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61449         [BZ #14252]
61450         * powerpc32/power6/wcschr.c: New file.
61451         * powerpc32/power6/wcscpy.c: New file.
61452         * powerpc32/power6/wcsrchr.c: New file.
61453         * powerpc64/power6/wcschr.c: New file.
61454         * powerpc64/power6/wcscpy.c: New file.
61455         * powerpc64/power6/wcsrchr.c: New file.
61457 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61459         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61460         (two_way_short_needle): Use it.
61461         * string/strstr.c (AVAILABLE1_USES_J): Define.
61462         * string/strcasestr.c: Likewise.
61464         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61465         array references.
61466         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61468         [BZ #11607]
61469         * NEWS: Add an entry.
61470         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61471         define their defaults.
61472         (two_way_short_needle): Detect end-of-string on-the-fly.
61473         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61474         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61475         * string/bug-strcasestr1.c: New test.
61476         * string/Makefile: Run it.
61478 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61480         [BZ #11607]
61481         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61482         the first character.
61484 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61486         * csu/elf-init.c (__libc_csu_irel): Function removed.
61487         * csu/libc-start.c (apply_irel): New function.
61488         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61490 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61492         * sysdeps/unix/sysv/linux/kernel-features.h
61493         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61494         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61495         <kernel-features.h>.
61496         [__NR_fadvise64_64]: Make code unconditional.
61497         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61498         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61499         !__NR_fadvise64_64)]: Likewise.
61500         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61501         !__NR_fadvise64_64))]: Likewise.
61502         [__NR_fadvise64]: Make code unconditional.
61503         [!__NR_fadvise64]: Remove conditional code.
61504         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61505         <kernel-features.h>.
61506         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61507         unconditional.
61508         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61509         conditional code.
61510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61511         not include <kernel-features.h>.
61512         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61513         unconditional.
61514         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61515         conditional code.
61516         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61517         include <kernel-features.h>.
61518         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61519         unconditional.
61520         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61521         conditional code.
61523 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61525         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61526         slight instruction rearrangements per scrollpipe analysis.
61527         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61529 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61531         * manual/syslog.texi (syslog; vsyslog, closelog):
61532         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61533         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61535         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61536         DSOCAPS to match condition on defining it.
61538 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61540         * sysdeps/unix/sysv/linux/kernel-features.h
61541         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61543         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61544         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61546         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61547         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61549         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61550         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61552         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61553         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61555         * sysdeps/unix/sysv/linux/kernel-features.h
61556         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61557         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61558         unconditional.
61559         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61560         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61561         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61562         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61563         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61564         Make code unconditional.
61565         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61566         (__mmap64) [!__NR_mmap2]: Likewise.
61567         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61568         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61569         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61570         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61571         [__NR_mmap2]: Make code unconditional.
61572         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61573         (__mmap64) [!__NR_mmap2]: Likewise.
61575 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61577         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61579 2012-08-18  Andreas Jaeger  <aj@suse.de>
61581         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61583 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61585         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61586         * include/unistd.h (__have_sock_cloexec): Likewise.
61587         (__have_pipe2): Likewise.
61588         (__have_dup3): Likewise.
61590 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61592         [BZ #9685]
61593         * include/unistd.h (__have_pipe2): Change define into an extern int.
61594         (__have_dup3): Likewise.
61595         * socket/have_sock_cloexec.c: Include fcntl.h.
61596         (__have_pipe2): New variable.
61597         (__have_dup3): Likewise.
61599 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61601         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61603 2012-08-17  Marek Polacek  <polacek@redhat.com>
61605         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61606         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61608 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61610         * configure.in: Add AC_SUBST for sysheaders.
61611         * configure: Regenerated.
61612         * config.make.in (sysheaders): New substituted variable.
61614         * sysdeps/unix/mkfifo.c: Moved ...
61615         * sysdeps/posix/mkfifo.c: ... here.
61616         * sysdeps/unix/mkfifoat.c: Moved ...
61617         * sysdeps/posix/mkfifoat.c: ... here.
61619         * sysdeps/unix/utime.c: Moved ...
61620         * sysdeps/posix/utime.c: ... here.
61622         * sysdeps/unix/time.c: Moved ...
61623         * sysdeps/posix/time.c: ... here.
61624         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61625         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61627         * sysdeps/unix/nice.c: Moved ...
61628         * sysdeps/posix/nice.c: ... here.
61630         * sysdeps/unix/alarm.c: Moved ...
61631         * sysdeps/posix/alarm.c: ... here.
61633         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61635 2012-08-17  Jeff Law <law@redhat.com>
61637         * intl/Makefile (codeset_mo): New variable.
61638         ($(codeset_mo)): New target.
61639         (tst-codeset.out): Depend on that.  Remove explicit rule.
61640         (tst-gettext3.out, tst-gettext5.out): Likewise.
61641         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61642         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61643         * intl/tst-codeset.sh: Remove.
61644         * intl/tst-gettext3.sh: Likewise.
61645         * intl/tst-gettext5.sh: Likewise.
61647 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61649         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61650         * sysdeps/unix/syscalls.list: ... here.
61652         * sysdeps/posix/getaddrinfo.c
61653         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61654         (gaiconf_init, gaiconf_reload): Use them.
61655         [!_STATBUF_ST_NSEC]
61656         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61657         Define using time_t rather than struct timespec.
61659         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61660         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61661         Macros removed.
61662         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61663         [!NO_THREADS].
61664         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61665         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61666         Likewise.
61668         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61669         __libc_cleanup_push argument.
61671         * bits/param.h: New file.
61672         * misc/sys/param.h: New file.
61673         * include/sys/param.h: New file.
61674         * misc/Makefile (headers): Add bits/param.h.
61675         * sysdeps/generic/sys/param.h: File removed.
61676         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61677         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61678         * sysdeps/mach/hurd/bits/param.h: New file.
61679         * sysdeps/mach/hurd/sys/param.h: File removed.
61681         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61682         last change.
61684         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61685         [_IO_MTSAFE_IO].
61686         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61687         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61688         New macros.
61690         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61691         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61692         rather than -D_IO_MTSAFE_IO conditionally.
61693         * stdio-common/Makefile (CPPFLAGS): Likewise.
61694         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61695         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61696         Use $(libio-mtsafe).
61697         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61698         of -D_IO_MTSAFE_IO.
61699         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61700         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61701         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61702         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61703         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61704         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61705         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61706         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61707         (CFLAGS-fread_u_chk.c): Likewise.
61708         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61709         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61710         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61711         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61712         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61713         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61714         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61715         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61716         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61718         * libio/Makefile: Test [$(libc-reentrant) = yes]
61719         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61721         * Makeconfig
61722         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61723         * sysdeps/pthread/configure: File removed.
61724         * sysdeps/pthread/Makeconfig: New file.
61725         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61726         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61728 2012-08-16  Gary Benson  <gbenson@redhat.com>
61730         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61731         unmapping the first object in a namespace.
61733 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61735         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61736         (__internal_setnetgrent): ... this.  Add internal_function to
61737         definition.  Add libc_hidden_def.
61738         (setnetgrent): Update caller.
61739         (internal_endnetgrent): Renamed to ...
61740         (__internal_endnetgrent): ... this.  Add internal_function to
61741         definition.  Add libc_hidden_def.
61742         (endnetgrent): Update caller.
61743         (internal_getnetgrent_r): Renamed to ...
61744         (__internal_getnetgrent_r): ... this.  Add internal_function to
61745         definition.  Add libc_hidden_def.
61746         (__getnetgrent_r): Update caller.
61747         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61749 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61751         * stdlib/longlong.h: Update from GCC.
61753 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61755         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61756         on _QL, which is set by umul_ppmm but never used.
61757         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61758         variables, which are set by GMP macros but never used.
61759         * stdio-common/_itowa.c (_itowa): Likewise.
61760         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61761         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61763 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61765         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61766         struct La_sh_regs is not constant.
61767         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61768         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61769         and struct La_sparc64_regs are not constant.
61771 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61773         * sysdeps/unix/sysv/linux/kernel-features.h
61774         (__ASSUME_POSIX_TIMERS): Remove.
61775         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61776         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61777         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61778         Make code unconditional.
61779         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61780         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61781         Make code unconditional.
61782         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61783         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61784         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61785         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61786         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61787         Make code unconditional.
61788         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61789         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61790         (__libc_missing_posix_timers): Remove.
61792 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61794         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61795         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61797         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61799         * elf/dl-sym.c: Include <stdlib.h>.
61801         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61802         constants, which avoids warnings in 32-bit builds.
61804         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61805         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61807         * misc/lseek.c: File moved to ...
61808         * io/lseek.c: ... here.
61810         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61812         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61813         shifting LEN more than 31 bits at once.
61815 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61817         [BZ #14195]
61818         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61819         segmentation fault for a case of two empty input strings.
61820         * string/test-strncasecmp.c (check1): Renamed to...
61821         (bz12205): ...this.
61822         (bz14195): Add new testcase for two empty input strings and N > 0.
61823         (test_main): Call new testcase, adapt for renamed function.
61825 2012-08-15  Andreas Jaeger  <aj@suse.de>
61827         [BZ #14090]
61828         * crypt/md5test2.c: New test, based on test supplied by Serge
61829         Belyshev <belyshev@depni.sinp.msu.ru>.
61830         * crypt/Makefile (xtests): Add md5test-giant..
61831         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61833 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61835         [BZ #14090]
61836         * crypt/md5.c (md5_process_block): Don't assume the buffer
61837         length is less than 2**32.
61838         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61839         length is less than 2**64.
61841 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61843         * string/str-two-way.h: Include <sys/param.h>.
61844         (MAX): Macro removed.
61846         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61847         Move #define and #undef of memmove to just before and after
61848         including <string.h>.
61850         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61851         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61852         and after including <string.h>.  Move declarations of
61853         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61854         to before #include "string/memmove.c".
61856         * include/dirent.h: Declare __getdirentries.
61858         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61859         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61861 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61863         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61864         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61865         * sysdeps/i386/configure: Regenerated.
61866         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61867         STABS_CURRENT_FILE, and STABS_FUN.
61868         (END): Remove call to STABS_FUN_END.
61869         (STABS_CURRENT_FILE1): Delete.
61870         (STABS_CURRENT_FILE): Likewise.
61871         (STABS_FUN): Likewise.
61872         (STABS_FUN_END): Likewise.
61873         (STABS_FUN2): Likewise.
61874         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61875         * sysdeps/x86_64/configure: Regenerated.
61877 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61879         * elf/dl-open.c: Include <atomic.h>.
61880         * elf/dl-lookup.c: Likewise.
61882 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61884         * sysdeps/unix/sysv/linux/kernel-features.h
61885         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61886         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61887         unconditionally.
61888         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61889         unconditionally.
61890         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61891         condition on __ASSUME_CLONE_THREAD_FLAGS.
61893 2012-08-14  Andreas Jaeger  <aj@suse.de>
61895         * sysdeps/i386/fpu/libm-test-ulps: Update.
61897 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61899         * include/atomic.h (atomic_exchange_and_add): Split into ...
61900         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61901         New atomic macros.
61903 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61907 2012-08-13  Jeff Law <law@redhat.com>
61909         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61910         null byte in the output string.
61912 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61914         * sysdeps/unix/sysv/linux/kernel-features.h
61915         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61916         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61917         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61918         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61919         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61920         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61921         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61923 2012-08-09  Jeff Law <law@redhat.com>
61925         [BZ #13939]
61926         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61927         When avoid_arena is set, don't retry in the that arena.  Pick the
61928         next one, whatever it might be.
61929         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61930         (arena_lock): Pass in new parameter to arena_get2.
61931         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61932         arena_get2.
61933         (__libc_malloc): Unify retrying after main arena failure with
61934         __libc_memalign version.
61935         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61937 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61939         [BZ #14166]
61940         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61941         to __redirect_strstr.
61942         (__strstr_sse42): Use typeof __redirect_strstr.
61943         (__strstr_ia32): Likewise.
61944         (__libc_strstr): New prototype.
61945         (strstr): Renamed to ...
61946         (__libc_strstr): This.
61947         (strstr): New strong alias of __libc_strstr.
61948         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61949         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61950         __redirect_time.
61951         Include <time.h>.
61952         (__libc_time): New prototype.
61953         (time_ifunc): Replace time with __libc_time.
61954         (time): New strong alias and hidden definition of __libc_time.
61955         (__GI_time): Remove strong alias.
61956         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61957         Include <stddef.h>.
61958         (memmove): Redefined to __redirect_memmove.
61959         (__memmove_sse2): Use typeof __redirect_memmove.
61960         (__memmove_ssse3): Likewise.
61961         (__memmove_ssse3_back): Likewise.
61962         (__libc_memmove): New prototype.
61963         (memmove): Renamed to ...
61964         (__libc_memmove): This.
61965         (memmove): New strong alias of __libc_memmove.
61967 2012-08-08  Mark Salter  <msalter@redhat.com>
61969         * elf/elf.h
61970         (R_MN10300_TLS_GD): Define.
61971         (R_MN10300_TLS_LD): Likewise.
61972         (R_MN10300_TLS_LDO): Likewise.
61973         (R_MN10300_TLS_GOTIE): Likewise.
61974         (R_MN10300_TLS_IE): Likewise.
61975         (R_MN10300_TLS_LE): Likewise.
61976         (R_MN10300_TLS_DTPMOD): Likewise.
61977         (R_MN10300_TLS_DTPOFF): Likewise.
61978         (R_MN10300_TLS_TPOFF): Likewise.
61979         (R_MN10300_SYM_DIFF): Likewise.
61980         (R_MN10300_ALIGN): Likewise.
61981         (R_MN10300_NUM): Update.
61983 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61985         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61986         Remove.
61988 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61990         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61992         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61993         sysdeps/unix -> sysdeps/posix move.
61994         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61996 2012-08-07      Allan McRae     <allan@archlinux.org>
61998         [BZ #14303]
61999         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62000         (SUNOS_CPP): Likewise.
62001         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62002         not found.
62003         (open_input): Call CPP using execvp.
62005 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62007         * sysdeps/unix/sysv/linux/kernel-features.h
62008         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62009         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62010         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62011         (__ASSUME_WAITID_SYSCALL): Likewise.
62012         * sysdeps/unix/sysv/linux/dl-execstack.c
62013         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62014         code unconditional.
62015         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62016         conditional code.
62017         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62018         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62019         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62020         code.
62021         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62022         unconditional.
62023         [__ASSUME_WAITID_SYSCALL]: Likewise.
62024         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62026 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62028         * sysdeps/unix/closedir.c: Renamed to ...
62029         * sysdeps/posix/closedir.c: ... here.
62030         * sysdeps/unix/dirfd.c: Renamed to ...
62031         * sysdeps/posix/dirfd.c: ... here.
62032         * sysdeps/unix/dirstream.h: Renamed to ...
62033         * sysdeps/posix/dirstream.h: ... here.
62034         * sysdeps/unix/fdopendir.c: Renamed to ...
62035         * sysdeps/posix/fdopendir.c: ... here.
62036         * sysdeps/unix/opendir.c: Renamed to ...
62037         * sysdeps/posix/opendir.c: ... here.
62038         * sysdeps/unix/readdir.c: Renamed to ...
62039         * sysdeps/posix/readdir.c: ... here.
62040         * sysdeps/unix/readdir_r.c: Renamed to ...
62041         * sysdeps/posix/readdir_r.c: ... here.
62042         * sysdeps/unix/rewinddir.c: Renamed to ...
62043         * sysdeps/posix/rewinddir.c: ... here.
62044         * sysdeps/unix/seekdir.c: Renamed to ...
62045         * sysdeps/posix/seekdir.c: ... here.
62046         * sysdeps/unix/telldir.c: Renamed to ...
62047         * sysdeps/posix/telldir.c: ... here.
62048         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62049         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62050         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62051         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62053         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62054         * bits/fcntl.h: ... here.
62056         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62057         not 0.
62058         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62059         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62060         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62061         (struct flock): Move l_start, l_len to the beginning.
62062         Use __pid_t for l_pid.
62063         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62064         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62065         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62066         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62067         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62068         [__USE_LARGEFILE64] (struct flock64): New type.
62069         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62071         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62072         * bits/dirent.h: ... here.
62074         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62075         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62077 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62079         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62080         Change from 2.6.0 to 2.6.16.
62081         * sysdeps/unix/sysv/linux/configure: Regenerated.
62082         * sysdeps/unix/sysv/linux/kernel-features.h
62083         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62084         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62085         version.
62086         (__ASSUME_UTIMES): Likewise.
62087         (__ASSUME_CLONE_STOPPED): Remove.
62088         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62089         architectures, not kernel version.
62090         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62091         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62092         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62093         (__ASSUME_WAITID_SYSCALL): Likewise.
62094         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62095         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62096         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62097         refer to older versions.
62099 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62101         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62102         Define alphasort64 as an alias.
62103         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62104         Define versionsort64 as an alias.
62105         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62106         Define scandir64 as an alias.
62107         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62108         Define scandirat64 as an alias.
62109         * dirent/alphasort64.c (alphasort64):
62110         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62111         * dirent/versionsort64.c: Likewise.
62112         * dirent/scandir64.c: Likewise.
62113         * dirent/scandirat64.c: Likewise.
62114         * sysdeps/wordsize-64/alphasort.c: File removed.
62115         * sysdeps/wordsize-64/alphasort64.c: File removed.
62116         * sysdeps/wordsize-64/scandir.c: File removed.
62117         * sysdeps/wordsize-64/scandir64.c: File removed.
62118         * sysdeps/wordsize-64/scandirat.c: File removed.
62119         * sysdeps/wordsize-64/scandirat64.c: File removed.
62120         * sysdeps/wordsize-64/versionsort.c: File removed.
62121         * sysdeps/wordsize-64/versionsort64.c: File removed.
62122         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62123         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62124         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62125         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62126         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62127         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62128         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62129         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62131         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62132         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62133         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62134         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62135         [defined __arch64__ || defined __sparcv9]
62136         (__INO_T_MATCHES_INO64_T): New macro.
62137         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62138         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62139         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62140         * sysdeps/unix/sysv/linux/bits/dirent.h
62141         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62142         (_DIRENT_MATCHES_DIRENT64): New macro.
62144         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62145         Define lockf64 as an alias.
62146         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62147         Define fseeko64 as an alias.
62148         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62149         Define ftello64 as an alias.
62150         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62151         Define _IO_fgetpos64 and fgetpos64 as aliases.
62152         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62153         Define _IO_fsetpos64 and fsetpos64 as aliases.
62154         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62155         Conditionalize body on this.
62156         * libio/fseeko64.c: Likewise.
62157         * libio/ftello64.c: Likewise.
62158         * libio/iofgetpos64.c: Likewise.
62159         * libio/iofsetpos64.c: Likewise.
62160         * sysdeps/wordsize-64/lockf.c: File removed.
62161         * sysdeps/wordsize-64/lockf64.c: File removed.
62162         * sysdeps/wordsize-64/fseeko.c: File removed.
62163         * sysdeps/wordsize-64/fseeko64.c: File removed.
62164         * sysdeps/wordsize-64/ftello.c: File removed.
62165         * sysdeps/wordsize-64/ftello64.c: File removed.
62166         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62167         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62168         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62169         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62170         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62171         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62172         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62173         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62174         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62175         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62176         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62177         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62178         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62179         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62181         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62182         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62183         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62184         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62185         [defined __arch64__ || defined __sparcv9]
62186         (__OFF_T_MATCHES_OFF64_T): New macro.
62187         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62188         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62189         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62190         (__OFF_T_MATCHES_OFF64_T): New macro.
62192 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62194         * stdlib/secure-getenv.c (__secure_getenv): Replace
62195         GLIBC_2_16 with GLIBC_2_17.
62197 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62199         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62200         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62202 2012-08-03  David S. Miller  <davem@davemloft.net>
62204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62206 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62208         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62209         Remove.
62210         (__ASSUME_CORRECT_SI_PID): Likewise.
62211         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62212         (__ASSUME_TMPFS_NAME): Likewise.
62213         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62214         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62215         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62216         (HAVE_AUX_SECURE): Make definition unconditional.
62217         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62218         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62220 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62222         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62223         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62224         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62225         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62226         __eloop_threshold instead of SYMLOOP_MAX.
62228         * sysdeps/generic/eloop-threshold.h: New file.
62229         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62230         of MAXSYMLINKS.
62231         * elf/chroot_canon.c (chroot_canon): Likewise.
62233 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62235         [BZ #13717]
62236         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62237         Change to 2.6.0 everywhere.
62238         * sysdeps/unix/sysv/linux/configure: Regenerated.
62239         * sysdeps/unix/sysv/linux/kernel-features.h
62240         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62241         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62242         kernel versions.
62243         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62244         (__ASSUME_FUTEX_REQUEUE): Remove.
62245         (__ASSUME_STATFS64): Define unconditionally.
62246         (__ASSUME_AT_SECURE): Likewise.
62247         (__ASSUME_CORRECT_SI_PID): Likewise.
62248         (__ASSUME_TGKILL): Define without depending on kernel version for
62249         i386.
62250         (__ASSUME_UTIMES): Likewise.
62251         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62252         kernel version.
62253         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62254         (__ASSUME_TMPFS_NAME): Likewise.
62255         * README: Update reference to Linux kernel versions.
62257 2012-08-02  Marek Polacek  <polacek@redhat.com>
62259         [BZ# 14150]
62260         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62261         libc_cv_asm_type_prefix with %.
62262         * configure: Regenerated.
62263         * include/libc-symbols.h: Remove comment about
62264         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62265         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62266         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62267         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62268         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62269         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62270         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62271         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62272         * elf/tst-unique2mod1.c: Likewise.
62273         * elf/tst-unique1mod2.c: Likewise.
62274         * elf/tst-unique1mod1.c: Likewise.
62275         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62276         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62277         Replace ASM_TYPE_DIRECTIVE with .type.
62278         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62279         * sysdeps/i386/sysdep.h: Likewise.
62280         * sysdeps/x86_64/sysdep.h: Likewise.
62281         * sysdeps/sh/sysdep.h: Likewise.
62282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62283         Do not define ASM_TYPE_DIRECTIVE.
62284         * sysdeps/powerpc/sysdep.h: Likewise.
62285         * sysdeps/powerpc/powerpc32/sysdep.h:
62286         Replace ASM_TYPE_DIRECTIVE with .type.
62287         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62288         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62289         * sysdeps/i386/fpu/e_powf.S: Likewise.
62290         * sysdeps/i386/fpu/e_expl.S: Likewise.
62291         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62292         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62293         * sysdeps/i386/fpu/e_pow.S: Likewise.
62294         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62295         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62296         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62297         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62298         * sysdeps/i386/fpu/e_log2.S: Likewise.
62299         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62300         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62301         * sysdeps/i386/fpu/e_powl.S: Likewise.
62302         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62303         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62304         * sysdeps/i386/fpu/e_logl.S: Likewise.
62305         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62306         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62307         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62308         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62309         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62310         * sysdeps/i386/fpu/e_log.S: Likewise.
62311         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62312         * sysdeps/i386/fpu/e_logf.S: Likewise.
62313         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62314         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62315         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62316         * sysdeps/i386/fpu/e_log10.S: Likewise.
62317         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62318         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62319         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62320         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62321         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62322         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62323         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62324         * sysdeps/i386/i686/strtok.S: Likewise.
62325         * sysdeps/i386/i386-mcount.S: Likewise.
62326         * sysdeps/i386/strtok.S: Likewise.
62327         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62328         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62329         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62330         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62331         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62332         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62333         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62334         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62335         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62336         * sysdeps/x86_64/_mcount.S: Likewise.
62337         * sysdeps/x86_64/strtok.S: Likewise.
62338         * sysdeps/sh/_mcount.S: Likewise.
62340 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62342         * libio/iofopen.c: Include <fcntl.h>.
62343         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62344         (_IO_fopen64, fopen64): Define as aliases.
62345         * libio/iofopen64.c: Include <fcntl.h>.
62346         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62347         Conditionalize body on this.
62348         * sysdeps/wordsize-64/iofopen.c: File removed.
62349         * sysdeps/wordsize-64/iofopen64.c: File removed.
62351 2012-08-01  Marek Polacek  <polacek@redhat.com>
62353         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62354         Use dlfcn directly instead of a variable.
62355         (binfmt-subdir): Do not define.
62356         (dlfcn): Likewise.
62358 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62360         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62361         Remove all definitions.
62362         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62363         <kernel-features.h>.
62364         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62365         (miss_F_GETOWN_EX): Remove all definitions.
62366         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62367         macro definition.
62368         [!__ASSUME_FCNTL64]: Remove conditional code.
62369         [__ASSUME_FCNTL64]: Make code unconditional.
62370         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62371         <kernel-features.h>.
62372         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62373         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62374         (lockf64) [__NR_fcntl64]: Make code unconditional.
62375         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62377         * sysdeps/unix/sysv/linux/kernel-features.h
62378         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62379         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62380         Make code unconditional.
62381         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62382         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62384         [__NR_vfork]: Make code unconditional.
62385         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62386         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62388         [__NR_vfork]: Make code unconditional.
62389         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62390         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62392 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62394         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62395         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62397         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62398         Define mkstemp64 as an alias.
62399         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62400         Define mkstemps64 as an alias.
62401         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62402         Define mkostemp64 as an alias.
62403         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62404         Define mkostemps64 as an alias.
62405         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62406         Conditionalize body on this.
62407         * misc/mkostemp64.c: Likewise.
62408         * misc/mkostemps64.c: Likewise.
62409         * misc/mkstemps64.c: Likewise.
62410         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62411         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62412         * sysdeps/wordsize-64/mkostemp.c: File removed.
62413         * sysdeps/wordsize-64/mkstemp.c: File removed.
62414         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62415         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62416         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62417         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62419         [BZ #14138]
62420         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62421         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62422         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62423         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62425         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62426         compat_symbol macros from <shlib-compat.h> rather than the underlying
62427         default_symbol_version and symbol_version macros, so that DEFAULT
62428         lines in shlib-versions are respected.
62429         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62431 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62433         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62434         Declare with warn_unused_result.
62435         (setgid, setregid, setegid, setresgid): Likewise.
62436         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62437         Likewise.
62438         * WUR-REPORT: Remove set*id functions.
62440 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62442         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62444 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62446         [BZ #10191]
62447         * include/sys/socket.h (__libc_accept, __libc_accept4):
62448         Add attribute_hidden.
62449         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62451         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62452         use of PTR_MANGLE.
62453         * inet/getnetgrent_r.c (setup): Likewise.
62455         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62457 2012-07-31  David S. Miller  <davem@davemloft.net>
62459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62461 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62463         [BZ #13629]
62464         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62465         value between 1.0 and 2.0 and smaller part has absolute value less
62466         than 1.0.
62467         * math/s_clog10.c (__clog10): Likewise.
62468         * math/s_clog10f.c (__clog10f): Likewise.
62469         * math/s_clog10l.c (__clog10l): Likewise.
62470         * math/s_clogf.c (__clogf): Likewise.
62471         * math/s_clogl.c (__clogl): Likewise.
62472         * math/libm-test.inc (clog_test): Add more tests.
62473         (clog10_test): Likewise.
62474         * sysdeps/i386/fpu/libm-test-ulps: Update.
62475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62477 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62479         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62480         Exit with zero in case no suitable GID is found, and write a
62481         message to standard error.
62483 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62485         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62486         rather than to 1.
62487         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62488         (MAXPATHLEN): Removed.
62489         (NOGROUP, NODEV): New macros.
62490         (setbit, clrbit, isset, isclr): New macros.
62491         (howmany, roundup, powerof2): New macros.
62492         (DEV_BSIZE): New macro.
62494         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62495         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62497         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62498         definition on [!__NO_LONG_DOUBLE_MATH].
62500         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62501         PTR_MANGLE and PTR_DEMANGLE.
62503         * socket/accept4.c (accept4): Rename to __libc_accept4.
62504         Define accept4 as a weak alias.
62506         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62507         on [_DIRENT_HAVE_D_TYPE].
62508         * io/ftw.c (ftw_dir): Likewise.
62510         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62512         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62514         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62515         Use the BSD numbers rather than the arbitrary ones we had.
62516         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62517         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62518         (SIGXCPU, SIGXFSZ): New macros.
62519         (_NSIG): Now 32.
62521         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62522         initializer on [_LIBC_REENTRANT].
62524         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62525         definitions inside [_POSIX_MAPPED_FILES].
62527         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62529         * dirent/opendir.c: Include <fcntl.h>.
62531         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62532         (__libc_getspecific): Likewise.
62533         (__libc_key_create): Likewise.
62535         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62536         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62537         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62538         (tmpfile64): Define as alias.
62539         * sysdeps/wordsize-64/tmpfile.c: File removed.
62540         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62541         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62542         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62544         * stdio-common/vfscanf.c: Include <stdbool.h>.
62545         * nss/makedb.c: Likewise.
62546         * stdio-common/_i18n_number.h: Likewise.
62547         * argp/argp-help.c: Likewise.
62548         * posix/wordexp.c: Likewise.
62549         * sysdeps/posix/spawni.c: Likewise.
62550         * nss/nss_files/files-initgroups.c: Likewise.
62551         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62552         * nss/nss_files/files-initgroups.c: Likewise.
62553         * nss/nss_db/db-netgrp.c: Likewise.
62554         * nss/nss_db/db-initgroups.c: Likewise.
62555         * io/fchmodat.c: Include <sys/stat.h>.
62557         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62558         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62560         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62561         [HAVE_MMAP].
62563         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62564         Add multiple inclusion protection.
62566 2012-07-27  David S. Miller  <davem@davemloft.net>
62568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62570 2012-07-27  Gary Benson  <gbenson@redhat.com>
62572         [BZ #14298]
62573         * elf/rtld.c: Include <stap-probe.h>.
62574         (dl_main): Added static probes "init_start" and "init_complete".
62575         * elf/dl-load.c: Include <stap-probe.h>.
62576         (lose): Take new parameter "nsid".
62577         Added static probe "map_failed".
62578         (_dl_map_object_from_fd): Pass namespace id to lose.
62579         Added static probe "map_start".
62580         (open_verify): Pass namespace id to lose.
62581         * elf/dl-open.c: Include <stap-probe.h>.
62582         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62583         and "reloc_complete".
62584         * elf/dl-close.c: Include <stap-probe.h>.
62585         (_dl_close_worker): Added static probes "unmap_start" and
62586         "unmap_complete".
62587         * elf/rtld-debugger-interface.txt: New file documenting the above.
62589 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62591         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62592         rather than a string variable.
62593         * sunrpc/rpc_main.c (h_output): Likewise.
62594         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62596 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62598         * inet/check_native.c: New file.
62600 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62602         [BZ #13629]
62603         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62604         if larger part has absolute value 1.0.
62605         * math/s_clog10.c (__clog10): Likewise.
62606         * math/s_clog10f.c (__clog10f): Likewise.
62607         * math/s_clog10l.c (__clog10l): Likewise.
62608         * math/s_clogf.c (__clogf): Likewise.
62609         * math/s_clogl.c (__clogl): Likewise.
62610         * math/libm-test.inc (clog_test): Add more tests.
62611         (clog10_test): Likewise.
62612         * sysdeps/i386/fpu/libm-test-ulps: Update.
62613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62615         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62616         (pltexit): Likewise.
62617         (La_regs): Likewise.
62618         (La_retval): Likewise.
62619         (int_retval): Likewise.
62620         Update #error for removed macros to refer only to definitions in
62621         tst-audit.h.
62622         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62623         macro.
62624         (pltexit): Likewise.
62625         (La_regs): Likewise.
62626         (La_retval): Likewise.
62627         (int_retval): Likewise.
62628         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62629         macro.
62630         (pltexit): Likewise.
62631         (La_regs): Likewise.
62632         (La_retval): Likewise.
62633         (int_retval): Likewise.
62634         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62635         macro.
62636         (pltexit): Likewise.
62637         (La_regs): Likewise.
62638         (La_retval): Likewise.
62639         (int_retval): Likewise.
62640         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62641         macro.
62642         (pltexit): Likewise.
62643         (La_regs): Likewise.
62644         (La_retval): Likewise.
62645         (int_retval): Likewise.
62646         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62647         macro.
62648         (pltexit): Likewise.
62649         (La_regs): Likewise.
62650         (La_retval): Likewise.
62651         (int_retval): Likewise.
62652         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62653         macro.
62654         (pltexit): Likewise.
62655         (La_regs): Likewise.
62656         (La_retval): Likewise.
62657         (int_retval): Likewise.
62658         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62659         macro definitions in tst-audit.h.
62660         * sysdeps/i386/tst-audit.h: New file.
62661         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62662         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62663         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62664         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62665         * sysdeps/sh/tst-audit.h: Likewise.
62666         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62667         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62668         * sysdeps/x86_64/tst-audit.h: Likewise.
62670 2012-07-26  Andreas Jaeger  <aj@suse.de>
62672         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62673         ptrace.
62675         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62676         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62677         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62678         PTRACE_O_MASK.
62679         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62680         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62681         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62683         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62684         value.
62686         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62687         _sigsys.
62688         (si_call_addr, si_syscall, si_arch): Define new macro.
62689         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62690         _sigsys.
62691         (si_call_addr, si_syscall, si_arch): Define new marcro.
62692         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62693         _sigsys.
62694         (si_call_addr, si_syscall, si_arch): Define new macro.
62695         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62696         _sigsys.
62697         (si_call_addr, si_syscall, si_arch): Define new macro.
62699 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62701         [BZ #13717]
62702         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62703         Change to 2.4.21 where previously 2.4.1.
62704         * sysdeps/unix/sysv/linux/configure: Regenerated.
62705         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62706         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62707         Linux kernel version.
62708         (__ASSUME_STD_AUXV): Remove.
62709         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62710         kernel version.
62711         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62712         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62713         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62714         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62715         (__ASSUME_NETLINK_SUPPORT): Likewise.
62716         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62717         (__no_netlink_support): Remove conditional definition.
62718         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62719         Remove.
62720         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62721         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62722         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62723         (if_nameindex_ioctl): Remove.
62724         (if_nameindex_netlink): Do not handle __no_netlink_support.
62725         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62726         code.
62727         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62728         Remove conditional code.
62729         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62730         code.
62731         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62732         unconditional.
62733         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62734         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62735         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62736         Remove.
62737         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62738         [!__ASSUME_STD_AUXV]: Remove conditional code.
62739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62740         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62741         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62743         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62744         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62745         code.
62746         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62748         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62749         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62750         conditional code.
62751         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62753         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62754         code.
62755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62756         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62757         conditional code.
62758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62759         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62760         code unconditional.
62761         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62762         conditional code.
62763         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62764         unconditional.
62765         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62766         conditional code.
62767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62768         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62769         unconditional.
62770         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62771         conditional code.
62772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62773         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62774         code unconditional.
62775         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62776         conditional code.
62777         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62778         unconditional.
62779         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62780         conditional code.
62781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62782         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62783         code unconditional.
62784         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62785         conditional code.
62786         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62787         unconditional.
62788         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62789         conditional code.
62791 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62793         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62794         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62795         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62796         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62797         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62798         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62799         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62800         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62801         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62802         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62803         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62804         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62805         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62806         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62807         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62808         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62809         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62810         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62811         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62813         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62814         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62815         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62817 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62819         * Versions.def: Add GLIBC_2.17.
62820         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62821         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62822         Introduce __libc_secure_getenv.
62823         * stdlib/Versions (2.17): Add secure_getenv
62824         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62825         * stdlib/secure-getenv.c: Rename __secure_getenv to
62826         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62827         symbol __secure_getenv for GLIBC_2.0.
62828         * stdlib/tst-secure-getenv.c: New.
62829         * stdlib/Makefile (tests): Add testcase.
62830         * manual/startup.texi (Environment Access): Document
62831         secure_getenv.
62832         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62833         __libc_secure_getenv.
62834         * inet/ruserpass.c (ruserpass): Likewise.
62835         * malloc/mtrace.c (mtrace): Likewise.
62836         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62837         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62838         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62839         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62840         HAVE_SECURE_GETENV.
62841         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62842         __secure_getenv to __libc_secure_getenv.
62843         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62845         Likewise.
62846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62847         Likewise.
62848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62850         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62856 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62858         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62859         (struct La_i86_retval): Likewise.
62860         (struct La_x86_64_regs): Likewise.
62861         (struct La_x86_64_retval): Likewise.
62862         (struct La_x32_regs): Likewise.
62863         (struct La_x32_retval): Likewise.
62864         (struct La_ppc32_regs): Likewise.
62865         (struct La_ppc32_retval): Likewise.
62866         (struct La_ppc64_regs): Likewise.
62867         (struct La_ppc64_retval): Likewise.
62868         (struct La_sh_regs): Likewise.
62869         (struct La_sh_retval): Likewise.
62870         (struct La_s390_32_regs): Likewise.
62871         (struct La_s390_32_retval): Likewise.
62872         (struct La_s390_64_regs): Likewise.
62873         (struct La_s390_64_retval): Likewise.
62874         (struct La_sparc32_regs): Likewise.
62875         (struct La_sparc32_retval): Likewise.
62876         (struct La_sparc64_regs): Likewise.
62877         (struct La_sparc64_retval): Likewise.
62878         (struct audit_ifaces): Remove architecture-specific pltenter and
62879         pltexit members.
62880         * sysdeps/i386/ldsodefs.h: New file.
62881         * sysdeps/powerpc/ldsodefs.h: Likewise.
62882         * sysdeps/s390/ldsodefs.h: Likewise.
62883         * sysdeps/sh/ldsodefs.h: Likewise.
62884         * sysdeps/sparc/ldsodefs.h: Likewise.
62885         * sysdeps/x86_64/ldsodefs.h: Likewise.
62887 2012-07-25  Marek Polacek  <polacek@redhat.com>
62889         [BZ #6808]
62890         * math/libm-test.inc (yn_test): Add another test.
62891         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62892         to ERANGE when the result is +-Inf.
62893         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62894         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62895         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62896         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62898 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62900         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62901         equal to 0.
62902         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62903         clock_t.
62904         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62906 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62908         * configure.in <sysdeps resolving>: Correct printing
62909         Implies_before.
62910         * configure: Regenerate.
62912 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62914         * math/w_ilogb.c: Include <limits.h>.
62915         * math/w_ilogbl.c: Likewise.
62917 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62919         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62920         va_copy.  Document allowing for unavailable va_copy only as
62921         pre-C99 compatibility.
62922         * manual/string.texi (Copying and Concatenation): Use va_copy
62923         instead of __va_copy in concat example.
62925 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62927         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62928         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62929         it if not null.
62931         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62932         with O_NOLINK passed to __file_name_lookup.
62934         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62935         with O_NOLINK passed to __file_name_lookup.
62937         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62938         negative N or less than NGIDS.
62940         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62941         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62942         enough.  Use memcpy instead of strncpy.
62944 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62946         * elf/Makefile (check-data): Remove.
62947         (localplt.data): New vpath directive.
62948         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62949         instead of $(check-data).
62950         * scripts/data/localplt-generic.data: Move to ...
62951         * sysdeps/generic/localplt.data: ... here.
62952         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62953         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62954         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62956         ... here.
62957         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62959         ... here.
62960         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62962         ... here.
62963         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62965         ... here.
62966         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62968         ... here.
62969         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62971         ... here.
62973 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62975         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62976         PPC32 and PPC64 files.
62977         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62978         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62980 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62982         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62983         __makecontext_ret to ...
62984         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62985         ... here and call exit if uc_link is NULL.  New file.
62986         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62987         __makecontext_ret.S.
62988         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62989         __makecontext_ret to ...
62990         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62991         ... here and call exit if uc_link is NULL.  New file.
62992         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62993         __makecontext_ret.S.
62995 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62997         * elf/elf.h (R_390_IRELATIVE): New definition.
62998         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62999         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63000         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63001         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63002         (elf_machine_lazy_rel): Likewise.
63003         * sysdeps/s390/dl-irel.h: New file.
63004         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63005         * sysdeps/s390/s390-64/memset.S: New asm code.
63006         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63007         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63008         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63009         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63010         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63011         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63012         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63013         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63014         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63015         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63016         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63017         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63018         * sysdeps/s390/s390-32/memset.S: New asm code.
63019         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63021 2012-07-17  Marek Polacek  <polacek@redhat.com>
63023         [BZ #14349]
63024         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63025         * sysdeps/s390/s390-64/configure.in: Likewise.
63026         * sysdeps/sparc/configure.in: Likewise.
63027         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63028         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63029         * sysdeps/i386/configure.in: Likewise.
63030         * sysdeps/x86_64/configure.in: Likewise.
63031         * sysdeps/sh/configure.in: Likewise.
63032         * sysdeps/s390/s390-32/configure: Regenerated.
63033         * sysdeps/s390/s390-64/configure: Likewise.
63034         * sysdeps/x86_64/configure: Likewise.
63035         * sysdeps/sh/configure: Likewise.
63036         * sysdeps/powerpc/powerpc64/configure: Likewise.
63037         * sysdeps/powerpc/powerpc32/configure: Likewise.
63038         * sysdeps/sparc/configure: Likwise.
63039         * sysdeps/i386/configure: Likewise.
63041         * elf/dl-open.c: Comment fixes.
63043 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63045         * Makefile [CXX] (check-data): Remove.
63046         [CXX] (c++-types.data): New vpath directive.
63047         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63048         vpath.  Do not allow for C++ type data being missing.
63049         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63050         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63051         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63052         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63053         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63054         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63055         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63057         ... here.
63058         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63060         ... here.
63061         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63063         ... here.
63064         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63066         ... here.
63067         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63069         ... here.
63070         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63072         ... here.
63073         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63075         ... here.
63076         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63079         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63080         definitions to architecture-specific files.
63081         (TLS_IE): Likewise.
63082         (TLS_LD): Likewise.
63083         (TLS_GD): Likewise.
63084         * sysdeps/i386/tls-macros.h: New file.
63085         * sysdeps/powerpc/tls-macros.h: Likewise.
63086         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63087         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63088         * sysdeps/sh/tls-macros.h: Likewise.
63089         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63090         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63091         * sysdeps/x86_64/tls-macros.h: Likewise.
63093 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63095         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63096         zero value for regular exit case.
63098         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63099         (__start_context): Preserve zero value for regular exit case.
63101 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63102             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63104         * manual/setjmp.texi (setcontext): Clarify normal process
63105         termination when uc_link is the null pointer.
63106         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63107         exit call.
63109 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63111         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63112         preprocessor.  Test for each exception mask separately.
63114 2012-07-16  Andreas Jaeger  <aj@suse.de>
63116         * po/ru.po: Update from translation team.
63118 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63120         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63121         equal to 0.
63122         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63123         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63124         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63125         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63126         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63128 2012-07-13  Andreas Jaeger  <aj@suse.de>
63130         * po/fr.po: Update from translation team.
63132 2012-07-12  Marek Polacek  <polacek@redhat.com>
63134         [BZ #14173]
63135         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63136         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63137         loop condition.
63139 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63141         [BZ #13717]
63142         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63143         Change to 2.4.1 where previously 2.4.0.
63144         * sysdeps/unix/sysv/linux/configure: Regenerated.
63145         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63146         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63147         version.
63148         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63149         (__ASSUME_AT_CLKTCK): Remove.
63150         (__ASSUME_AT_PAGESIZE): Likewise.
63151         (__ASSUME_AT_XID): Likewise.
63152         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63153         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63154         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63155         unconditionally.
63156         (HAVE_AUX_PAGESIZE): Likewise.
63157         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63158         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63159         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63161 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63163         [BZ #14307]
63164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63165         the temporary buffer used to invoke __gethostbyname2_r,
63166         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63167         host_data / struct gaih_addrtuple.
63168         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63169         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63170         header file nss/nsswitch.h.
63171         * nss/nsswitch.h (global scope): Add definition of implementation
63172         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63173         resolv/nss_dns/dns-host.c).
63175 2012-07-11  Andreas Jaeger  <aj@suse.de>
63177         * po/fr.po: Update from translation team.
63179         * po/sv.po: Update from translation team
63180         * po/fr.po: Another update from translation team.
63182 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63184         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63185         for subnormals or multiply small sinh result by itself.
63186         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63189 2012-07-11  David S. Miller  <davem@davemloft.net>
63191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63193 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63195         [BZ #14347]
63196         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63197         (INTERNAL_MARK): Shift it here.
63199 2012-07-10  Marek Polacek  <polacek@redhat.com>
63201         [BZ #14151]
63202         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63203         libc_cv_asm_global_directive with .globl.
63204         * configure: Regenerated.
63205         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63206         with .globl.
63207         * sysdeps/i386/configure: Regenerated.
63208         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63209         with .globl.
63210         * sysdeps/x86_64/configure: Regenerated.
63211         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63212         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63213         * elf/tst-unique2mod2.c: Likewise.
63214         * elf/tst-unique2mod1.c: Likewise.
63215         * elf/tst-unique1mod2.c: Likewise.
63216         * elf/tst-unique1mod1.c: Likewise.
63217         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63218         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63219         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63220         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63221         * sysdeps/mach/sysdep.h: Likewise.
63222         * sysdeps/i386/sysdep.h: Likewise.
63223         * sysdeps/i386/i386-mcount.S: Likewise.
63224         * sysdeps/x86_64/_mcount.S: Likewise.
63225         * sysdeps/x86_64/sysdep.h: Likewise.
63226         * sysdeps/sh/_mcount.S: Likewise.
63227         * sysdeps/sh/sysdep.h: Likewise.
63228         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63229         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63230         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63231         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63232         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63233         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63234         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63235         * locale/localeinfo.h: Likewise.
63236         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63237         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63239 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63241         [BZ #14336]
63242         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63243         system".
63244         * manual/message.texi (The Uniforum approach): Likewise.
63245         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63246         (glibc iconv Implementation): Likewise.
63248 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63250         [BZ #14337]
63251         * math/s_clog.c (__clog): Avoid scaling a value down where that
63252         could result in underflow.
63253         * math/s_clog10.c (__clog10): Likewise.
63254         * math/s_clog10f.c (__clog10f): Likewise.
63255         * math/s_clog10l.c (__clog10l): Likewise.
63256         * math/s_clogf.c (__clogf): Likewise.
63257         * math/s_clogl.c (__clogl): Likewise.
63258         * math/libm-test.inc (clog_test): Add more tests.
63259         (clog10_test): Likewise.
63260         * sysdeps/i386/fpu/libm-test-ulps: Update.
63261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63263 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63265         [BZ #14283]
63266         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63267         by 7 not 8 to examine high bit of fractional part.
63269         [BZ #14042]
63270         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63271         for call to __mcount_internal.
63272         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63273         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63274         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63276 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63278         [BZ #14154]
63279         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63280         approximation for values within 0x1p-13f of an odd multiple of
63281         pi/4.
63282         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63283         exception.  Add more tests.
63284         * sysdeps/i386/fpu/libm-test-ulps: Update.
63286         [BZ #6778]
63287         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63288         inputs and return -1 for them.  Do not check for +Inf in case not
63289         reachable for +Inf.
63290         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63291         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63292         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63293         and return -1 for them.  Do not check for +Inf in case not
63294         reachable for +Inf.
63295         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63296         define.
63297         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63298         and return -1 for them.  Do not check for +Inf in case not
63299         reachable for +Inf.
63300         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63301         spurious underflow.
63302         * sysdeps/i386/fpu/libm-test-ulps: Update.
63303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63305 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63307         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63309 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63311         [BZ #14157]
63312         [BZ #14331]
63313         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63314         could result in spurious underflow.  Scale down values above
63315         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63316         * math/s_csqrtf.c (__csqrtf): Likewise.
63317         * math/s_csqrtl.c (__csqrtl): Likewise.
63318         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63319         spurious underflow.
63320         * sysdeps/i386/fpu/libm-test-ulps: Update.
63321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63323 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63325         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63326         xopen-msg.sed.
63327         * catgets/xopen-msg.awk: New file.
63328         * catgets/xopen-msg.sed: Removed.
63330         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63331         po2text.sed.
63332         * intl/po2test.awk: New file.
63333         * intl/po2test.sed: Removed.
63335 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63337         [BZ #14328]
63338         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63339         or multiply small sinh result by itself.
63340         * math/s_ctanf.c (__ctanf): Likewise.
63341         * math/s_ctanh.c (__ctanh): Likewise.
63342         * math/s_ctanhf.c (__ctanhf): Likewise.
63343         * math/s_ctanhl.c (__ctanhl): Likewise.
63344         * math/s_ctanl.c (__ctanl): Likewise.
63345         * math/libm-test.inc (ctan_test_tonearest): New function.
63346         (ctan_test_towardzero): Likewise.
63347         (ctan_test_downward): Likewise.
63348         (ctan_test_upward): Likewise.
63349         (ctanh_test_tonearest): Likewise.
63350         (ctanh_test_towardzero): Likewise.
63351         (ctanh_test_downward): Likewise.
63352         (ctanh_test_upward): Likewise.
63353         (main): Call these new functions.
63354         * sysdeps/i386/fpu/libm-test-ulps: Update.
63355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63357 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63359         * .gitignore: Delete /ports entry.
63361 2012-07-03  Andreas Jaeger  <aj@suse.de>
63363         * po/bg.po: Update from translation team.
63364         * po/cs.po: Likewise.
63365         * po/de.po: Likewise.
63366         * po/hr.po: Likewise.
63367         * po/nl.pl: Likewise.
63368         * po/pl.po: Likewise.
63369         * po/vi.po: Likewise.
63371 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63373         * Makeconfig [!+link] (+link-before-libc): New variable.
63374         [!+link] (+link-after-libc): Likewise.
63375         [!+link] (+link-tests): Likewise.
63376         [!+link] (+link): Define in terms of $(+link-before-libc) and
63377         $(+link-after-libc).
63378         [!+link-static] (+link-static-before-libc): New variable.
63379         [!+link-static] (+link-static-after-libc): Likewise.
63380         [!+link-static] (+link-static-tests): Likewise.
63381         [!+link-static] (+link-static): Define in terms of
63382         $(+link-static-before-libc) and $(+link-static-after-libc).
63383         [build-shared] (link-libc-before-gnulib): New variable.
63384         [build-shared] (link-libc-tests): Likewise.
63385         [build-shared] (link-libc): Define in terms of
63386         $(link-libc-before-gnulib).
63387         [!build-shared] (link-libc-tests): New variable.
63388         (link-libc-static-tests): New variable.
63389         [!gnulib] (gnulib-arch): New variable.
63390         [!gnulib] (gnulib-tests): Likewise.
63391         [!gnulib] (static-gnulib-arch): Likewise.
63392         [!gnulib] (static-gnulib-tests): Likewise.
63393         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63394         Define with "=" instead of ":=".
63395         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63396         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63397         * Rules (binaries-all-notests): New variable.
63398         (binaries-all-tests): Likewise.
63399         (binaries-static-notests): Likewise.
63400         (binaries-static-tests): Likewise.
63401         (binaries-all): Define using $(binaries-all-notests) and
63402         $(binaries-all-tests).
63403         (binaries-static): Define using $(binaries-static-notests) and
63404         $(binaries-static-tests).
63405         (binaries-shared-tests): New variable.
63406         (binaries-shared-notests): Likewise.
63407         (binaries-shared): Remove variable.
63408         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63409         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63410         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63411         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63412         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63413         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63414         * elf/Makefile (sln-modules): New variable.
63415         (extra-objs): Add $(sln-modules:=.o).
63416         (ldconfig-modules): Add static-stubs.
63417         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63418         * elf/static-stubs.c: New file.
63420         [BZ #14283]
63421         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63422         by 7 not 8 to examine high bit of fractional part.  Use volatile
63423         variables when splitting into final array of floats if
63424         __FLT_EVAL_METHOD__ != 0.
63425         * math/libm-test.inc (cos_test): Add another test.
63426         (sin_test): Likewise.
63427         * sysdeps/i386/fpu/libm-test-ulps: Update.
63429         [BZ #14273]
63430         * math/libm-test.inc (cosh_test): Add more tests.
63432         * version.h (RELEASE): Set to "development".
63433         (VERSION): Set to "2.16.90".
63435 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63437         * NEWS: Update copyright. Remove last-updated date.
63438         Mention math library bug fixes and timezone data changes.
63439         * README: Mention GNU/Hurd, x32, and HPPA support status.
63441 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63443         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63445 2012-06-27  Andreas Jaeger  <aj@suse.de>
63447         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63449 2012-06-25  Andreas Jaeger  <aj@suse.de>
63451         * sysdeps/s390/fpu/libm-test-ulps: Update.
63453 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63454             Thomas Schwinge  <thomas@codesourcery.com>
63456         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63457         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63458         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63459         fanotify_mark.
63461 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63463         * sysdeps/mach/start.c: Remove file.
63464         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63465         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63466         * sysdeps/sh/init-first.c: Likewise.
63468         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63469         registers for frame unwinding purposes, add CFI directives.
63470         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63471         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63472         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63473         Likewise.
63475         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63476         __fortify_fail returning.
63477         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63479         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63480         sysdeps/sh/____longjmp_chk.S.
63481         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63482         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63483         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63484         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63486         * sysdeps/sh/abort-instr.h: New file.
63487         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63488         process in case exit returns.
63490         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63491         initialize the GOT register before use.
63493         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63494         calculation of ARGC > 4.
63496         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63497         meaningful names to some local labels.
63499 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63500             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63502         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63503         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63504         (__arch_compare_and_exchange_val_16_acq): Likewise.
63505         (__arch_compare_and_exchange_val_32_acq): Likewise.
63506         (atomic_exchange_and_add): Fix gUSA sequence.
63507         (atomic_add): Likewise.
63508         (atomic_add_negative): Likewise.
63509         (atomic_add_zero): Likewise.
63510         (atomic_bit_test_set): Likewise.
63512 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63514         [BZ #13579]
63515         * include/link.h (struct link_map): Add l_free_initfini.
63516         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63517         l_initfini.
63518         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63519         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63520         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63521         set.
63523 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63525         * configure.in: Use AC_LANG_SOURCE.
63526         * configure: Regenerate.
63528 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63530         * configure.in (libc_cv_localstatedir): New substituted variable.
63531         * configure: Regenerated.
63532         * config.make.in (localstatedir): New variable, substituted from
63533         libc_cv_localstatedir.
63534         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63535         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63536         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63537         * sysdeps/gnu/configure: Regenerated.
63539 2012-06-21  Jeff Law  <law@redhat.com>
63541         [BZ #14277]
63542         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63543         free.  Simplify list management for _LIBC case.
63545 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63547         [BZ #14273]
63548         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63549         Clear sign bit of 64-bit integer value before comparing against
63550         overflow value.
63552         * sysdeps/mach/configure: Regenerated.
63554 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63556         [BZ #14278]
63557         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63559 2012-06-21  Jeff Law  <law@redhat.com>
63561         [BZ #13882]
63562         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63563         uint16_t for elements in the "seen" array to avoid char overflows.
63564         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63565         * elf/dl-open.c (dl_open_worker): Likewise.
63567 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63569         * scripts/list-sources.sh: Scan PORTS for translations.
63570         * po/libc.pot: Regenerated.
63572 2012-06-21  Andreas Jaeger  <aj@suse.de>
63574         [BZ #12194]
63575         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63576         warning.
63577         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63578         * bits/byteswap-16.h (__bswap_16): Likewise.
63579         * bits/byteswap.h (__bswap_constant_16): Likewise.
63581 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63583         [BZ #14117]
63584         * sysdeps/i386/fpu_control.h: Removed.
63585         * sysdeps/x86_64/fpu_control.h: Moved to ...
63586         * sysdeps/x86/fpu_control.h: Here.
63588         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63589         (_FPU_SETCW): Likewise.
63591 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63593         [BZ #14117]
63594         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63595         * sysdeps/x86/fpu/bits/mathinline.h: This.
63596         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63598         [BZ #14050]
63599         [BZ #14117]
63600         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63601         functions if __x86_64__ is defined.
63603 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63605         * string/endian.h: Add !__ASSEMBLER__ condition for including
63606         conversion interfaces.
63608 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63610         [BZ #14241]
63611         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63612         of ABS(x) in calculating zero to negative powers other than odd
63613         integers.
63614         * math/libm-test.inc (pow_test): Add more tests.
63616 2012-06-15  Andreas Jaeger  <aj@suse.de>
63618         * manual/contrib.texi (Contributors): Update entry of Liubov
63619         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63620         Machado Filho.
63622 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63624         * string/string.h: Add __wur to GNU version of strerror_r.
63626 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63628         [BZ #14229]
63629         * string/Makefile (tests): Add tst-strtok_r.
63630         * string/tst-strtok_r.c: New file.
63631         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63632         RAX_LP/RDX_LP on SAVE_PTR.
63634 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63636         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63638 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63640         * libm_test.inc (csqrt_test): Allow more spurious underflow
63641         exceptions.
63642         (j0_test): Likewise.
63643         (j1_test): Likewise.
63644         (y0_test): Likewise.
63645         (y1_test): Likewise.
63647 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63649         * po/Makefile (libc.pot): Use UTF-8 charset.
63651 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63653         [BZ #14210]
63654         Suppress sign-conversion warning from FD_SET.
63655         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63656         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63657         not unsigned long int.
63658         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63660 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63662         [BZ #14050]
63663         [BZ #14117]
63664         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63665         __extern_always_inline instead of __extern_inline.
63666         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63667         (__signbit): Likewise.
63668         (__signbitl): Support C++ namespace.
63669         (lrintf): New inline function.
63670         (lrint): Likewise.
63671         (llrintf): Likewise.
63672         (llrint): Likewise.
63673         (fmaxf): Likewise.
63674         (fmax): Likewise.
63675         (fminf): Likewise.
63676         (fmin): Likewise.
63677         (rint): Likewise.
63678         (rintf): Likewise.
63679         (ceil): Likewise.
63680         (ceilf): Likewise.
63681         (floor): Likewise.
63682         (floorf): Likewise.
63683         (nearbyint): Likewise.
63684         (nearbyintf): Likewise.
63686 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63688         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63689         non-default versions.
63691 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63693         [BZ #14218]
63694         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63696 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63698         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63699         (FE_UPWARD, FE_DOWNWARD): Don't define.
63700         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63701         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63703         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63704         reading it.
63705         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63706         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63708 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63710         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63711         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63712         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63713         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63715 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63717         [BZ #14117]
63718         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63719         * sysdeps/i386/fpu/Implies: New file.
63720         * sysdeps/x86_64/fpu/Implies: Likewise.
63721         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63722         * sysdeps/x86/fpu/bits/fenv.h: This.
63724         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63725         __SSE_MATH__.
63727 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63729         [BZ #14134]
63730         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63731         character 0xffff that matches the last element of the
63732         conversion table.
63734 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63736         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63737         fmodl commit.
63739 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63741         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63742         values higher than 25.6283.
63744 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63746         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63747         subnormal exponent extraction and add some __builtin_expect.
63748         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63749         Fix for subnormal mantissa calculation.
63751 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63753         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63754         cpu2 is -1 and errno is not ENOSYS.
63756 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63758         [BZ #14117]
63759         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63760         * sysdeps/x86/bits/string.h: This.
63761         * sysdeps/x86_64/bits/string.h: Removed.
63763         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63764         if not compiling for x86-64, but compiling for >= i486.
63766         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63767         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63769         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63770         New macro from Linux kernel 3.4.0.
63771         (FP_XSTATE_MAGIC2): Likewise.
63772         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63773         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63774         (struct _fpx_sw_bytes): New struct.
63775         (struct _xsave_hdr): Likewise.
63776         (struct _ymmh_state): Likewise.
63777         (struct _xstate): Likewise.
63779         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63780         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63781         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63782         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63783         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63784         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63786         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63787         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63788         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63789         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63790         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63791         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63793 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63795         [BZ #13743]
63796         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63797         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63798         (sysdep_headers): Include sys/platform/ppc.h.
63799         * sysdeps/powerpc/test-gettimebase.c: Test for
63800         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63801         * manual/Makefile (appendices): Include platform.texi.
63802         * manual/contrib.texi (Contributors): Update @node pointers.
63803         * manual/maint.texi (Maintenance): Likewise.
63804         (Platform): New node.
63805         * manual/platform.texi: New file.  Document the new features.
63807 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63808             Jakub Jelinek  <jakub@redhat.com>
63810         [BZ #14188]
63811         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63812         where __builtin_expect is unavailable.
63814 2012-06-03  David S. Miller  <davem@davemloft.net>
63816         * stdlib/longlong.h: Updated from GCC.
63818 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63820         [BZ #14042]
63821         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63822         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63823         __mcount_internal.
63824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63825         (GLIBC_2.16): Likewise.
63827 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63829         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63831 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63834         (default-abi): New variable.
63835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63836         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63837         variable.
63838         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63839         Likewise.
63840         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63841         Likewise.
63842         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63843         Likewise.
63845         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63846         definition.  Document in comment.
63848 2012-06-01  David S. Miller  <davem@davemloft.net>
63850         * stdlib/longlong.h: Updated from GCC.
63852 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63854         [BZ #14117]
63855         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63856         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63857         sys/debugreg.h sys/io.h here.
63858         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63859         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63860         sys/io.h.
63861         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63862         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63863         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63864         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63865         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63866         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63868         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63869         Define only if __x86_64__ is defined.
63871 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63873         [BZ #14048]
63874         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63875         Use int64_t for variable i.
63876         * math/libm-test.inc (fmod_test): Add more tests.
63878         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63879         z computation is not scheduled after fetestexcept.
63880         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63881         Use math_force_eval instead of asm to ensure calculation scheduled
63882         before exception test.
63883         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63884         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63886 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63888         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63889         computation is not scheduled after fetestexcept.
63891 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63893         [BZ #14117]
63894         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63895         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63897 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63899         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63900         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63902 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63904         [BZ #14117]
63905         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63906         <bits/wordsize.h>.
63907         (__WCHAR_MIN): Support __WORDSIZE == 64.
63908         (__WCHAR_MAX): Likewise.
63910         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63911         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63913         [BZ #14183]
63914         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63915         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63917         [BZ #14117]
63918         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63919         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63921         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63922         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63924         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63925         Defined to 1 if __x86_64__ isn't defined.
63926         (_STAT_VER_LINUX_OLD): New.
63927         (st_atime): Remove duplicate.
63928         (st_mtime): Likewise.
63929         (st_ctime): Likewise.
63931 2012-05-31  David S. Miller  <davem@davemloft.net>
63933         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63934         entries.
63936 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63938         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63939         gen-libm-test.pl.
63941         [BZ #14132]
63942         * elf/dl-reloc.c: Include <_itoa.h>.
63943         (_dl_reloc_bad_type): Remove use of INTUSE.
63944         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63945         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63946         * stdio-common/psiginfo.c (psiginfo): Likewise.
63947         * stdio-common/psignal.c (psignal): Likewise.
63948         * string/strsignal.c (strsignal): Likewise.
63949         * include/signal.h (_sys_siglist): Declare hidden proto.
63950         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63951         INTVARDEF with libc_hidden_data_def.
63952         * stdio-common/itoa-udigits.c: Likewise.
63953         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63954         (_itoa_lower_digits_internal): Remove declaration.
63955         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63956         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63957         (_sys_sigabbrev_internal): Remove aliases.
63958         (_sys_siglist): Define hidden alias.
63960 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63962         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63963         bits/sysctl.h.
63965 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63967         [BZ #14117]
63968         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63969         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63971         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63972         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63973         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63974         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63975         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63976         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63978         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63979         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63980         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63982         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63983         with __addr.
63984         (insw): Likewise.
63985         (insl): Likewise.
63986         (outsb): Likewise.
63987         (outsw): Likewise.
63988         (outsl): Likewise.
63990         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63991         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63992         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63994         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63995         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63996         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63997         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63998         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63999         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64001         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64002         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64004         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64005         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64007         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64008         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64009         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64011         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64012         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64013         to ...
64014         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64016         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64017         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64018         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64020         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64021         for x86-64.
64022         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64024 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64026         * math/math.h (M_El): Use two more decimal places.
64027         (M_LOG2El): Likewise.
64028         (M_LOG10El): Likewise.
64029         (M_LN2l): Likewise.
64030         (M_LN10l): Likewise.
64031         (M_PIl): Likewise.
64032         (M_PI_2l): Likewise.
64033         (M_PI_4l): Likewise.
64034         (M_1_PIl): Likewise.
64035         (M_2_PIl): Likewise.
64036         (M_2_SQRTPIl): Likewise.
64037         (M_SQRT2l): Likewise.
64038         (M_SQRT1_2l): Likewise.
64040 2012-05-31  David S. Miller  <davem@davemloft.net>
64042         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64043         values between float registers.
64044         * sysdeps/sparc/sparc64/memset.S: Likewise.
64045         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64047 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64049         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64050         -D_FORTIFY_SOURCE=1.
64051         (CPPFLAGS-tst-longjmp_chk.c): Define.
64052         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64053         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64054         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64055         CFLAGS-tst-wchar-h.c.
64057 2012-05-31  Marek Polacek  <polacek@redhat.com>
64059         [BZ #14132]
64060         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64061         __endmntent_internal): Remove declaration.
64062         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64063         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64064         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64066 2012-05-30  David S. Miller  <davem@davemloft.net>
64068         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64069         (___Q_simulate_exceptions): Use real FP ops rather than writing
64070         into the %fsr.
64071         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64072         Likewise.
64074 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64076         [BZ #14117]
64077         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64078         * sysdeps/x86/bits/xtitypes.h: This.
64080         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64081         * sysdeps/x86/bits/wordsize.h: This.
64083         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64084         * sysdeps/x86/bits/huge_vall.h: This.
64086         * sysdeps/i386/bits/select.h: Removed.
64087         * sysdeps/x86_64/bits/select.h: Renamed to ...
64088         * sysdeps/x86/bits/select.h: This.
64090         * sysdeps/i386/bits/setjmp.h: Removed.
64091         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64092         * sysdeps/x86/bits/setjmp.h: This.
64094         * sysdeps/i386/bits/mathdef.h: Removed.
64095         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64096         * sysdeps/x86/bits/mathdef.h: This.
64098 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64100         [BZ #14132]
64101         * include/sys/socket.h (__connect_internal)
64102         (__libc_sa_len_internal): Remove declaration.
64103         (__connect, __libc_sa_len): Declare hidden_proto.
64104         (SA_LEN): Remove use of INTUSE.
64105         * socket/connect.c: Add libc_hidden_def.
64106         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64107         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64108         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64109         alias.
64110         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64111         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64112         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64113         of adding _internal alias.
64115 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64117         [BZ #14117]
64118         * sysdeps/i386/bits/link.h: Removed.
64119         * sysdeps/i386/bits/linkmap.h: Likewise.
64120         * sysdeps/x86_64/bits/link.h: Renamed to ...
64121         * sysdeps/x86/bits/link.h: This.
64122         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64123         * sysdeps/x86/bits/linkmap.h: This.
64125         * sysdeps/i386/bits/endian.h: Removed.
64126         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64127         * sysdeps/x86/bits/endian.h: This.
64129         * sysdeps/i386/bits/byteswap.h: Removed.
64130         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64131         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64132         * sysdeps/x86/bits/byteswap.h: This.
64133         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64134         * sysdeps/x86/bits/byteswap-16.h: This.
64135         * sysdeps/i386/Implies: Add x86.
64136         * sysdeps/x86_64/Implies: Likewise.
64138 2012-05-30  David S. Miller  <davem@davemloft.net>
64140         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64141         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64142         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64143         (FP_TRAPPING_EXCEPTIONS): Define.
64144         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64145         (FP_TRAPPING_EXCEPTIONS): Define.
64146         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64147         subnormals only when inexact has been signalled or underflow
64148         exceptions are enabled.
64149         (_FP_PACK_CANONICAL): Likewise.
64151 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64153         [BZ #14183]
64154         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64155         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64157 2012-05-30  Richard Henderson  <rth@twiddle.net>
64159         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64160         with #ifndef NOT_IN_libc.
64162         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64163         marked to avoid plt entry.
64165 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64167         [BZ #14112]
64168         * Makeconfig (default-abi): New macro.
64169         (abi-includes): Likewise.
64170         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64171         $(abi-$(default-abi)-lib-soname) for soname if defined.
64172         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64173         abi-variants.
64174         * Makefile (installed-stubs): Likewise.
64175         * include/stubs-biarch.h: Removed.
64176         * scripts/lib-names.awk: Only handle one library at a time.
64177         * scripts/soversions.awk: Remove WORDSIZE support.
64178         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64179         entries.
64180         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64181         Removed.
64182         (syscall-list-default-condition): Likewise.
64183         (syscall-list-default-condition): Likewise.
64184         (syscall-list-includes): Likewise.
64185         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64186         syscall-list-* with abi-*.  Handle undefined abi-variants.
64187         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64188         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64189         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64190         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64191         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64192         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64193         Removed.
64194         (syscall-list-32-options): Likewise.
64195         (syscall-list-32-condition): Likewise.
64196         (syscall-list-64-options): Likewise.
64197         (syscall-list-64-condition): Likewise.
64198         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64199         macro.
64200         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64201         Renamed to ...
64202         (abi-*): This.
64203         (abi-64-ld-soname): New macro.
64204         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64205         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64206         Renamed to ...
64207         (abi-*): This.
64208         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64209         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64211 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64213         * sysdeps/unix/sysv/linux/kernel-features.h
64214         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64215         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64216         include <kernel-features.h>.
64217         [!__NR_ftruncate64]: Remove conditional code.
64218         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64219         [__NR_ftruncate64]: Make code unconditional.
64220         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64221         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64222         include <kernel-features.h>.
64223         [!__NR_ftruncate64]: Remove conditional code.
64224         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64225         [__NR_ftruncate64]: Make code unconditional.
64226         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64228         include <kernel-features.h>.
64229         [!__NR_ftruncate64]: Remove conditional code.
64230         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64231         [__NR_ftruncate64]: Make code unconditional.
64232         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64234         include <kernel-features.h>.
64235         [!__NR_ftruncate64]: Remove conditional code.
64236         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64237         [__NR_ftruncate64]: Make code unconditional.
64238         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64240         * configure.in (libc_cv_fpie): Weaken to a compile test using
64241         LIBC_TRY_CC_OPTION.
64242         * configure: Regenerated.
64244 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64250         Refreshed.
64251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64257         Refreshed.
64259 2012-05-27  David S. Miller  <davem@davemloft.net>
64261         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64262         (___Q_zero): New.
64263         (__Q_simulate_exceptions): Return void.  Change to simulate
64264         exceptions by writing into the %fsr.
64265         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64266         (__Qp_handle_exceptions): Likewise.
64267         (numbers): Delete.
64268         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64269         __Qp_handle_exceptions.
64270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64271         __Qp_handle_exceptions.
64272         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64273         as unused and give dummy FP_RND_NEAREST initializer.
64274         (FP_INHIBIT_RESULTS): Define.
64275         (___Q_simulate_exceptions): Update declaration.
64276         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64277         formatting.
64278         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64279         as unused and give dummy FP_RND_NEAREST initializer.
64280         (__Qp_handle_exceptions): Update declaration.
64281         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64282         formatting.
64284 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64286         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64287         the temporary FPU control word.
64288         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64289         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64290         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64291         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64292         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64293         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64294         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64295         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64296         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64297         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64298         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64300 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64302         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64303         fields.
64305 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64307         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64308         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64309         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64310         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64311         Likewise.
64312         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64313         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64314         Likewise.
64316 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64318         * po/h.po: Update from translation team.
64320 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64322         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64324         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64325         handling of denormals.
64326         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64327         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64328         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64329         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64330         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64331         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64332         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64333         Likewise.
64335 2012-05-26  Marek Polacek  <polacek@redhat.com>
64337         [BZ #14152]
64338         * math/libm-test.inc (fma_test): Don't always expect underflow
64339         exception.
64341 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64343         [BZ #12416]
64344         * elf/tst-execstack.c: Include stackinfo.h.
64345         (do_test): Adjust test case to ensure that pthread_getattr_np
64346         behaviour remains the same after marking stack executable.
64348 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64350         * sysdeps/unix/sysv/linux/kernel-features.h
64351         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64352         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64353         kernel-features.h.
64354         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64355         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64356         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64357         kernel-features.h.
64358         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64359         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64361 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64363         * configure.in: Define the default includes to being none.
64364         * configure: Regenerated.
64366 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64368         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64369         * sysdeps/x86_64/setjmp.S: Likewise.
64370         * sysdeps/i386/bsd-setjmp.S: Likewise.
64371         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64372         * sysdeps/i386/setjmp.S: Likewise.
64373         * sysdeps/i386/__longjmp.S: Likewise.
64374         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64375         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64377         * include/stap-probe.h: New file.
64378         * configure.in: Handle --enable-systemtap.
64379         * configure: Regenerated.
64380         * config.h.in (USE_STAP_PROBE): New #undef.
64381         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64382         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64383         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64385 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64387         [BZ #13717]
64388         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64389         to 2.4.0 where earlier.
64390         * sysdeps/unix/sysv/linux/configure: Regenerated.
64391         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64392         <kernel-features.h>.
64393         [__ASSUME_32BITUIDS]: Make code unconditional.
64394         [!__ASSUME_32BITUIDS]: Remove conditional code.
64395         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64396         <kernel-features.h>.
64397         [__ASSUME_32BITUIDS]: Make code unconditional.
64398         [!__ASSUME_32BITUIDS]: Remove conditional code.
64399         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64400         [__ASSUME_32BITUIDS]: Make code unconditional.
64401         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64402         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.c: Do not include
64415         <kernel-features.h>.
64416         [__ASSUME_32BITUIDS]: Make code unconditional.
64417         [!__ASSUME_32BITUIDS]: Remove conditional code.
64418         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64419         <kernel-features.h>.
64420         [__ASSUME_32BITUIDS]: Make code unconditional.
64421         [!__ASSUME_32BITUIDS]: Remove conditional code.
64422         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64423         <kernel-features.h>.
64424         [__ASSUME_32BITUIDS]: Make code unconditional.
64425         [!__ASSUME_32BITUIDS]: Remove conditional code.
64426         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64427         <kernel-features.h>.
64428         [__ASSUME_32BITUIDS]: Make code unconditional.
64429         [!__ASSUME_32BITUIDS]: Remove conditional code.
64430         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64431         <kernel-features.h>.
64432         [__ASSUME_32BITUIDS]: Make code unconditional.
64433         [!__ASSUME_32BITUIDS]: Remove conditional code.
64434         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64435         <kernel-features.h>.
64436         [__ASSUME_32BITUIDS]: Make code unconditional.
64437         [!__ASSUME_32BITUIDS]: Remove conditional code.
64438         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64439         <kernel-features.h>.
64440         [__ASSUME_32BITUIDS]: Make code unconditional.
64441         [!__ASSUME_32BITUIDS]: Remove conditional code.
64442         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64443         <kernel-features.h>.
64444         [__NR_setresgid] (__setresgid): Do not declare.
64445         [__ASSUME_32BITUIDS]: Make code unconditional.
64446         [!__ASSUME_32BITUIDS]: Remove conditional code.
64447         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64448         <kernel-features.h>.
64449         [__NR_setresuid] (__setresuid): Do not declare.
64450         [__ASSUME_32BITUIDS]: Make code unconditional.
64451         [!__ASSUME_32BITUIDS]: Remove conditional code.
64452         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/i386/setgroups.c: Do not include
64465         <kernel-features.h>.
64466         [__ASSUME_32BITUIDS]: Make code unconditional.
64467         [!__ASSUME_32BITUIDS]: Remove conditional code.
64468         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64469         <kernel-features.h>.
64470         [__ASSUME_32BITUIDS]: Make code unconditional.
64471         [!__ASSUME_32BITUIDS]: Remove conditional code.
64472         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64473         <kernel-features.h>.
64474         [__ASSUME_32BITUIDS]: Make code unconditional.
64475         [!__ASSUME_32BITUIDS]: Remove conditional code.
64476         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64477         <kernel-features.h>.
64478         [__ASSUME_32BITUIDS]: Make code unconditional.
64479         [!__ASSUME_32BITUIDS]: Remove conditional code.
64480         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64481         <kernel-features.h>.
64482         [__ASSUME_32BITUIDS]: Make code unconditional.
64483         [!__ASSUME_32BITUIDS]: Remove conditional code.
64484         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64485         <kernel-features.h>.
64486         [__ASSUME_32BITUIDS]: Make code unconditional.
64487         [!__ASSUME_32BITUIDS]: Remove conditional code.
64488         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64489         <kernel-features.h>.
64490         [__ASSUME_32BITUIDS]: Make code unconditional.
64491         [!__ASSUME_32BITUIDS]: Remove conditional code.
64492         * sysdeps/unix/sysv/linux/kernel-features.h
64493         (__ASSUME_SETRESUID_SYSCALL): Remove.
64494         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64495         (__ASSUME_32BITUIDS): Likewise.
64496         (__ASSUME_LDT_WORKS): Likewise.
64497         (__ASSUME_O_DIRECTORY): Likewise.
64498         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64499         architecture but not kernel version.
64500         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64501         (__ASSUME_MMAP2_SYSCALL): Likewise.
64502         (__ASSUME_STAT64_SYSCALL): Likewise.
64503         (__ASSUME_IPC64): Likewise.
64504         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64505         <kernel-features.h>.
64506         [__ASSUME_32BITUIDS]: Make code unconditional.
64507         [!__ASSUME_32BITUIDS]: Remove conditional code.
64508         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64509         <kernel-features.h>.
64510         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64511         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64512         132096]: Remove conditional code.
64513         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64514         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64515         <kernel-features.h>.
64516         [__ASSUME_32BITUIDS]: Make code unconditional.
64517         [!__ASSUME_32BITUIDS]: Remove conditional code.
64518         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64519         <kernel-features.h>.
64520         [__ASSUME_32BITUIDS]: Make code unconditional.
64521         [!__ASSUME_32BITUIDS]: Remove conditional code.
64522         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64523         <kernel-features.h>.
64524         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64525         unconditional.
64526         (__setresgid): Do not declare.
64527         [__ASSUME_32BITUIDS]: Make code unconditional.
64528         [!__ASSUME_32BITUIDS]: Remove conditional code.
64529         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64530         <kernel-features.h>.
64531         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64532         unconditional.
64533         (__setresuid): Do not declare.
64534         [__ASSUME_32BITUIDS]: Make code unconditional.
64535         [!__ASSUME_32BITUIDS]: Remove conditional code.
64536         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64537         <kernel-features.h>.
64538         [__ASSUME_32BITUIDS]: Make code unconditional.
64539         [!__ASSUME_32BITUIDS]: Remove conditional code.
64540         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64541         <kernel-features.h>.
64542         [__ASSUME_32BITUIDS]: Make code unconditional.
64543         [!__ASSUME_32BITUIDS]: Remove conditional code.
64545 2012-05-25  Richard Henderson  <rth@twiddle.net>
64547         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64548         dl_hwcap to ifunc resolver.
64549         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64550         elf_ifunc_invoke.
64551         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64552         dl_hwcap to ifunc resolver.
64553         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64555 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64557         [BZ #14153]
64558         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64559         for |x| <= 2**-26, not 2**-57.
64560         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64561         exception.
64563 2012-05-24  Jeff Law  <law@redhat.com>
64565         * stdio-common/Makefile (tests): Add bug25.
64566         * stdio-common/bug25.c: New test.
64568 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64570         [BZ #13576]
64571         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64572         multiple of MALLOC_ALIGNMENT in size.
64573         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64575 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64577         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64578         Require >= 256.
64579         (FILENAME_MAX): Use macro-int-constant.
64580         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64581         (_IOFBF): Use macro-int-constant.
64582         (_IOLBF): Likewise.
64583         (_IONBF): Likewise.
64584         (SEEK_CUR): Likewise.
64585         (SEEK_END): Likewise.
64586         (SEEK_SET): Likewise.
64587         (TMP_MAX): Likewise.
64588         (EOF): Use macro-int-constant.  Require < 0.
64589         (NULL): Use macro-constant.  Require == 0.
64590         (stdin): Require type to be FILE *.
64591         (stdout): Likewise.
64592         (stderr): Likewise.
64593         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64594         macro-int-constant.
64595         (EXIT_SUCCESS): Likewise.
64596         (NULL): Use macro-constant.  Require == 0.
64597         (RAND_MAX): Use macro-int-constant.
64598         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64599         [C99-based standards] (strtof): Require function.
64600         [C99-based standards] (strtold): Likewise.
64601         [C99-based standards] (strtoll): Likewise.
64602         [C99-based standards] (strtoull): Likewise.
64603         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64604         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64605         [ISO || ISO99 || ISO11] (math.h): Likewise.
64606         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64607         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64608         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64610 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64612         [BZ #14132]
64613         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64614         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64615         * intl/dgettext.c (DCGETTEXT): Likewise.
64616         * intl/gettext.c (DCGETTEXT): Likewise.
64617         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64618         * posix/regex_internal.h (gettext): Likewise.
64619         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64620         Remove declaration.
64621         * include/argz.h (__argz_count_internal)
64622         (__argz_stringify_internal): Remove declaration.
64623         (__argz_count, __argz_stringify): Declare hidden proto.
64624         * intl/dcgettext.c: Remove use of INTDEF.
64625         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64626         * string/argz-stringify.c: Likewise.
64627         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64628         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64629         Declare hidden proto.
64630         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64631         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64632         Declare hidden proto.
64633         * include/stdio.h (__asprintf_internal): Don't declare.
64634         (__asprintf): Don't define as macro.  Declare hidden proto.
64635         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64636         (__fsetlocking): Declare hidden proto.
64637         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64638         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64639         hidden proto.
64640         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64641         (_IO_setlinebuf): Remove use of INTUSE.
64642         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64643         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64644         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64645         Remove declaration.
64646         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64647         (_IO_do_flush): Remove use of INTUSE.
64648         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64649         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64650         (_IO_adjust_column, _IO_least_wmarker)
64651         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64652         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64653         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64654         (_IO_default_doallocate, _IO_wdefault_doallocate)
64655         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64656         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64657         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64658         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64659         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64660         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64661         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64662         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64663         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64664         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64665         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64666         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64667         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64668         proto.
64669         (_IO_flush_all_internal, _IO_adjust_column_internal)
64670         (_IO_default_uflow_internal, _IO_default_finish_internal)
64671         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64672         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64673         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64674         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64675         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64676         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64677         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64678         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64679         (_IO_file_close_internal, _IO_file_close_it_internal)
64680         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64681         (_IO_file_init_internal, _IO_file_attach_internal)
64682         (_IO_file_fopen_internal, _IO_file_read_internal)
64683         (_IO_file_sync_internal, _IO_file_seek_internal)
64684         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64685         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64686         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64687         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64688         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64689         (_IO_list_all_internal, _IO_link_in_internal)
64690         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64691         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64692         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64693         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64694         (_IO_do_write_internal, _IO_padn_internal)
64695         (_IO_getline_info_internal, _IO_getline_internal)
64696         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64697         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64698         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64699         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64700         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64701         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64702         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64703         with libc_hidden_ver, remove use of INTUSE.
64704         * libio/genops.c: Likewise.
64705         * libio/freopen.c: Likewise.
64706         * libio/freopen64.c: Likewise.
64707         * libio/iofclose.c: Likewise.
64708         * libio/iofdopen.c: Likewise.
64709         * libio/iofflush.c: Likewise.
64710         * libio/iofflush_u.c: Likewise.
64711         * libio/iofgets.c: Likewise.
64712         * libio/iofgets_u.c: Likewise.
64713         * libio/iofopen.c: Likewise.
64714         * libio/iofopncook.c: Likewise.
64715         * libio/iofread.c: Likewise.
64716         * libio/iofread_u.c: Likewise.
64717         * libio/ioftell.c: Likewise.
64718         * libio/iofwrite.c: Likewise.
64719         * libio/iogetline.c: Likewise.
64720         * libio/iogets.c: Likewise.
64721         * libio/iogetwline.c: Likewise.
64722         * libio/iopadn.c: Likewise.
64723         * libio/iopopen.c: Likewise.
64724         * libio/ioseekoff.c: Likewise.
64725         * libio/ioseekpos.c: Likewise.
64726         * libio/iosetbuffer.c: Likewise.
64727         * libio/iosetvbuf.c: Likewise.
64728         * libio/ioungetc.c: Likewise.
64729         * libio/ioungetwc.c: Likewise.
64730         * libio/iovdprintf.c: Likewise.
64731         * libio/iovsprintf.c: Likewise.
64732         * libio/iovsscanf.c: Likewise.
64733         * libio/memstream.c: Likewise.
64734         * libio/obprintf.c: Likewise.
64735         * libio/oldfileops.c: Likewise.
64736         * libio/oldiofclose.c: Likewise.
64737         * libio/oldiofdopen.c: Likewise.
64738         * libio/oldiofopen.c: Likewise.
64739         * libio/oldiopopen.c: Likewise.
64740         * libio/oldstdfiles.c: Likewise.
64741         * libio/putc.c: Likewise.
64742         * libio/setbuf.c: Likewise.
64743         * libio/setlinebuf.c: Likewise.
64744         * libio/stdfiles.c: Likewise.
64745         * libio/strops.c: Likewise.
64746         * libio/vasprintf.c: Likewise.
64747         * libio/vscanf.c: Likewise.
64748         * libio/vsnprintf.c: Likewise.
64749         * libio/vswprintf.c: Likewise.
64750         * libio/wfiledoalloc.c: Likewise.
64751         * libio/wfileops.c: Likewise.
64752         * libio/wgenops.c: Likewise.
64753         * libio/wmemstream.c: Likewise.
64754         * libio/wstrops.c: Likewise.
64755         * libio/__fpurge.c: Likewise.
64756         * libio/__fsetlocking.c: Likewise.
64757         * assert/assert.c: Likewise.
64758         * debug/fgets_chk.c: Likewise.
64759         * debug/fgets_u_chk.c: Likewise.
64760         * debug/fread_chk.c: Likewise.
64761         * debug/fread_u_chk.c: Likewise.
64762         * debug/gets_chk.c: Likewise.
64763         * debug/obprintf_chk.c: Likewise.
64764         * debug/vasprintf_chk.c: Likewise.
64765         * debug/vdprintf_chk.c: Likewise.
64766         * debug/vsnprintf_chk.c: Likewise.
64767         * debug/vsprintf_chk.c: Likewise.
64768         * malloc/mtrace.c: Likewise.
64769         * misc/error.c: Likewise.
64770         * misc/syslog.c: Likewise.
64771         * stdio-common/asprintf.c: Likewise.
64772         * stdio-common/fxprintf.c: Likewise.
64773         * stdio-common/getw.c: Likewise.
64774         * stdio-common/isoc99_fscanf.c: Likewise.
64775         * stdio-common/isoc99_scanf.c: Likewise.
64776         * stdio-common/isoc99_vfscanf.c: Likewise.
64777         * stdio-common/isoc99_vscanf.c: Likewise.
64778         * stdio-common/isoc99_vsscanf.c: Likewise.
64779         * stdio-common/printf-prs.c: Likewise.
64780         * stdio-common/printf_fp.c: Likewise.
64781         * stdio-common/printf_fphex.c: Likewise.
64782         * stdio-common/printf_size.c: Likewise.
64783         * stdio-common/putw.c: Likewise.
64784         * stdio-common/scanf.c: Likewise.
64785         * stdio-common/sprintf.c: Likewise.
64786         * stdio-common/tmpfile.c: Likewise.
64787         * stdio-common/vfprintf.c: Likewise.
64788         * stdio-common/vfscanf.c: Likewise.
64789         * stdlib/strfmon_l.c: Likewise.
64790         * sunrpc/openchild.c: Likewise.
64791         * sunrpc/xdr_stdio.c: Likewise.
64792         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64793         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64795 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64797         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64799         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64800         in the third column, to generate for the shared library an IFUNC
64801         that uses _dl_vdso_vsym.
64802         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64803         * Makeconfig (object-suffixes-noshared): New variable.
64805         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64806         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64807         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64808         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64810         [BZ #14132]
64811         * include/sys/time.h (__gettimeofday): Remove macro.
64812         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64813         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64814         Remove INTDEF.
64815         (__gettimeofday): Add libc_hidden_def.
64816         (gettimeofday): Add libc_hidden_weak.
64817         * sysdeps/mach/gettimeofday.c: Likewise.
64818         * sysdeps/posix/gettimeofday.c: Likewise.
64819         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64820         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64821         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64822         (__gettimeofday_internal): Remove strong_alias.
64823         (__gettimeofday): Add libc_hidden_def.
64824         (gettimeofday): Add libc_hidden_weak.
64825         * sysdeps/unix/syscalls.list (gettimeofday):
64826         Remove __gettimeofday_internal alias.
64828 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64829             H.J. Lu  <hongjiu.lu@intel.com>
64831         [BZ #12495]
64832         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64833         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64834         (largebin_index_32_big): New.
64835         (largebin_index): Use it for 16-byte alignment.
64836         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64837         correction with front_misalign.
64839 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64843         Likewise.
64844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64845         Likewise.
64846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64847         Likewise.
64848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64849         Likewise.
64850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64851         Likewise.
64852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64853         Likewise.
64854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64855         Likewise.
64856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64857         Likewise.
64858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64859         Likewise.
64860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64861         Likewise.
64862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64863         Likewise.
64864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64865         Likewise.
64867         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64868         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64870 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64872         [BZ #10846]
64873         [BZ #14036]
64874         * math/libm-test.inc (exp_test): Add test from bug 14036.
64875         (pow_test): Add test from bug 10846.
64877         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64878         and other flags.
64879         (special_function): Do not include flags in test name.
64880         (parse_args): Likewise.
64881         * sysdeps/i386/fpu/libm-test-ulps: Update.
64882         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64883         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64884         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64887         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64888         exceptions.
64889         * math/libm-test.inc ("Philosophy"): Update comment about
64890         exception testing.
64891         (UNDERFLOW_EXCEPTION): New macro.
64892         (UNDERFLOW_EXCEPTION_OK): Likewise.
64893         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64894         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64895         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64896         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64897         (INVALID_EXCEPTION_OK): Update value.
64898         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64899         (OVERFLOW_EXCEPTION_OK): Likewise.
64900         (IGNORE_ZERO_INF_SIGN): Likewise.
64901         (test_exceptions): Handle underflow exceptions.
64902         (acos_test): Update for underflow exception expectations.
64903         (cexp_test): Likewise.
64904         (clog_test): Likewise.
64905         (clog10_test): Likewise.
64906         (csqrt_test): Likewise.
64907         (ctan_test): Likewise.
64908         (ctanh_test): Likewise.
64909         (exp_test): Likewise.
64910         (exp10_test): Likewise.
64911         (exp2_test): Likewise.
64912         (expm1_test): Likewise.
64913         (fma_test): Likewise.
64914         (j0_test): Likewise.
64915         (jn_test): Likewise.
64916         (nexttoward_test): Likewise.
64917         (pow_test): Likewise.
64918         (scalbn_test): Likewise.
64919         (scalbln_test): Likewise.
64920         (tan_test): Likewise.
64921         (y1_test): Likewise.
64922         * sysdeps/i386/fpu/libm-test-ulps: Update.
64923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64925 2012-05-23  David S. Miller  <davem@davemloft.net>
64927         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64928         (__libc_sigaction): Remove unused local variables.
64930 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64932         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64934 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64936         mktime: avoid signed integer overflow
64937         * time/mktime.c (__mktime_internal): Do not mishandle the case
64938         where diff == INT_MIN.
64940         mktime: simplify computation of average
64941         * time/mktime.c (ranged_convert): Use new time_t_avg function
64942         instead of rolling our own (probably-slower) code.
64944         mktime: do not assume signed right shift propagates sign bit
64945         * time/mktime.c (isdst_differ): New static function.
64946         (__mktime_internal): No need to normalize tm_isdst now.
64947         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64948         tm_isdst values.
64950         mktime: merge another wrapv change from gnulib
64951         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64952         from some compilers.
64954         mktime: remove incorrect attempt at unusual arithmetics
64955         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64956         The code didn't really work on such machines anyway.
64957         (TYPE_MINIMUM): Assume two's complement.
64958         (twos_complement_arithmetic): Verify that long_int and time_t
64959         are two's complement (or unsigned, in the latter case).
64961         mktime: check signed shifts on long_int and time_t, too
64962         * time/mktime.c (SHR): Check that shifts work as desired
64963         on the types long_int and time_t too, as SHR is used on
64964         such types.
64966         mktime: do not assume 'long' is wide enough
64967         * time/mktime.c (verify): Move decl up.
64968         (long_int): New type.
64969         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64970         to remove assumption in the code that 'long' is wide enough to
64971         store year values.  This assumption is not true on x32 and on
64972         some non-glibc platforms.
64974         mktime: merge wrapv change from gnulib
64975         * time/mktime.c (WRAPV): New macro.
64976         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64977         (guess_time_tm, __mktime_internal): Do not assume that signed
64978         integer overflow wraps around; modern compilers generate code
64979         where this assumption is no longer valid.
64981 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64983         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64984         Replace "jmp L(pseudo_end)" with "ret".
64985         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64986         Likewise.
64988 2012-05-23  Andreas Jaeger  <aj@suse.de>
64990         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64991         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64993 2012-05-23  Andreas Jaeger  <aj@suse.de>
64994             Maximilian Attems  <max@stro.at>
64996         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64997         New macros.
64999 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65001         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65002         code so that pseudo_end is just ret and the stack pointer is
65003         correct also for static library in error case.
65005 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65007         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65008         move to syscalls.list.
65009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65014         * manual/install.texi (Running make install): Do not mention Linux
65015         kernel version for which pt_chown is not needed.
65016         (Linux): Do not mention problems with nscd with 2.0 kernels.
65017         * INSTALL: Regenerated.
65019 2012-05-23  Andreas Jaeger  <aj@suse.de>
65021         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65022         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65023         macro.
65024         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65025         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65026         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65027         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65028         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65029         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65030         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65031         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65032         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65033         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65034         * sysdeps/unix/sysv/linux/bits/in.h
65035         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65037 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65039         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65040         (PREPARE_VERSION): Just use assert instead, it will be elided
65041         under [NDEBUG] anyway.
65043 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65045         * sysdeps/unix/sysv/linux/Makefile: Include
65046         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65047         (sysdep_routines): Remove sysctl.
65048         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65049         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65050         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65051         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65052         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65054 2012-05-22  Andreas Jaeger  <aj@suse.de>
65056         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65057         that pseudo_end is just ret and the stack pointer is correct also
65058         for static library in error case.
65060 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65062         [BZ #14122]
65063         * nss/nsswitch.c (defconfig_entries): New variable.
65064         (__nss_database_lookup): Don't leak defconfig entries.
65065         (nss_parse_service_list): Don't leak on error paths.
65066         (free_database_entries): New function.
65067         (free_defconfig): New function.
65068         (free_mem): Move common code to free_database_entries.
65070 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65072         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65073         Add arch_prctl.
65074         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65076         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65077         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65079         New macro.
65080         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65081         (INTERNAL_SYSCALL_TYPES): Likewise.
65082         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65083         (LOAD_REGS_TYPES_[1-6]): Likewise.
65084         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65085         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65087 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65089         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65090         copysignl for GLIBC_2_0.
65091         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65092         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65093         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65094         logbl for GLIBC_2_0.
65095         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65096         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65098 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65100         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65101         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65103         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65104         Use "neg %eax".
65106         * time/mktime.c: Update copyright years.
65108 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65110         mktime: merge comment-quoting-style change from gnulib
65111         * time/mktime.c: Quote 'like this' in comments.
65112         The GNU coding standards suggest that we no longer quote `like this',
65113         as "`" and "'" are typically rendered asymmetrically nowadays.
65114         The typical gnulib style is to quote 'like this' when quoting
65115         code, and "like this" when quoting English.
65117         * time/mktime.c (compile-command): Add "-I.".
65119         mktime: merge mktime-internal.h change from gnulib
65120         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65122         mktime: merge time_r change from gnulib
65123         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65125         mktime: merge DEBUG change from gnulib
65126         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65127         case system <time.h> has a #define.
65129         mktime: merge <sys/types.h> change from gnulib
65130         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65131         since <time.t> is now guaranteed to define time_t.
65133         mktime: merge HAVE_CONFIG_H change from gnulib
65134         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65136 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65138         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65139         Use "neg %eax".
65141         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65142         __rlim_t cast.
65143         (struct rusage): Use anonymous union to pad each field to
65144         __syscall_slong_t.
65146 2012-05-21  David S. Miller  <davem@davemloft.net>
65148         * Makefules (o-iterator): Remove .s cases.
65149         (compile-command.s): Delete.
65150         (COMPILE.s): Delete.
65151         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65153 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65155         * configure.in (libc_cv_predef_stack_protector): Only consider
65156         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65157         * configure: Regenerated.
65159 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65162         New macro.  Use R*LP on int and pointer.
65163         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65164         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65165         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65166         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65168         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65169         [__WORDSIZE_TIME64_COMPAT32] instead of
65170         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65171         (struct utmp): Likewise.
65172         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65173         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65174         Renamed to ...
65175         (__WORDSIZE_TIME64_COMPAT32): This.
65176         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65177         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65178         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65179         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65180         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65181         (__WORDSIZE_TIME64_COMPAT32): New macro.
65183 2012-05-21  Andreas Jaeger  <aj@suse.de>
65185         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65186         only if [SHARED]. Add prototype for __wcschr_ia32.
65188 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65190         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65191         of %rbp unmolested in the jmp_buf while mangling the low bits.
65192         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65193         unmolested high bits of %rbp while demangling the low bits.
65194         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65196 2012-05-21  Andreas Jaeger  <aj@suse.de>
65198         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65199         * sunrpc/svc_simple.c: Use it for registerrpc.
65200         * sunrpc/xcrypt.c: Use it for passwd2des.
65202         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65204 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65206         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65207         Don't define if [__SYSCALL_WORDSIZE != 32].
65208         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65209         New macro.
65211 2012-05-21  Bruno Haible  <bruno@clisp.org>
65212             Andreas Jaeger  <aj@suse.de>
65214         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65215         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65216         inptr and inend for must_buffer_ch.
65217         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65218         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65219         * stdio-common/Makefile (tests): Remove bug15.
65220         (bug15-ENV): Remove macro.
65221         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65222         anymore.
65224 2012-05-19  Andreas Jaeger  <aj@suse.de>
65225             Roland McGrath  <roland@hack.frob.com>
65227         * manual/contrib.texi: Completely rewritten. It contains now an
65228         alphabetical list of contributors and their contributions.
65230 2012-05-21  Richard Henderson  <rth@twiddle.net>
65232         * misc/getauxval.c (__getauxval): Use unsigned long int.
65233         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65234         (getauxval): Use unsigned long int.
65236 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65238         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65240 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65242         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65243         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65244         __alignof__ (long double).
65246 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65250 2012-05-20  Richard Henderson  <rth@twiddle.net>
65252         * misc/getauxval.c: New file.
65253         * misc/sys/auxv.h: New file.
65254         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65255         (routines): Add getauxval.
65256         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65257         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65258         * elf/dl-sysdep.c (_dl_auxv): Remove.
65259         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65260         * elf/dl-support.c (_dl_auxv): New variable.
65261         (_dl_aux_init): Initialize it.
65262         * manual/startup.texi (Auxiliary Vector): New node.
65263         * sysdeps/generic/bits/hwcap.h: New file.
65264         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65265         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65266         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65267         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65268         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65269         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65271         Update.
65272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65275         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65281 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65285 2012-05-19  David S. Miller  <davem@davemloft.net>
65287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65289 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65291         [BZ #14123]
65292         * math/s_ccosh.c: Include <float.h>
65293         (__ccosh): Avoid internal overflow calculating sinh and cosh
65294         values before multiplying by sin and cos values.
65295         * math/s_ccoshf.c: Likewise.
65296         * math/s_ccoshl.c: Likewise.
65297         * math/s_csin.c: Likewise.
65298         * math/s_csinf.c: Likewise.
65299         * math/s_csinl.c: Likewise.
65300         * math/s_csinh.c: Likewise.
65301         * math/s_csinhf.c: Likewise.
65302         * math/s_csinhl.c: Likewise.
65303         * math/libm-test.inc (ccos_test): Add more tests.
65304         (ccosh_test): Likewise.
65305         (csin_test): Likewise.
65306         (csinh_test): Likewise.
65307         * sysdeps/i386/fpu/libm-test-ulps: Update.
65308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65310 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65312         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65313         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65315         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65317 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65319         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65320         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65321         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65322         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65323         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65324         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65325         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65326         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65327         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65328         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65329         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65330         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65331         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65332         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65333         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65334         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65335         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65336         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65337         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65338         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65339         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65340         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65341         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65342         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65343         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65344         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65345         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65346         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65347         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65348         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65349         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65351 2012-05-18  Andreas Jaeger  <aj@suse.de>
65353         * csu/.gitignore: Delete.
65355 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65357         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65358         (timex): Use __syscall_slong_t.
65360 2012-05-18  Andreas Jaeger  <aj@suse.de>
65361             Carlos O'Donell  <carlos_odonell@mentor.com>
65363         * manual/install.texi (Configuring and compiling): Update
65364         description about files modified in the source directory.
65365         * INSTALL: Regenerated.
65367 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65369         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65370         value.  Use "or" to set return value to -1.
65371         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65372         negate return value.
65374 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65376         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65377         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65378         failure if the compiler has Graphite support disabled.
65379         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65380         Likewise.
65381         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65382         (CFLAGS-memmove.c): Likewise.
65383         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65384         Likewise.
65386 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65388         * sysdeps/x86_64/x32/_itoa.h: New file.
65390         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65391         getdents system call only if kernel and user dirents have the
65392         same d_ino and d_off.
65394         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65395         LLONG_MAX != LONG_MAX.
65396         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65397         (_fitoa_word): Likewise.
65399         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65400         years.
65401         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65402         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65403         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65405         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65406         include <bits/wordsize.h>.  Check __x86_64__ instead of
65407         __WORDSIZE.
65408         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65409         if __x86_64__ is defined.  Use anonymous union on fpstate.
65411         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65412         anonymous union.
65414 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65416         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65417         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65418         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65419         Refer to _rtld_local_ro instead of _rtld_global_ro.
65420         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65421         Likewise.
65422         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65423         Likewise.
65424         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65425         Likewise.
65426         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65427         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65428         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65430         [BZ #10882]
65431         * sysdeps/powerpc/powerpc32/dl-machine.c
65432         (__elf_machine_runtime_setup) [PROF]: Don't reference
65433         _dl_prof_resolve.
65435 2012-05-18  Andreas Jaeger  <aj@suse.de>
65437         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65438         function only available for GCCs before 3.4 since GCC 3.4
65439         introduced a builtin.
65440         (lrint): Likewise.
65441         (llrintf): Likewise.
65442         (llrint): Likewise.
65443         (fmaxf): Likewise.
65444         (fmax): Likewise.
65445         (fminf): Likewise.
65446         (fmin): Likewise.
65447         (rint): Likewise.
65448         (rintf): Likewise.
65449         (nearbyint): Likewise.
65450         (nearbyintf): Likewise.
65451         (ceil): Likewise.
65452         (ceilf): Likewise.
65453         (floor): Likewise.
65454         (floorf): Likewise.
65456 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65458         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65459         on both fields and cast pointer to __syscall_ulong_t.
65461         * bits/types.h (__fsword_t): New type.
65462         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65463         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65464         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65465         (__FSWORD_T_TYPE): Likewise.
65466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65467         (__FSWORD_T_TYPE): Likewise.
65468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65469         (__FSWORD_T_TYPE): Likewise.
65470         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65471         (__FSWORD_T_TYPE): Likewise.
65472         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65473         __SWORD_TYPE with __fsword_t.
65474         (statfs64): Likewise.
65476 2012-05-17  David S. Miller  <davem@davemloft.net>
65478         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65480 2012-05-17  Andreas Jaeger  <aj@suse.de>
65482         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65483         warning.
65485 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65487         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65489 2012-05-17  Andreas Jaeger  <aj@suse.de>
65491         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65492         when it is used.
65494 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65496         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65498 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65500         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65501         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65503 2012-05-17  Andreas Jaeger  <aj@suse.de>
65504             Carlos O'Donell  <carlos_odonell@mentor.com>
65506         [BZ #14059]
65507         * sysdeps/x86_64/multiarch/init-arch.h
65508         (bit_YMM_Usable): Rename to...
65509         (bit_AVX_Usable): ... this.
65510         (bit_FMA4_Usable): New macro.
65511         (bit_XMM_state): New macro.
65512         (bit_YMM_state): New macro.
65513         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65514         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65515         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65516         (CPUID_OSXSAVE): New macro.
65517         (CPUID_AVX): New macro.
65518         (CPUID_FMA4): New macro.
65519         (index_YMM_Usable): Rename to...
65520         (index_AVX_Usable): ... this.
65521         (HAS_AVX): Use HAS_ARCH_FEATURE.
65522         (HAS_FMA4): Likewise.
65523         (HAS_YMM_USABLE): Remove.
65524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65525         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65526         are present.
65527         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65528         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65529         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65530         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65531         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65533 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65535         * math/libm-test.c: Support platforms without multiple rounding modes.
65536         * math/bug-nextafter.c: Support platforms without FP exceptions.
65537         * math/bug-nexttoward.c: Likewise.
65538         * math/test-fenv.c: Likewise.
65539         * math/test-misc.c: Likewise.
65540         * stdlib/bug-getcontext.c: Likewise.
65542 2012-05-17  Andreas Jaeger  <aj@suse.de>
65544         * manual/examples/search.c (critter_cmp): Change signature to
65545         avoid warnings.
65546         * manual/string.texi (Collation Functions): Likewise.
65548 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65550         * bits/types.h: Fold copyright years.
65551         * bits/typesizes.h: Likewise.
65552         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65553         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65554         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65555         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65556         * time/time.h: Likewise.
65558 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65560         [BZ #208]
65561         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65562         in instead of returning them.  Return void.
65563         (__libc_mallinfo): Accumulate over all arenas.
65564         (__malloc_stats): Adjust for change in int_mallinfo interface.
65566 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65568         [BZ #10375]
65569         * configure.in (NM): Add AC_CHECK_TOOL for it.
65570         (libc_extra_cflags): New substituted variable.
65571         Check for -fstack-protector being used implicitly.
65572         * configure: Regenerated.
65573         * config.make.in (config-extra-cflags): New variable,
65574         gets @libc_extra_cflags@.
65575         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65577         [BZ #10375]
65578         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65579         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65580         * configure: Regenerated.
65581         * config.make.in (CPPUNDEFS): New substituted variable.
65582         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65583         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65584         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65586 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65588         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65589         (mq_attr): Use __syscall_slong_t.
65591 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65593         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65594         Check __x86_64__ instead of __WORDSIZE.
65595         (_STAT_VER_LINUX): Likewise.
65596         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65597         __syscall_ulong_t and __syscall_slong_t.
65598         (stat64): Likewise.
65600 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65602         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65604 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65606         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65610         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65611         __syscall_ulong_t.
65613         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65614         include <bits/wordsize.h>.  Check __x86_64__ instead of
65615         __WORDSIZE.
65616         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65617         defined.
65618         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65620         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65621         include <bits/wordsize.h>.  Check __x86_64__ instead of
65622         __WORDSIZE.
65623         (user_regs_struct): Use "__extension__ unsigned long long"
65624         instead of "unsigned long" if __x86_64__ is defined.
65625         (user): Likewise.  Pad after pointer field if __ILP32__ is
65626         defined.
65628 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65630         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65631         versions 5 to 9.
65632         * configure: Regenerated.
65633         * manual/install.texi (texinfo): Increase version requirement to
65634         4.5 or later.
65635         * INSTALL: Regenerated.
65637         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65639 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65641         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65643         * sysdeps/x86_64/x32/ffs.c: New file.
65645         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65646         __syscall_ulong_t.
65647         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65648         defined.  Use __syscall_ulong_t.
65649         (shminfo): Use __syscall_ulong_t.
65650         (shm_info): Likewise.
65652         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65653         __syscall_ulong_t.
65655         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65656         <bits/wordsize.h>.
65657         (msgqnum_t): Use __syscall_ulong_t.
65658         (msglen_t): Likewise.
65659         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65660         __syscall_ulong_t.
65662         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65663         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65665         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65667         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65668         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65670         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65671         __syscall_slong_t.
65673         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65674         include <bits/wordsize.h>.  Check __x86_64__ instead of
65675         __WORDSIZE.
65677         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65678         "unsigned long long int" if __x86_64__ is defined.
65679         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65681         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65682         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65683         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65685         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65686         <stdint.h>.
65687         (GET_PC): Cast to uintptr_t first.
65688         (GET_FRAME): Likewise.
65689         (GET_STACK): Likewise.
65691         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65692         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65693         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65694         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65695         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65696         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65697         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65698         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65699         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65700         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65701         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65702         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65703         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65704         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65705         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65706         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65707         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65708         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65709         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65710         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65711         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65712         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65713         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65714         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65715         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65716         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65717         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65718         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65719         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65721 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65723         * Makerules (+depfiles): Also collect depfiles from .oS in
65724         $(extra-objs).
65725         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65726         .oS, $(libnldbl-routines)).
65728         * Makerules (native-compile-mkdep-flags): Define.
65729         * sunrpc/Makefile (extra-objs): Add $(addprefix
65730         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65731         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65732         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65733         calling $(make-target-directory).
65735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65737         * bits/types.h (__snseconds_t): Removed.
65738         * time/time.h (struct timespec): Replace __snseconds_t with
65739         __syscall_slong_t.
65740         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65741         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65742         Likewise.
65743         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65744         (__SNSECONDS_T_TYPE): Likewise.
65745         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65746         (__SNSECONDS_T_TYPE): Likewise.
65747         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65748         (__SNSECONDS_T_TYPE): Likewise.
65750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65752         * sysdeps/mach/hurd/bits/typesizes.h
65753         (__SYSCALL_SLONG_TYPE): New macro.
65754         (__SYSCALL_ULONG_TYPE): Likewise.
65756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65758         * bits/types.h (__syscall_slong_t): New type.
65759         (__syscall_ulong_t): Likewise.
65761         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65762         (__SYSCALL_ULONG_TYPE): Likewise.
65763         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65764         (__SYSCALL_SLONG_TYPE): Likewise.
65765         (__SYSCALL_ULONG_TYPE): Likewise.
65766         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65767         (__SYSCALL_SLONG_TYPE): Likewise.
65768         (__SYSCALL_ULONG_TYPE): Likewise.
65769         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65770         (__SYSCALL_SLONG_TYPE): Likewise.
65771         (__SYSCALL_ULONG_TYPE): Likewise.
65773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65775         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65776         Add sigaltstack-offsets.sym.
65777         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65778         <sigaltstack-offsets.h>.
65779         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65780         longjmp_msg pointer.
65781         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65782         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65783         signal stack.
65784         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65786 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65788         * elf/stackguard-macros.h: Remove file.
65789         * sysdeps/generic/stackguard-macros.h: New file.
65790         * sysdeps/i386/stackguard-macros.h: Likewise.
65791         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65792         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65793         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65794         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65795         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65796         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65797         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65798         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65799         <elf/stackguard-macros.h>.
65801         [BZ #14109]
65802         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65803         __aligned__ in attribute.
65804         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65805         (gregset_t): Likewise.
65807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65809         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65810         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65811         * sysdeps/x86_64/x32/Implies-after: New file.
65813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65815         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65816         and access return value for _dl_profile_fixup.  Use R10_LP to
65817         load frame size.
65819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65821         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65825         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65826         * sysdeps/x86_64/x32/sysdep.h: New file.
65828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65830         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65831         * sysdeps/x86_64/setjmp.S: Likewise.
65833 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65835         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65836         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65837         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65838         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65839         remove unused global constant.
65841 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65843         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65844         include of <not-cancel.h>.
65846 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65848         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65850 2012-05-15  Jeff Law  <law@redhat.com>
65851             Andreas Jaeger  <aj@suse.de>
65853         [BZ #13594]
65854         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65855         out from...
65856         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65857         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65858         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65859         code changing __hst_map_handle.map.
65861 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65863         * configure.in (sysnames): Look for Implies-before and Implies-after
65864         files.
65865         * configure: Regenerated.
65867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65869         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65870         8-byte data alignment with LP_SIZE alignment.
65872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65874         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65875         into R10_LP.
65877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65879         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65883         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65884         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65885         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65886         Likewise.
65887         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65891         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65892         (stackinfo_sub_sp): Likewise.
65894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65896         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65897         RAX_LP.
65899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65901         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65902         into R*_LP.
65904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65906         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65907         sizes into R*_LP.
65909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65911         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65915         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65916         into R11_LP and load __x86_64_shared_cache_size_half into
65917         R8_LP.
65919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65921         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65922         R8_LP.
65924 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65926         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65927         logb for POWER7.
65928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65929         logbf for POWER7.
65930         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65931         logbl for POWER7.
65932         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65933         powerpc32/power7/fpu/s_logb.c via #include.
65934         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65935         powerpc32/power7/fpu/s_logbf.c via #include.
65936         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65937         powerpc32/power7/fpu/s_logbl.c via #include.
65939 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65941         * README.libm: Remove file.
65943 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65945         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65946         count for x32.  Use R*_LP and omit operand-size suffix.
65948 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65950         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65951         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65952         * sysdeps/x86_64/x32/shlib-versions: New file.
65954 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65956         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65957         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65958         Use _dl_fatal_printf instead.
65960 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65962         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65963         set if not set by the user.  Do not allow for being unset.
65964         * sysdeps/unix/sysv/linux/configure: Regenerated.
65966 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65968         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65969         the `q' suffix from lea and replace .quad with ASM_ADDR.
65971 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65974         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65975         instead of $17.
65976         (PTR_DEMANGLE): Likewise.
65978 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65980         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65981         (LP_OP): Likewise.
65982         (ASM_ADDR): Likewise.
65983         (RAX_LP): Likewise.
65984         (RBP_LP): Likewise.
65985         (RBX_LP): Likewise.
65986         (RCX_LP): Likewise.
65987         (RDI_LP): Likewise.
65988         (RSI_LP): Likewise.
65989         (RSP_LP): Likewise.
65990         (R8_LP): Likewise.
65991         (R9_LP): Likewise.
65992         (R10_LP): Likewise.
65993         (R10_LP): Likewise.
65994         (R11_LP): Likewise.
65995         (R12_LP): Likewise.
65996         (R13_LP): Likewise.
65997         (R14_LP): Likewise.
65998         (R15_LP): Likewise.
66000 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66002         * sysdeps/x86_64/x32/dl-machine.h: New file.
66004 2012-05-14  Andreas Jaeger  <aj@suse.de>
66006         * manual/Makefile (subdir): Remove export of subdir.
66007         (all): Remove target.
66008         (.PHONY): Remove all from list.
66009         (mkinstalldirs): Remove.
66010         (.PHONY): Remove installdirs from list.
66011         ($(inst_infodir)/libc.info): Use make-target-directory.
66012         (installdirs): Remove.
66013         (subdir_%): Remove.
66014         (glibc-targets): Remove.
66015         (lib): Remove.
66016         (stubs): Remove.
66017         ($(objpfx)stubs ../po/manual.pot): Remove.
66018         ($(objpfx)stamp%): Remove.
66019         (make-target-directory): Remove.
66020         (subdir_install): Remove.
66021         (routines): Remove.
66022         (aux): Remove.
66023         (sources): Remove.
66024         (objects): Remove.
66025         (headers): Remove.
66027         [BZ #13750]
66028         * manual/.gitignore: Remove, it's not needed anymore.
66029         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66030         all files in it.
66031         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66032         directory.
66033         (texis): Renamed to $(objpfx)texis.
66034         (texis-path): New, contains path to generated files.
66035         (chapters.%): Use texis-path for complete path, add extra argument
66036         libc-texinfo.sh.
66037         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66038         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66039         (summary,texi, stamp-summary): Use complete path of
66040         files. Generate files in build dir.
66041         (dir-add.texi): Build in build dir.
66042         (libm-err.texi,stamp-libm-err): Likewise.
66043         (version.texi, stamp-version): Likewise.
66044         (.%c.texi): Likewise.
66045         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66046         (mostlyclean): Remove target.
66047         (realclean): Remove target.
66048         (generated): Add new variable with contents from mostlyclean and
66049         realclean, remove entries duplicated in common-mostlyclean, add
66050         stamp-libm-err and stamp-version.
66051         (generated-dirs): Add libc directory.
66052         ($(inst_infodir)/libc.info): Install files from build dir.
66054         * manual/install.texi (Configuring and compiling): Adjust since
66055         the info files are not part of the tar ball anymore.
66057 2012-05-14  Andreas Jaeger  <aj@suse.de>
66059         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66060         variable.
66062 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66064         [BZ #13717]
66065         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66066         to 2.2.0 where earlier.
66067         * sysdeps/unix/sysv/linux/configure: Regenerated.
66068         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66069         Remove conditional code.
66070         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66071         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66072         Remove conditional code.
66073         [!__NR_lchown]: Likewise.
66074         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66075         [__NR_lchown]: Likewise.
66076         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66077         comment referencing __ASSUME_LCHOWN_SYSCALL.
66078         * sysdeps/unix/sysv/linux/i386/sigaction.c
66079         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66080         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66081         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66082         Remove conditional code.
66083         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66084         (__protocol_available): Remove #if 0 code.
66085         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66086         conditional code.
66087         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66088         * sysdeps/unix/sysv/linux/kernel-features.h
66089         (__ASSUME_GETCWD_SYSCALL): Don't define.
66090         (__ASSUME_REALTIME_SIGNALS): Likewise.
66091         (__ASSUME_PREAD_SYSCALL): Likewise.
66092         (__ASSUME_PWRITE_SYSCALL): Likewise.
66093         (__ASSUME_POLL_SYSCALL): Likewise.
66094         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66095         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66096         non-SPARC.
66097         (__ASSUME_SIOCGIFNAME): Don't define.
66098         (__ASSUME_MSG_NOSIGNAL): Likewise.
66099         (__ASSUME_SENDFILE): Define unconditionally.
66100         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66101         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66102         conditional code.
66103         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66104         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66105         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66106         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66107         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66108         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66109         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66111         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66114         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66115         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66117         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66120         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66121         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66123         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66124         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66126         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66127         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66129         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66130         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66132         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66133         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66134         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66135         Remove conditional code.
66136         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66137         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66138         Remove conditional code.
66139         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66140         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66141         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66142         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66143         Remove conditional code.
66144         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66145         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66146         Remove conditional code.
66147         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66148         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66149         Remove conditional code.
66150         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66151         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66152         Remove conditional code.
66153         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66154         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66155         Remove conditional code.
66156         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66157         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66158         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66159         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66160         * sysdeps/unix/sysv/linux/sigaction.c
66161         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66162         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66163         * sysdeps/unix/sysv/linux/sigpending.c
66164         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66165         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66166         * sysdeps/unix/sysv/linux/sigprocmask.c
66167         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66168         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66169         * sysdeps/unix/sysv/linux/sigsuspend.c
66170         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66171         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66172         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66173         (__libc_missing_rt_sigs): Remove.
66174         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66175         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66176         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66177         Remove conditional code.
66178         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66179         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66180         return 1.
66181         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66182         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66183         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66184         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66186 2012-05-14  Andreas Jaeger  <aj@suse.de>
66188         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66189         it's not used in glibc.
66190         (__coshm1): Likewise.
66191         (__acosh1p): Likewise.
66192         (__sgn): Likewise.
66194         * manual/string.texi (Copying and Concatenation): Add missing
66195         variable in concat example.
66196         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66198 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66200         [BZ #14103]
66201         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66202         __builtin_clzl with __builtin_clzll.
66204 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66206         [BZ #14104]
66207         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66208         libc_freeres_ptr.
66210 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66212         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66213         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66214         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66215         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66217 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66219         * NEWS: Update ia64 info.
66221 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66223         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66224         used as bcopy.
66226 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66228         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66229         * sysdeps/unix/syscalls.list (dup3): Likewise.
66230         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66231         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66233 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66235         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66236         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66238 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66240         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66241         thread pointer.
66242         (TLS_IE): Use mov/add instead of movq/addq to load thread
66243         pointer.
66244         (TLS_GD_PREFIX): New.
66245         (TLS_GD): Use it.
66247 2012-05-11  David S. Miller  <davem@davemloft.net>
66249         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66250         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66251         (_FPU_SETCW): Likewise.
66253 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66255         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66256         is 32-byte aligned.
66258 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66260         [BZ #11837]
66261         * iconvdata/gb18030.c: Update tables.
66262         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66263         characters specially.
66264         (BODY for TO_LOOP): Add encoding of missing ranges.
66266 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66268         [BZ #13673]
66269         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66270         * sysdeps/mach/hurd/dup3.c: Likewise.
66271         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66272         * sysdeps/powerpc/memmove.c:: Likewise.
66274 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66276         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66277         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66279 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66281         * elf/elf.h (R_X86_64_RELATIVE64): New.
66282         (R_X86_64_NUM): Updated.
66283         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66284         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66285         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66286         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66287         tst-quad1pie tst-quad2pie
66288         (modules-names): Add tst-quadmod1 tst-quadmod2.
66289         ($(objpfx)tst-quad1): New dependency.
66290         ($(objpfx)tst-quad2): Likewise.
66291         ($(objpfx)tst-quad1pie): Likewise.
66292         ($(objpfx)tst-quad2pie): Likewise.
66293         * sysdeps/x86_64/tst-quad1.c: New file.
66294         * sysdeps/x86_64/tst-quad1pie.c: New file.
66295         * sysdeps/x86_64/tst-quad2.c: Likewise.
66296         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66297         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66298         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66299         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66300         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66302 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66304         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66305         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66306         * streams/stropts.h (t_scalar_t): Define type.
66308         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66309         (_PATH_PRESERVE): Set to "/var/lib".
66310         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66312         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66313         instead of int.
66315         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66316         if __dir_mkfile succeeded.
66318         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66319         checking for _hurd_dtablesize.  Unlock it right after having
66320         finished _hurd_dtable allocation.
66322 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66324         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66325         * sysdeps/mach/hurd/configure: Regenerated.
66326         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66327         special-casing to...
66328         * sysdeps/gnu/configure.in: ... this new file.
66329         * sysdeps/unix/sysv/linux/configure: Regenerated.
66330         * sysdeps/gnu/configure: New generated file.
66332         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66333         for Linux: use nsec instead of usec, as well as:
66334         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66335         members of type struct timespec.
66336         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66337         New macros.
66338         (struct stat64): Likewise.
66339         (_STATBUF_ST_NSEC): New macro.
66340         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66342         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66343         __strtoul_internal rather than strtoul.
66345 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66347         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66348         and reject them.
66350 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66352         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66353         which preserves existing values.
66354         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66356 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66358         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66359         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66360         greater than FD_SETSIZE.
66362 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66364         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66365         allocated, call __vm_protect to finish enabling the existing space, and
66366         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66367         allocate the remainder.
66369 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66371         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66372         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66374 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66376         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66377         sysdeps/mach/hurd/readlink.c.
66379         * posix/tst-sysconf.c (posix_options): Only use
66380         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66381         _POSIX_SYNCHRONIZED_IO when they are defined
66382         * sysdeps/mach/hurd/bits/posix_opt.h:
66383         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66384         (_XOPEN_REALTIME): Undefine macro.
66385         (_XOPEN_REALTIME_THREADS): Undefine macro.
66386         (_XOPEN_SHM): Undefine macro.
66387         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66388         macro to -1.
66389         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66390         macro to -1.
66391         (_POSIX_ASYNC_IO): Undefine macro.
66392         (_POSIX_PRIORITIZED_IO): Undefine macro.
66393         (_POSIX_SPIN_LOCKS): Define macro to -1.
66395         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66396         SA_NODEFER, SA_RESETHAND.
66397         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66398         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66399         F_DUPFD_CLOEXEC.
66401 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66403         * elf/Makefile (pldd-modules): Define unconditionally.
66405 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66407         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66409 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66411         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66412         Return ENOENT when name is empty.
66413         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66417         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66419         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66421 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66423         Fix mlock in all cases except non-readable pages.
66424         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66425         instead of VM_PROT_ALL as parameter to __vm_wire function.
66427         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66428         (__mkdir): When path is `/', just fail with EEXIST.
66429         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66431 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66433         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66434         <sys/uio.h> (for writev).
66435         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66436         and <sys/param.h> (for MIN).
66438 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66440         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66441         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66442         if interrupted.
66444 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66446         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66447         Depend on against $(link-rpcuserlibs).
66449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66451         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66452         (__libc_stack_end): Do not use attribute_relro.
66453         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66454         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66455         to libthread-provided value.
66456         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66457         attribute_relro.
66459 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66461         [BZ #3748]
66462         * bits/libc-lock.h (__libc_once_get): New macro.
66463         * sysdeps/mach/bits/libc-lock.h: Likewise.
66464         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66465         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66466         instead of using implementation details.
66468         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66469         * libio/freopen.c: Likewise.
66470         * libio/freopen64.c: Likewise.
66471         * misc/syslog.c: Likewise.
66472         * nscd/connections.c: Likewise.
66473         * nscd/netgroupcache.c: Likewise.
66474         * sysdeps/posix/getcwd.c: Likewise.
66476 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66478         * math/w_ilogbf.c: Add #include <limits.h>.
66480 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66482         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66483         path instead of returning without unlocking.
66485         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66486         immediate-write ioctls.
66487         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66489 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66491         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66492         __builtin_frame_address instead of making assumptions about the
66493         location of the return address relative to DATA.  Force early load of
66494         the return address.
66495         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66496         __builtin_frame_address.
66498         dup3 for GNU Hurd.
66499         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66500         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66501         implement dup3 and do some further code clean-ups.
66502         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66503         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66507         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66509         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66510         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66511         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66512         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66513         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66514         d->port.lock.
66516         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66517         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66518         when handler == SIG_ERR, not when handler != SIG_ERR.
66520 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66522         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66523         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66524         definitions.
66526         accept4 for GNU Hurd.
66527         * include/sys/socket.h (__libc_accept4): New prototype.
66528         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66529         to implement __libc_accept4.
66530         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66531         __libc_accept4.
66532         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66534         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66535         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66536         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66537         signal-defines.sym.
66539 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66541         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66545         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66546         assertion on O_CLOEXEC flag.
66547         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66548         * hurd/intern-fd.c: Likewise.
66549         * hurd/port2fd.c: Likewise.
66551 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66553         [BZ #3906]
66554         * bits/in.h (IPV6_PKTINFO): Define new macro.
66555         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66557 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66559         [BZ #13954]
66560         [BZ #13955]
66561         [BZ #13956]
66562         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66563         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66564         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66565         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66566         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66567         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66568         * math/libm-test.inc (logb_test) : Additional logb tests.
66570 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66571             Andreas Jaeger  <aj@suse.de>
66573         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66574         * configure: Regenerated.
66575         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66576         * config.make.in (link-obsolete-rpc): New substituted variable.
66577         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66578         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66579         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66580         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66581         so that libc.a contains the symbols.
66582         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66583         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66584         * sunrpc/auth_none.c: Likewise.
66585         * sunrpc/auth_unix.c: Likewise.
66586         * sunrpc/authdes_prot.c: Likewise.
66587         * sunrpc/authuxprot.c: Likewise.
66588         * sunrpc/clnt_gen.c: Likewise.
66589         * sunrpc/clnt_perr.c: Likewise.
66590         * sunrpc/clnt_raw.c: Likewise.
66591         * sunrpc/clnt_simp.c: Likewise.
66592         * sunrpc/clnt_tcp.c: Likewise.
66593         * sunrpc/clnt_udp.c: Likewise.
66594         * sunrpc/clnt_unix.c: Likewise.
66595         * sunrpc/des_crypt.c: Likewise.
66596         * sunrpc/des_soft.c: Likewise.
66597         * sunrpc/get_myaddr.c: Likewise.
66598         * sunrpc/key_call.c: Likewise.
66599         * sunrpc/key_prot.c: Likewise.
66600         * sunrpc/netname.c: Likewise.
66601         * sunrpc/pm_getmaps.c: Likewise.
66602         * sunrpc/pm_getport.c: Likewise.
66603         * sunrpc/pmap_clnt.c: Likewise.
66604         * sunrpc/pmap_prot.c: Likewise.
66605         * sunrpc/pmap_prot2.c: Likewise.
66606         * sunrpc/pmap_rmt.c: Likewise.
66607         * sunrpc/publickey.c: Likewise.
66608         * sunrpc/rpc_cmsg.c: Likewise.
66609         * sunrpc/rpc_common.c: Likewise.
66610         * sunrpc/rpc_dtable.c: Likewise.
66611         * sunrpc/rpc_prot.c: Likewise.
66612         * sunrpc/rpc_thread.c: Likewise.
66613         * sunrpc/rtime.c: Likewise.
66614         * sunrpc/svc.c: Likewise.
66615         * sunrpc/svc_auth.c: Likewise.
66616         * sunrpc/svc_raw.c: Likewise.
66617         * sunrpc/svc_run.c: Likewise.
66618         * sunrpc/svc_tcp.c: Likewise.
66619         * sunrpc/svc_udp.c: Likewise.
66620         * sunrpc/svc_unix.c: Likewise.
66621         * sunrpc/svcauth_des.c: Likewise.
66622         * sunrpc/xcrypt.c: Likewise.
66623         * sunrpc/xdr.c: Likewise.
66624         * sunrpc/xdr_array.c: Likewise.
66625         * sunrpc/xdr_float.c: Likewise.
66626         * sunrpc/xdr_intXX_t.c: Likewise.
66627         * sunrpc/xdr_mem.c: Likewise.
66628         * sunrpc/xdr_rec.c: Likewise.
66629         * sunrpc/xdr_ref.c: Likewise.
66630         * sunrpc/xdr_sizeof.c: Likewise.
66631         * sunrpc/xdr_stdio.c: Likewise.
66633 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66635         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66636         change.  Update copyright years.
66638 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66640         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66642 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66643             Joseph Myers  <joseph@codesourcery.com>
66644             Paul Pluzhnikov  <ppluzhnikov@google.com>
66646         [BZ #14012]
66647         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66648         requiring rpcgen.
66649         [cross-compiling] (extra-libs): Likewise.
66650         [cross-compiling] (extra-libs-others): Likewise.
66651         [cross-compiling] (librpcsvc-routines): Likewise.
66652         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66653         [cross-compiling] (omit-deps): Likewise.
66654         (sunrpc-CPPFLAGS): New variable.
66655         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66656         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66657         (cross-rpcgen-objs): New variable.
66658         (extra-objs): Append $(cross-rpcgen-objs).
66659         ($(cross-rpcgen-objs)): New rule.
66660         ($(objpfx)cross-rpcgen): Likewise.
66661         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66662         comment.
66663         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66664         ($(objpfx)x%.stmp): Likewise.
66665         * sunrpc/proto.h [IS_IN_build] (_): Define.
66666         [IS_IN_build] (_libc_intl_domainname): Likewise.
66668 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66670         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66671         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66672         and R_X86_64_TPOFF64.
66674 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66676         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66677         sysdeps/unix/sysv/syscalls.list.
66678         (stime): Likewise.
66679         (utime): Likewise.
66680         * sysdeps/unix/sysv/syscalls.list: Remove file.
66682 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66684         [BZ #3440]
66685         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66686         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66687         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66688         (__LC_IDENTIFICATION): Make these macros useful in #if
66689         expressions, as required by C99.
66691 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66693         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66694         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66695         after this.
66697 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66699         * stdlib/longlong.h: Updated from GCC.
66701 2012-05-09  Andreas Jaeger  <aj@suse.de>
66703         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66704         default is first entry.
66705         (run_mode): Set type.
66706         (main): Remove informal message about syslog.
66707         (options): Fix typo.
66709         [BZ #14053]
66710         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66711         to asm.
66712         (lrint): Likewise.
66713         (llrintf): Likewise.
66714         (llrint): Likewise.
66715         (rint): Likewise.
66716         (rintf): Likewise.
66717         (nearbyint): Likewise.
66718         (nearbyintf): Likewise.
66720 2012-05-09  Andreas Jaeger  <aj@suse.de>
66721             Pedro Alves  <palves@redhat.com>
66723         * nscd/nscd.c (run_mode): Use enum.
66724         (main): Cleanup coding style issue.
66726 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66727             Andreas Jaeger  <aj@suse.de>
66729         * nscd/nscd.c (go_background): Replaced with...
66730         (run_mode): ... this.
66731         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66732         (options): Add -F --foreground.
66733         (main): Implement it.
66734         (parse_opt): Parse it.
66736 2012-05-09  Andreas Jaeger  <aj@suse.de>
66738         [BZ #14083]
66739         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66740         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66741         -Wconversion warning.
66742         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66743         Likewise.
66745 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66747         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66748         == 0.
66749         (LC_ALL): Use macro-int-constant.
66750         (LC_COLLATE): Likewise.
66751         (LC_CTYPE): Likewise.
66752         (LC_MESSAGES): Likewise.
66753         (LC_MONETARY): Likewise.
66754         (LC_NUMERIC): Likewise.
66755         (LC_TIME): Likewise.
66756         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66757         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66758         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66759         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66760         Specify type.
66761         [C99-based standards] (float_t): Expect type.
66762         [C99-based standards] (double_t): Expect type.
66763         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66764         type.
66765         [C99-based standards] (HUGE_VALL): Likewise.
66766         [C99-based standards] (INFINITY): Likewise.
66767         [C99-based standards] (NAN): Likewise.
66768         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66769         [C99-based standards] (FP_NAN): Likewise.
66770         [C99-based standards] (FP_NORMAL): Likewise.
66771         [C99-based standards] (FP_SUBNORMAL): Likewise.
66772         [C99-based standards] (FP_ZERO): Likewise.
66773         [C99-based standards] (FP_FAST_FMA): Use
66774         optional-macro-int-constant.  Specify type.  Require == 1.
66775         [C99-based standards] (FP_FAST_FMAF): Likewise.
66776         [C99-based standards] (FP_FAST_FMAL): Likewise.
66777         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66778         [C99-based standards] (FP_ILOGBNAN): Likewise.
66779         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66780         Specify type.
66781         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66782         [C99-based standards] (math_errhandling): Specify type.
66783         [ISO99 || ISO11] (signgam): Do not allow.
66784         [non-C99-based standards] (copysignf): Do not allow.
66785         [non-C99-based standards] (exp2f): Likewise.
66786         [non-C99-based standards] (log2f): Likewise.
66787         [non-C99-based standards] (modff): Allow.
66788         [non-C99-based standards] (erff): Do not allow.
66789         [non-C99-based standards] (erfcf): Likewise.
66790         [non-C99-based standards] (gammaf): Likewise.
66791         [non-C99-based standards] (hypotf): Likewise.
66792         [non-C99-based standards] (j0f): Likewise.
66793         [non-C99-based standards] (j1f): Likewise.
66794         [non-C99-based standards] (jnf): Likewise.
66795         [non-C99-based standards] (lgammaf): Likewise.
66796         [non-C99-based standards] (tgammaf): Likewise.
66797         [non-C99-based standards] (y0f): Likewise.
66798         [non-C99-based standards] (y1f): Likewise.
66799         [non-C99-based standards] (ynf): Likewise.
66800         [non-C99-based standards] (isnanf): Likewise.
66801         [non-C99-based standards] (acoshf): Likewise.
66802         [non-C99-based standards] (asinhf): Likewise.
66803         [non-C99-based standards] (atanhf): Likewise.
66804         [non-C99-based standards] (cbrtf): Likewise.
66805         [non-C99-based standards] (expm1f): Likewise.
66806         [non-C99-based standards] (ilogbf): Likewise.
66807         [non-C99-based standards] (log1pf): Likewise.
66808         [non-C99-based standards] (logbf): Likewise.
66809         [non-C99-based standards] (nextafterf): Likewise.
66810         [non-C99-based standards] (remainderf): Likewise.
66811         [non-C99-based standards] (rintf): Likewise.
66812         [non-C99-based standards] (scalbf): Likewise.
66813         [non-C99-based standards] (copysignl): Likewise.
66814         [non-C99-based standards] (exp2l): Likewise.
66815         [non-C99-based standards] (log2l): Likewise.
66816         [non-C99-based standards] (modfl): Allow.
66817         [non-C99-based standards] (erfl): Do not allow.
66818         [non-C99-based standards] (erfcl): Likewise.
66819         [non-C99-based standards] (gammal): Likewise.
66820         [non-C99-based standards] (hypotl): Likewise.
66821         [non-C99-based standards] (j0l): Likewise.
66822         [non-C99-based standards] (j1l): Likewise.
66823         [non-C99-based standards] (jnl): Likewise.
66824         [non-C99-based standards] (lgammal): Likewise.
66825         [non-C99-based standards] (tgammal): Likewise.
66826         [non-C99-based standards] (y0l): Likewise.
66827         [non-C99-based standards] (y1l): Likewise.
66828         [non-C99-based standards] (ynl): Likewise.
66829         [non-C99-based standards] (isnanl): Likewise.
66830         [non-C99-based standards] (acoshl): Likewise.
66831         [non-C99-based standards] (asinhl): Likewise.
66832         [non-C99-based standards] (atanhl): Likewise.
66833         [non-C99-based standards] (cbrtl): Likewise.
66834         [non-C99-based standards] (expm1l): Likewise.
66835         [non-C99-based standards] (ilogbl): Likewise.
66836         [non-C99-based standards] (log1pl): Likewise.
66837         [non-C99-based standards] (logbl): Likewise.
66838         [non-C99-based standards] (nextafterl): Likewise.
66839         [non-C99-based standards] (remainderl): Likewise.
66840         [non-C99-based standards] (rintl): Likewise.
66841         [non-C99-based standards] (scalbl): Likewise.
66842         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66843         [non-C99-based standards] (FP_*): Do not allow.
66844         [C99-based standards] (FP_*): Change to
66845         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66846         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66847         allow.
66848         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66849         (SIG_ERR): Likewise.
66850         [X/Open-based standards] (SIG_HOLD): Likewise.
66851         (SIG_IGN): Likewise.
66852         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66853         positive value.
66854         (SIGFPE): Likewise.
66855         (SIGILL): Likewise.
66856         (SIGINT): Likewise.
66857         (SIGSEGV): Likewise.
66858         (SIGTER): Likewise.
66859         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66860         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66861         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66862         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66863         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66864         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66865         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66866         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66867         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66868         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66869         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66870         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66871         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66872         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66873         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66874         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66875         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66876         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66877         [X/Open-based standards] (SIGTRAP): Likewise.
66878         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66879         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66880         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66881         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66882         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66883         allow.
66885 2012-05-08  Ian Wienand  <ianw@vmware.com>
66887         [BZ #14080]
66888         * time/tzset.c (__tzset_parse_tz): Update default rules for
66889         daylight time changes in the Energy Policy Act of 2005.
66891 2012-05-09  Andreas Jaeger  <aj@suse.de>
66893         [BZ #13983]
66894         * elf/ldconfig.c (parse_conf): Change string to make clear that
66895         ldconfig only issued a warning if ld.so.conf does not exist.
66897 2012-05-08  David S. Miller  <davem@davemloft.net>
66899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66900         movxtod instead of popping the value on the stack.
66902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66904 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66906         * config.h.in: Add HAVE_ARM_PCS_VFP.
66908 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66910         [BZ #13979]
66911         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66912         checking but the checks are disabled for any reason.
66914 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66916         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66917         and ELF64_R_TYPE with ELFW(R_TYPE).
66919 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66921         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66922         (ulimit): Likewise.
66924         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66925         (settimeofday): Likewise.
66927 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66929         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66930         a struct th_u2 inside the union, and move tu_block/tu_code into
66931         a new th_u3 union of tu_block/tu_code inside of that.  Move
66932         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66933         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66934         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66935         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66936         (th_stuff): Change to th_u1.tu_stuff.
66937         (th_data): Define.
66938         (th_msg): Change to th_u1.th_u2.tu_data.
66940 2012-05-07  David S. Miller  <davem@davemloft.net>
66942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66944         [BZ #14074]
66945         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66946         (SETUP_PIC_REG): Use it.
66947         (SETUP_PIC_REG_LEAF): Use it.
66949 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66951         [BZ #13885]
66952         [BZ #13923]
66953         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66954         USE_AS_EXPM1L.
66955         (EXPL_FINITE): Likewise.
66956         (FLDLOG): Likewise.
66957         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66958         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66959         e_expl.S.
66960         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66961         USE_AS_EXPM1L.
66962         (EXPL_FINITE): Likewise.
66963         (FLDLOG): Likewise.
66964         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66965         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66966         e_expl.S.
66967         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66968         test of -max_value argument for long double.
66969         * sysdeps/i386/fpu/libm-test-ulps: Update.
66970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66972 2012-05-06  David S. Miller  <davem@davemloft.net>
66974         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66975         quad soft-float symbols whose references which are compiler
66976         generated.
66977         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66979 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66981         [BZ #13884]
66982         [BZ #13914]
66983         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66984         USE_AS_EXP10L.
66985         (EXPL_FINITE): Likewise.
66986         (FLDLOG): Likewise.
66987         (c0): Likewise.
66988         (c1): Likewise.
66989         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66990         Adjust comments for base varying.
66991         (__expl_finite): Change alias to EXPL_FINITE.
66992         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66993         e_expl.S.
66994         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66995         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66996         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66997         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66998         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66999         USE_AS_EXP10L.
67000         (EXPL_FINITE): Likewise.
67001         (FLDLOG): Likewise.
67002         (c0): Likewise.
67003         (c1): Likewise.
67004         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67005         Adjust comments for base varying.
67006         (__expl_finite): Change alias to EXPL_FINITE.
67007         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67008         tests for bugs.
67009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67011         [BZ #14064]
67012         * math/libm-test.inc (check_float_internal): Correct ulp
67013         calculation for subnormal expected results.
67015 2012-05-06  Andreas Jaeger  <aj@suse.de>
67017         * Makeconfig (+math-flags): New, set to -frounding-math.
67018         (+cflags): Add +math-flags so that all of glibc gets compiled with
67019         it.
67021         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67023 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67025         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67026         Disable one test.
67028         [BZ #13787]
67029         [BZ #13922]
67030         [BZ #14036]
67031         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67032         (__ieee754_expl): Allow for and saturate large arguments.
67033         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67034         (u_threshold): Likewise.
67035         (__exp): Call __ieee754_exp before checking for overflow and
67036         underflow.
67037         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67038         (u_threshold): Likewise.
67039         (__expf): Call __ieee754_expf before checking for overflow and
67040         underflow.
67041         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67042         (u_threshold): Likewise.
67043         (__expl): Call __ieee754_expl before checking for overflow and
67044         underflow.
67045         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67046         (__ieee754_expl): Allow for and saturate large arguments.
67047         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67048         missing overflow exception on overflow.
67049         (expm1_test): Do not allow missing overflow exception on overflow.
67051         * sysdeps/i386/fpu/e_expl.c: Move to ...
67052         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67053         rather than using inline asm.
67054         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67055         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67056         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67058         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67059         (nice): Likewise.
67060         (poll): Likewise.
67061         (signal): Likewise.
67062         (time): Likewise.
67063         (times): Likewise.
67065 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67067         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67068         sysdeps/unix/common/syscalls.list.
67069         (fchmod): Likewise.
67070         (fchown): Likewise.
67071         (ftruncate): Likewise.
67072         (getrusage): Likewise.
67073         (gettimeofday): Likewise.
67074         (setpgid): Likewise.
67075         (setregid): Likewise.
67076         (setreuid): Likewise.
67077         (sigaction): Likewise.
67078         (truncate): Likewise.
67079         (vhangup): Likewise.
67080         * sysdeps/unix/common/syscalls.list: Remove file.
67081         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67082         * sysdeps/unix/sysv/linux/Implies: Likewise.
67084 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67086         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67088         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67089         Moved to ...
67090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67091         Here.
67092         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67093         to ...
67094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67095         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67096         to ...
67097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67098         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67099         to ...
67100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67101         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67102         to ...
67103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67104         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67105         to ...
67106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67107         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67108         to ...
67109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67110         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67111         to ...
67112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67113         Here.
67114         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67115         to ...
67116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67117         Here.
67118         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67119         to ...
67120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67121         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67122         Moved to ...
67123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67124         Here.
67125         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67126         to ...
67127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67129 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67131         * sysdeps/unix/common/bits/dirent.h: Remove file.
67132         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67134         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67135         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67136         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67137         * sysdeps/unix/bsd/isatty.c: Likewise.
67138         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67139         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67140         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67142 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67144         [BZ #13563]
67145         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67146         long double comparison inaccuracies.
67147         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67150 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67152         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67153         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67155 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67157         [BZ #14049]
67158         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67159         nonzero digits before rounding a hex value.
67160         * stdlib/tst-strtod.c (tests): Add another test.
67162 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67164         * sysdeps/s390/fpu/libm-test-ulps: Update.
67166 2012-05-03  Andreas Jaeger  <aj@suse.de>
67168         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67169         does not get optimized out.
67170         (malloc_opt_barrier): New.
67172 2012-05-03  Andreas Jaeger  <aj@suse.de>
67173             Roland McGrath  <roland@hack.frob.com>
67175         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67176         intermediate file deletion.
67177         (generated): Add .symlist files.
67179 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67181         [BZ #13775]
67182         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67183         Redirect under this condition.
67184         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67185         [__USE_GNU] (__dprintf_chk): Not under this condition.
67186         [__USE_GNU] (__vdprintf_chk): Likewise.
67187         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67188         under this condition.
67189         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67190         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67191         [__USE_XOPEN2K8] (vdprintf): Likewise.
67192         [__USE_GNU] (__dprintf_chk): Not under this condition.
67193         [__USE_GNU] (__vdprintf_chk): Likewise.
67194         [__USE_GNU] (dprintf): Likewise.
67195         [__USE_GNU] (vdprintf): Likewise.
67197 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67199         * elf/Makefile (common-generated): Set this instead of generated for
67200         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67201         $(all-built-dso)-derived lists.
67203 2012-05-03  Andreas Jaeger  <aj@suse.de>
67205         * sysdeps/i386/fpu/libm-test-ulps: Update.
67207         * FAQ: Removed.
67208         * FAQ.in: Likewise.
67209         * scripts/gen-FAQ.pl: Likewise.
67210         * manual/install.texi (Installation): Point to online location of
67211         FAQ.
67212         * Makefile (files-for-dist): Remove FAQ.
67213         (FAQ): Remove.
67215 2012-05-02  Allan McRae  <allan@archlinux.org>
67217         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67218         (LDFLAGS-reldepmod5.so): Likewise.
67219         (LDFLAGS-reldep6mod1.so): Likewise.
67220         (LDFLAGS-reldep6mod4.so): Likewise.
67221         (LDFLAGS-reldep8mod3.so): Likewise.
67222         (LDFLAGS-unload4mod1.so): Likewise.
67223         (LDFLAGS-unload4mod2.so): Likewise.
67224         (LDFLAGS-tst-initorder): Likewise.
67225         (LDFLAGS-tst-initordera2.so): Likewise.
67226         (LDFLAGS-tst-initordera3.so): Likewise.
67227         (LDFLAGS-tst-initordera4.so): Likewise.
67228         (LDFLAGS-tst-initorderb2.so): Likewise.
67229         (LDFLAGS-noload): Likewise.
67230         (LDFLAGS-next): Likewise.
67231         (LDFLAGS-order2mod1.so): Likewise.
67232         (LDFLAGS-order2mod2.so): Likewise.
67233         (LDFLAGS-tst-initorder2): Likewise.
67234         (LDFLAGS-tst-initorder2a.so): Likewise.
67235         (LDFLAGS-tst-initorder2b.so): Likewise.
67236         (LDFLAGS-tst-initorder2c.so): Likewise.
67237         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67239 2012-05-02  David S. Miller  <davem@davemloft.net>
67241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67243 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67245         [BZ #14055]
67246         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67248 2012-05-02  Andreas Jaeger  <aj@suse.de>
67250         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67251         since we manipulate rounding mode.
67252         (CPPFLAGS-test-idouble.c): Likewise.
67253         (CPPFLAGS-test-ifloat.c): Likewise.
67254         (CFLAGS-test-ldouble.c): Likewise.
67255         (CFLAGS-test-double.c): Likewise.
67256         (CFLAGS-test-float.c): Likewise.
67257         (CFLAGS-test-misc.c): Likewise.
67258         (CFLAGS-test-test-fenv.c): Likewise.
67260 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67262         [BZ #2550]
67263         [BZ #2570]
67264         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67265         comparisons to determine direction to adjust input.
67267 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67269         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67270         output to the target.
67272         * scripts/localplt.awk: New file.
67273         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67274         (check-localplt-CFLAGS): Variable removed.
67275         ($(all-built-dso:=.jmprel)): New static pattern rule.
67276         (generated): Add those targets.
67277         (localplt-built-dso): New variable.
67278         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67280         * elf/check-localplt.c: File removed.
67282         * scripts/check-execstack.awk: New file.
67283         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67284         (check-execstack-CFLAGS): Variable removed.
67285         ($(objpfx)check-execstack.h): Target removed.
67286         ($(objpfx)execstack-default): New target.
67287         (generated): Add that instead of check-execstack.h.
67288         ($(all-built-dso:=.phdr)): New static pattern rule.
67289         (generated): Add those targets.
67290         * elf/check-execstack.c: File removed.
67292         * scripts/check-textrel.awk: New file.
67293         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67294         (check-textrel-CFLAGS): Variable removed.
67295         (all-built-dso): Use := to define.o
67296         ($(all-built-dso:=.dyn)): New static pattern rule.
67297         (generated): Add those targets.
67298         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67299         * config.make.in (READELF): New substituted variable.
67300         * elf/check-textrel.c: File removed.
67302 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67304         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67305         allow.
67306         * conform/data/ctype.h-data [C99-based standards] (isblank):
67307         Expect function.
67308         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67309         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67310         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67311         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67312         Specify type.  Require positive value.
67313         (EILSEQ): Likewise.
67314         (ERANGE): Likewise.
67315         [ISO || POSIX] (EILSEQ): Do not expect.
67316         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67317         Specify type.  Require positive value.
67318         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67319         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67320         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67321         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67322         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67323         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67324         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67325         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67326         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67327         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67328         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67329         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67330         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67331         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67332         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67333         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67334         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67335         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67336         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67337         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67338         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67339         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67340         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67341         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67342         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67343         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67344         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67345         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67346         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67347         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67348         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67349         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67350         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67351         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67352         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67353         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67354         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67355         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67356         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67357         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67358         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67359         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67360         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67361         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67362         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67363         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67364         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67365         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67366         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67367         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67368         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67369         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67370         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67371         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67372         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67373         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67374         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67375         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67376         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67377         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67378         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67379         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67380         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67381         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67382         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67383         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67384         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67385         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67386         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67387         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67388         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67389         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67390         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67391         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67392         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67393         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67394         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67395         Require >= 2.
67396         (FLT_ROUNDS): Expect as macro, not constant.
67397         (FLT_MANT_DIG): Use macro-int-constant.
67398         (DBL_MANT_DIG): Likewise.
67399         (LDBL_MANT_DIG): Likewise.
67400         (FLT_DIG): Likewise.
67401         (DBL_DIG): Likewise.
67402         (LDBL_DIG): Likewise.
67403         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67404         (DBL_MIN_EXP): Likewise.
67405         (LDBL_MIN_EXP): Likewise.
67406         (FLT_MAX_EXP): Use macro-int-constant.
67407         (DBL_MAX_EXP): Likewise.
67408         (LDBL_MAX_EXP): Likewise.
67409         (FLT_MAX_10_EXP): Likewise.
67410         (DBL_MAX_10_EXP): Likewise.
67411         (LDBL_MAX_10_EXP): Likewise.
67412         (FLT_MAX): Use macro-constant.
67413         (DBL_MAX): Likewise.
67414         (LDBL_MAX): Likewise.
67415         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67416         (DBL_EPSILON): Likewise.
67417         (LDBL_EPSILON): Likewise.
67418         (FLT_MIN): Likewise.
67419         (DBL_MIN): Likewise.
67420         (LDBL_MIN): Likewise.
67421         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67422         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67423         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67424         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67425         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67426         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67427         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67428         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67429         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67430         [ISO11] (FLT_TRUE_MIN): Likewise.
67431         [ISO11] (LDBL_TRUE_MIN): Likewise.
67432         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67433         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67434         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67435         (SCHAR_MAX): Likewise.
67436         (UCHAR_MAX): Likewise.
67437         (CHAR_MIN): Likewise.
67438         (CHAR_MAX): Likewise.
67439         (MB_LEN_MAX): Use macro-int-constant.
67440         (SHRT_MIN): Use macro-int-constant.  Specify type.
67441         (SHRT_MAX): Likewise.
67442         (USHRT_MAX): Likewise.
67443         (INT_MAX): Likewise.
67444         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67445         bound negative.
67446         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67447         bound with "U".
67448         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67449         bound with "L".
67450         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67451         bound negative.  Suffix upper bound with "L".
67452         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67453         bound with "UL".
67454         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67455         Specify type.
67456         [C99-based standards] (LLONG_MAX): Likewise.
67457         [C99-based standards] (ULLONG_MAX): Likewise.
67458         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67459         == 0.
67460         [ISO11] (max_align_t): Require type.
67461         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67463         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67464         from $CFLAGS, without defining away __attribute__ calls.
67465         (checknamespace): Use $CFLAGS_namespace.
67467         * conform/conformtest.pl (@keywords): Only include C99 keywords
67468         for standards based on C99 or C11.
67470         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67471         Disable tests.
67472         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67473         UNIX98]: Likewise.
67475         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67476         usability of symbols in #if.
67478         * conform/conformtest.pl: If macro or constant types start
67479         "promoted:", expect the symbol to be of the following type
67480         promoted by the integer promotions.
67482         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67483         in one place.  Also handle "macro-constant".
67485         * conform/conformtest.pl: Only accept expected macro values with
67486         "==".  Parse all "macro" lines in one place.
67487         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67489         * conform/conformtest.pl: Handle braced types on "constant" lines
67490         instead of handling "typed-constant".
67491         * conform/data/signal.h-data: Use "constant" instead of
67492         "typed-constant".
67494         * conform/conformtest.pl: Handle "optional-" at start of lines in
67495         one place rather than duplicating several cases.  Handle each
67496         format of "macro" line with initial "optional-".
67498         * conform/conformtest.pl: Only accept expected constant or
67499         optional-constant values with "==".  Parse all "constant" lines in
67500         one place.  Parse all "optional-constant" lines in one place.
67501         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67502         * conform/data/fmtmsg.h-data: Likewise.
67503         * conform/data/netinet/in.h-data: Likewise.
67504         * conform/data/tar.h-data: Likewise.
67505         * conform/data/limits.h-data: Use "==" form on "constant" and
67506         "optional-constant" lines.
67508         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67509         Use -std=c99 for XOPEN2K.
67510         (@knownproblems): Remove.
67511         (newtoken): Don't check %isknown.
67513         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67514         Do not expect macro.
67515         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67516         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67517         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67518         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67519         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67520         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67521         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67522         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67523         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67524         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67525         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67526         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67527         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67528         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67529         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67530         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67531         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67532         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67533         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67534         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67535         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67536         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67537         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67538         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67539         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67540         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67541         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67542         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67543         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67544         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67545         [XPG3] (acosh): Likewise.
67546         [XPG3] (asinh): Likewise.
67547         [XPG3] (atanh): Likewise.
67548         [XPG3] (cbrt): Likewise.
67549         [XPG3] (expm1): Likewise.
67550         [XPG3] (ilogb): Likewise.
67551         [XPG3] (log1p): Likewise.
67552         [XPG3] (logb): Likewise.
67553         [XPG3] (nextafter): Likewise.
67554         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67555         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67556         [XPG3] (remainder): Likewise.
67557         [XPG3] (rint): Likewise.
67558         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67559         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67560         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67561         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67562         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67563         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67564         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67565         [UNIX98 || XOPEN2K] (scalb): Expect.
67566         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67567         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67568         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67569         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67570         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67571         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67572         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67573         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67574         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67575         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67576         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67577         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67578         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67579         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67580         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67581         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67582         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67583         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67584         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67585         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67586         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67587         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67588         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67589         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67590         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67591         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67592         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67593         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67594         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67595         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67596         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67597         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67598         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67599         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67600         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67601         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67602         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67603         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67604         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67605         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67606         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67607         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67608         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67609         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67610         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67611         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67612         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67613         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67614         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67615         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67616         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67617         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67618         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67619         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67620         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67621         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67622         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67623         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67624         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67625         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67626         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67627         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67628         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67629         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67630         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67631         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67632         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67633         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67634         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67635         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67636         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67637         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67638         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67639         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67640         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67641         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67642         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67643         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67644         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67645         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67646         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67647         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67648         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67649         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67650         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67651         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67652         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67653         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67654         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67655         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67656         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67657         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67658         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67659         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67660         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67661         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67662         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67663         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67664         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67665         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67666         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67667         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67668         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67669         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67670         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67671         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67672         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67673         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67674         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67675         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67676         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67677         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67678         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67679         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67680         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67681         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67682         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67683         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67684         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67685         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67686         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67687         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67688         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67689         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67690         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67691         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67692         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67693         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67694         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67695         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67696         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67697         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67698         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67699         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67700         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67701         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67702         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67704         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67705         _XOPEN_SOURCE_EXTENDED for XPG4.
67707         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67709         * Makeconfig (localtime): Remove variable.
67710         (inst_localtime-file): Likewise.
67712 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67715         Update.
67716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67717         Update.
67718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67719         Update.
67720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67721         Update.
67722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67723         Update.
67724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67725         Update.
67726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67727         Update.
67728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67729         Update.
67730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67731         Update.
67733 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67735         [BZ #2550]
67736         [BZ #2570]
67737         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67738         comparisons to determine direction to adjust input.
67739         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67740         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67741         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67742         Likewise.
67743         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67744         Likewise.
67745         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67746         Likewise.
67747         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67748         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67749         Likewise.
67750         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67751         Likewise.
67752         * math/libm-test.inc (nexttoward_test): Add more tests.
67754 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67756         [BZ #14040]
67757         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67758         in version GLIBC_2.1, not GLIBC_2.0.
67759         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67760         Likewise.
67762 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67764         [BZ #13942]
67765         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67766         (1 - x) * (1 + x).
67767         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67768         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67769         * math/libm-test.inc (acos_test): Add more tests.
67770         (asin_test): Likewise.
67771         * sysdeps/i386/fpu/libm-test-ulps: Update.
67772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67774         [BZ #14034]
67775         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67776         of square root.
67777         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67778         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67779         * math/libm-test.inc (acos_test_tonearest): New function.
67780         (acos_test_towardzero): Likewise.
67781         (acos_test_downward): Likewise.
67782         (acos_test_upward): Likewise.
67783         (asin_test_tonearest): Likewise.
67784         (asin_test_towardzero): Likewise.
67785         (asin_test_downward): Likewise.
67786         (asin_test_upward): Likewise.
67787         (main): Call the new functions.
67788         * sysdeps/i386/fpu/libm-test-ulps: Update.
67789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67791         [BZ #13884]
67792         [BZ #13924]
67793         * math/e_exp10.c: Include <float.h>.
67794         (__ieee754_exp10): Handle underflow here rather than multiplying
67795         large negative argument by M_LN10.
67796         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67797         of __ieee754_expf.
67798         * math/e_exp10l.c: Include <float.h>.
67799         (__ieee754_exp10l): Handle underflow here rather than multiplying
67800         large negative argument by M_LN10l.
67801         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67802         spurious overflow exception on underflow.
67804 2012-04-29  Marek Polacek  <polacek@redhat.com>
67806         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67807         (__fortify_function): New macro.
67808         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67809         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67810         __extern_always_inline.
67811         * libio/bits/stdio2.h: Likewise.
67812         * libio/bits/stdio.h: Likewise.
67813         * string/string.h: Likewise.
67814         * string/bits/string3.h: Likewise.
67815         * include/stdio.h: Likewise.
67816         * stdlib/bits/stdlib.h: Likewise.
67817         * stdlib/stdlib.h: Likewise.
67818         * rt/bits/mqueue2.h: Likewise.
67819         * rt/mqueue.h: Likewise.
67820         * posix/bits/unistd.h: Likewise.
67821         * posix/unistd.h: Likewise.
67822         * io/bits/poll2.h: Likewise.
67823         * io/bits/fcntl2.h: Likewise.
67824         * io/fcntl.h: Likewise.
67825         * io/sys/poll.h: Likewise.
67826         * misc/bits/syslog.h: Likewise.
67827         * misc/bits/syslog-ldbl.h: Likewise.
67828         * misc/sys/syslog.h: Likewise.
67829         * socket/bits/socket2.h: Likewise.
67830         * socket/sys/socket.h: Likewise.
67831         * debug/tst-chk1.c: Likewise.
67832         * wcsmbs/bits/wchar2.h: Likewise.
67833         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67834         * wcsmbs/wchar.h: Likewise.
67836 2012-04-29  Andreas Jaeger  <aj@suse.de>
67838         * Makerules (tests): Remove enable-check-abi protection.
67839         (check-abi-warn): Remove.
67840         (check-abi-%): Remove check-abi-warn usage.
67842         * configure.in: Remove check-abi configure option.
67843         * configure: Regenerated.
67844         * config.make.in (enable-check-abi): Remove.
67846 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67848         [BZ #14033]
67849         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67850         double functions to double *_finite functions.
67852         [BZ #13941]
67853         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67854         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67855         LDBL_MIN_EXP.
67856         * stdio-common/Makefile (tests): Add tst-sprintf3.
67857         * stdio-common/tst-sprintf3.c: New file.
67859         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67860         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67862 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67864         * conform/conformtest.pl: Remove duplicate typed-constant
67865         handling.
67867 2012-04-28  David S. Miller  <davem@davemloft.net>
67869         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67870         (check-abi-%): Remove AWK script prerequisite and explicit
67871         abilist directory.
67872         (check-abi): Rewrite to just diff the symlist with the abilist.
67873         (config-tls, config-abi-config): Delete, no longer used.
67874         (update-abi-%): Remove AWK script and explicit abilist directory.
67875         (update-abi): Rewrite to simply compare and conditionally copy the
67876         symlist and the sysdep abilist file.  Remove update-abi-config
67877         checks.
67878         * abilist/ld.abilist: Remove.
67879         * abilist/libBrokenLocale.abilist: Remove.
67880         * abilist/libanl.abilist: Remove.
67881         * abilist/libcrypt.abilist: Remove.
67882         * abilist/libdl.abilist: Remove.
67883         * abilist/librt.abilist: Remove.
67884         * abilist/libthread_db.abilist: Remove.
67885         * abilist/libutil.abilist: Remove.
67886         * scripts/extract-abilist.awk: Remove.
67887         * scripts/merge-abilist.awk: Remove.
67888         * sysdeps/generic/libcidn.abilist: New file.
67889         * sysdeps/generic/libnss_compat.abilist: New file.
67890         * sysdeps/generic/libnss_db.abilist: New file.
67891         * sysdeps/generic/libnss_dns.abilist: New file.
67892         * sysdeps/generic/libnss_files.abilist: New file.
67893         * sysdeps/generic/libnss_hesiod.abilist: New file.
67894         * sysdeps/generic/libnss_nis.abilist: New file.
67895         * sysdeps/generic/libnss_nisplus.abilist: New file.
67896         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67897         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67898         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67899         file.
67900         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67901         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67902         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67903         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67904         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67905         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67906         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67907         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67908         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67909         file.
67910         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67911         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67912         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67913         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67914         file.
67915         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67916         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67917         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67918         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67919         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67920         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67921         file.
67922         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67923         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67924         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67925         file.
67926         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67928         New file.
67929         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67930         New file.
67931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67932         New file.
67933         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67934         New file.
67935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67936         New file.
67937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67938         New file.
67939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67940         New file.
67941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67942         New file.
67943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67944         New file.
67945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67946         New file.
67947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67948         New file.
67949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67950         New file.
67951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67952         New file.
67953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67954         file.
67955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67956         New file.
67957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67958         New file.
67959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67960         file.
67961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67962         New file.
67963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67964         New file.
67965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67966         file.
67967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67968         New file.
67969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67970         New file.
67971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67972         New file.
67973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67974         New file.
67975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67976         New file.
67977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67978         New file.
67979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67981         file.
67982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67983         New file.
67984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67985         file.
67986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67987         file.
67988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67989         file.
67990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67991         file.
67992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67993         file.
67994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67995         New file.
67996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67997         file.
67998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67999         file.
68000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68001         New file.
68002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68003         file.
68004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68006         file.
68007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68008         New file.
68009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68010         file.
68011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68012         file.
68013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68014         file.
68015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68016         file.
68017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68018         file.
68019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68020         New file.
68021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68022         file.
68023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68024         file.
68025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68026         New file.
68027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68028         file.
68029         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68030         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68031         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68032         file.
68033         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68034         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68035         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68036         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68037         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68038         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68039         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68040         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68041         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68042         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68045         file.
68046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68047         New file.
68048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68049         file.
68050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68051         file.
68052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68053         file.
68054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68055         file.
68056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68057         file.
68058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68059         New file.
68060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68061         New file.
68062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68063         file.
68064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68065         New file.
68066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68067         file.
68068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68070         file.
68071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68072         New file.
68073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68074         file.
68075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68076         file.
68077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68078         file.
68079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68080         file.
68081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68082         file.
68083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68084         New file.
68085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68086         New file.
68087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68088         file.
68089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68090         New file.
68091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68092         file.
68094 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68096         * conform/conformtest.pl: Fix typo in handling typed-constant from
68097         allow-header.
68099 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68101         * README: Cut down references to pre-2.6 Linux kernels and
68102         Linuxthreads.  Update lists of configurations in libc and ports
68103         and sort alphabetically.  Say "or newer" with Linux kernel version
68104         requirements.
68106         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68108 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68110         [BZ #887]
68111         * math/libm-test.inc (logb_test_downward): New test to expose
68112         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68113         rounding mode.
68115 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68117         [BZ #14027]
68118         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68119         to be done.
68120         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68121         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68123 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68125         * sysdeps/unix/i386/brk.S: Remove file.
68126         * sysdeps/unix/i386/dl-brk.S: Likewise.
68127         * sysdeps/unix/i386/pipe.S: Likewise.
68128         * sysdeps/unix/i386/sigreturn.S: Likewise.
68129         * sysdeps/unix/i386/syscall.S: Likewise.
68130         * sysdeps/unix/i386/vfork.S: Likewise.
68131         * sysdeps/unix/i386/wait.S: Likewise.
68133         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68134         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68136         * configure.in (arm*-none*): Do not allow without
68137         --enable-hacker-mode.
68138         (netbsd*): Remove case setting base_os.
68139         (386bsd*): Likewise.
68140         (freebsd*): Likewise.
68141         (bsdi*): Likewise.
68142         (osf*): Likewise.
68143         (sunos*): Likewise.
68144         (ultrix*): Likewise.
68145         (newsos*): Likewise.
68146         (dynix*): Likewise.
68147         (*bsd*): Likewise.
68148         (sysv*): Likewise.
68149         (isc*): Likewise.
68150         (esix*): Likewise.
68151         (sco*): Likewise.
68152         (minix*): Likewise.
68153         (irix4*): Likewise.
68154         (irix6*): Likewise.
68155         (solaris[2-9]*): Likewise.
68156         (none): Likewise.
68157         * configure: Regenerated.
68159 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68161         [BZ #11521]
68162         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68163         overflow or cancellation in calculating denominator.
68164         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68165         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68166         down expression to avoid unexpected rounding in newer GCCs.
68167         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68169 2012-04-26  David S. Miller  <davem@davemloft.net>
68171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68172         long-double compat symbols.
68173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68187 2012-04-25  David S. Miller  <davem@davemloft.net>
68189         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68190         HWCAP_* values only after the memory barriers have been defined.
68191         (atomic_full_barrier): Define.
68192         (atomic_read_barrier): Define.
68193         (atomic_write_barrier): Define.
68195 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68197         * shlib-versions: Add libgcc_s version information.
68198         * sysdeps/generic/libgcc_s.h: Remove.
68199         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68200         libgcc_s.h.
68201         * sysdeps/gnu/unwind-resume.c: Likewise.
68202         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68204 2012-04-25  David S. Miller  <davem@davemloft.net>
68206         * sysdeps/unix/sparc/brk.S: Delete.
68207         * sysdeps/unix/sparc/dl-brk.S: Delete.
68208         * sysdeps/unix/sparc/pipe.S: Delete.
68209         * sysdeps/unix/sparc/sysdep.S: Delete.
68210         * sysdeps/unix/sparc/sysdep.h: Delete.
68211         * sysdeps/unix/sparc/vfork.S: Delete.
68212         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68213         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68214         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68215         (ret_ERRVAL, r0, r1, MOVE): Define.
68216         (JUMPTARGET): Remove.
68217         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68218         sysdeps/unix/sparc/sysdep.h
68219         (ENTRY, END): Remove.
68220         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68222 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68224         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68225         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68226         -DIS_IN_build.
68228         * timezone/README: Update upstream location and email address for
68229         tzcode and tzdata.
68230         * timezone/zdump.c: Update from tzcode 2012b.
68231         * timezone/zic.c: Likewise.
68233         * configure.in (libc_cv_as_needed): Remove test.
68234         * configure: Regenerated.
68235         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68236         conditional definition.
68237         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68238         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68239         * config.make.in (have-as-needed): Remove variable.
68241 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68242             Paul Pluzhnikov  <ppluzhnikov@google.com>
68244         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68245         strings correctly.
68247 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68249         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68250         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68251         * sysdeps/sh/strlen.S: Likewise.
68253 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68255         * sysdeps/unix/fork.S: Remove file.
68256         * sysdeps/unix/i386/fork.S: Likewise.
68257         * sysdeps/unix/sparc/fork.S: Likewise.
68259         * sysdeps/unix/system.c: Remove file.
68260         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68262         * sysdeps/unix/getegid.S: Remove file.
68263         * sysdeps/unix/geteuid.S: Likewise.
68265 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68267         * scripts/check-localplt.awk: New file.
68268         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68269         of diff.
68270         * scripts/data/localplt-generic.data: Add a comment.
68272         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68273         NODE when __dir_mkfile failed.
68274         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68275         Reported by Ludovic Courtès <ludo@gnu.org>.
68277 2012-04-24  Andreas Jaeger  <aj@suse.de>
68279         * Makerules (common-clean): Also remove gen-as-const-headers
68280         files.
68282 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68284         * Makerules (native-compile): Do not change working directory for
68285         build.  Use $(OUTPUT_OPTION) in command.
68286         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68288 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68290         [BZ #13886]
68291         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68292         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68293         * math/libm-test.inc (floor_test): Add more tests.
68294         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68296 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68298         * sysdeps/unix/getdents.c: Remove file.
68299         * sysdeps/unix/sysv/getdents.c: Likewise.
68300         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68302         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68303         sysdeps/unix/mman/syscalls.list.
68304         (mmap): Likewise.
68305         (mprotect): Likewise.
68306         (msync): Likewise.
68307         (munmap): Likewise.
68308         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68309         * sysdeps/unix/mman/syscalls.list: Remove.
68310         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68312         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68313         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68314         * configure: Regenerated.
68315         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68316         $(libgcc_s_suffix).
68317         * config.make.in (libgcc_s_suffix): Remove variable.
68319 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68321         * sysdeps/unix/sysv/gethostname.c: Move to ...
68322         * sysdeps/posix/gethostname.c: ... here.
68324         * sysdeps/unix/execve.S: Remove file.
68326         * sysdeps/unix/_exit.S: Remove file.
68328 2012-04-23  Andreas Jaeger  <aj@suse.de>
68330         [BZ #13739]
68331         * manual/Makefile: Remove make dist support, there's no
68332         need for a stand-alone documentation tar ball.
68333         (TEXI2DVI): Define always, it's not in Makeconfig.
68334         (dist): Removed.
68335         (tar-it): Removed.
68336         (edition): Removed.
68337         (glibc-doc-$(edition).tar): Removed
68338         (%.Z): Removed.
68339         (%.gz): Removed.
68340         (%.uu): Removed.
68341         (ETAGS): Remove, it's in Makeconfig.
68342         (move-if-change): Remove, it's in Makeconfig.
68344 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68346         [BZ #13970]
68347         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68348         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68349         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68350         (strtod_l, strtof_l, strtold_l): Remove __wur.
68351         It is not necessarily an error to ignore strtol's return value.
68352         One can reliably look at the stored endptr to decide whether
68353         the number had valid syntax.
68355 2012-04-21  Andreas Jaeger  <aj@suse.de>
68357         [BZ #13739]
68358         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68360 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68362         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68363         * sysdeps/unix/sysv/Versions: Remove file.
68365 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68367         [BZ #13927]
68368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68370 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68372         [BZ #7064]
68373         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68374         version from __vm86.
68376 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68378         * sysdeps/unix/common/lxstat.c: Remove file.
68379         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68381         * sysdeps/unix/sysv/Makefile: Remove file.
68383         * sysdeps/unix/sysv/direct.h: Remove file.
68385         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68386         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68387         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68388         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68389         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68390         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68391         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68393         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68395         * sysdeps/unix/xmknod.c: Remove file.
68396         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68398         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68400         * sysdeps/unix/sysv/i386/time.S: Remove file.
68402         * sysdeps/unix/fxstat.c: Remove file.
68403         * sysdeps/unix/xstat.c: Likewise.
68404         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68406         * sysdeps/unix/sysv/sigaction.c: Remove file.
68408         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68409         (sysdep_headers): Remove variable.
68410         [termio.h not in sysdep_headers] (generated): Likewise.
68411         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68412         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68413         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68414         * sysdeps/unix/sysv/tcflow.c: Likewise.
68415         * sysdeps/unix/sysv/tcflush.c: Likewise.
68416         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68417         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68418         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68419         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68420         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68422         * sysdeps/unix/siglist.c: Remove file.
68424         * sysdeps/unix/getppid.S: Remove file.
68426         * sysdeps/unix/mkdir.c: Remove file.
68427         * sysdeps/unix/rmdir.c: Likewise.
68429 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68431         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68432         ERR_MAX value.
68433         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68434         errlist-compat value.
68436 2012-04-18  David S. Miller  <davem@davemloft.net>
68438         * sysdeps/generic/memcopy.h (reg_char): Delete.
68439         * debug/strcat_chk.c: Use char, not reg_char.
68440         * debug/strcpy_chk.c: Likewise.
68441         * debug/strncat_chk.c: Likewise.
68442         * debug/strncpy_chk.c: Likewise.
68443         * string/memchr.c: Likewise.
68444         * string/memrchr.c: Likewise.
68445         * string/rawmemchr.c: Likewise.
68446         * string/strcat.c: Likewise.
68447         * string/strchr.c: Likewise.
68448         * string/strchrnul.c: Likewise.
68449         * string/strcmp.c: Likewise.
68450         * string/strcpy.c: Likewise.
68451         * string/strncat.c: Likewise.
68452         * string/strncmp.c: Likewise.
68453         * string/strncpy.c: Likewise.
68455 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68457         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68458         __builtin_memcopy is called when src and dest ranges are known to not
68459         overlap.
68461 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68463         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68464         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68465         fwd_align_merge macro call.
68466         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68467         bwd_align_merge macro call.
68468         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68470 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68472         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68473         bwd_align_merge macros.
68474         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68475         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68476         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68478 2012-04-18  David S. Miller  <davem@davemloft.net>
68480         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68482 2012-04-18  Andreas Jaeger  <aj@suse.de>
68484         [BZ# 6794]
68485         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68486         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68487         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68489         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68490         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68491         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68493         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68494         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68495         Adjust for changed ldbl-128 files.
68497         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68498         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68499         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68501 2012-04-17  David S. Miller  <davem@davemloft.net>
68503         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68505 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68507         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68508         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68509         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68510         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68511         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68512         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68514 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68516         [BZ #6794]
68517         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68518         * math/libm-test.inc: Add ilogb errno and exception tests.
68519         * math/w_ilogb.c: New file: ilogb wrapper.
68520         * math/w_ilogbf.c: New file: ilogbf wrapper.
68521         * math/w_ilogbl.c: New file: ilogbl wrapper.
68522         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68523         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68524         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68525         exception being thrown with 0.0 as argument.
68526         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68527         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68528         exception being thrown with 0.0 as argument.
68529         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68530         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68531         exception being thrown with 0.0 as argument.
68532         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68533         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68534         exception being thrown with 0.0 as argument.
68535         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68536         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68537         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68538         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68539         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68540         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68541         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68542         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68543         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68545 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68547         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68548         with altivec.
68550 2012-04-16  Marek Polacek  <polacek@redhat.com>
68552         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68554 2012-04-16  Marek Polacek  <polacek@redhat.com>
68556         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68557         operands of fdivp instruction.
68559 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68561         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68562         * elf/tst-auditmod3b.c: Likewise.
68563         * elf/tst-auditmod4b.c: Likewise.
68564         * elf/tst-auditmod5b.c: Likewise.
68565         * elf/tst-auditmod6b.c: Likewise.
68566         * elf/tst-auditmod6c.c: Likewise.
68567         * elf/tst-auditmod7b.c: Likewise.
68568         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68569         * sysdeps/x86_64/preconfigure.in: Likewise.
68570         * sysdeps/x86_64/preconfigure: Regenerated.
68572 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68574         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68575         __ILP32__.
68577 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68579         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68580         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68582 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68584         [BZ #13973]
68585         * locale/iso-639.def: Fix gl language name. Spotted by
68586         Yaron Shahrabani.
68588 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68590         [BZ #2074]
68591         * libio/libio.h (__io_write_fn): Update comment.
68593 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68595         [BZ #2074]
68596         * stdio.texi (Hook Functions): The user provided writer function
68597         is not allowed to return -1.
68599 2012-04-11  David S. Miller  <davem@davemloft.net>
68601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68603 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68605         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68606         Add a leading slash to rtkaio.
68608 2012-04-11  Jim Meyering  <meyering@redhat.com>
68610         [BZ #11959]
68611         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68612         It is not necessarily an error to ignore fwrite's return
68613         value.  One can reliably use ferror to test for errors after
68614         the fact.
68616 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68618         * bits/types.h (__snseconds_t): New type.
68619         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68621         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68623         (__SNSECONDS_T_TYPE): Likewise.
68624         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68625         (__SNSECONDS_T_TYPE): Likewise.
68626         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68627         (__SNSECONDS_T_TYPE): Likewise.
68629 2012-04-10  Andreas Jaeger  <aj@suse.de>
68631         [BZ #2636]
68632         * manual/time.texi (Processor Time): Return type of times is
68633         elapsed real time since an arbitrary point in the past.
68634         (CPU Time): Move CLK_TCK from here...
68635         (Processor Time): ...to here.  Correct description.
68636         * manual/conf.texi (Constants for Sysconf): Correct description of
68637         _SC_CLK_TCK.
68639 2012-04-10  David S. Miller  <davem@davemloft.net>
68641         [BZ #13967]
68642         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68643         where the is a gap between DT_REL(A) and DT_JMPREL.
68645 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68647         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68648         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68649         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68651 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68653         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68654         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68655         (dl_main): Handle --inhibit-cache.
68656         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68657         _dl_inhibit_cache.
68658         * elf/dl-load.c (_dl_map_object): Use it.
68659         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68661 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68663         [BZ #13872]
68664         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68665         (__ieee754_powl): Saturate large exponents rather than testing for
68666         overflow of y*log2(x).
68667         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68668         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68669         exceptions.
68671         [BZ #11521]
68672         * math/s_ctan.c: Include <float.h>.
68673         (__ctan): Avoid internal overflow or cancellation in calculating
68674         denominator.
68675         * math/s_ctanf.c: Likewise.
68676         * math/s_ctanl.c: Likewise.
68677         * math/s_ctanh.c: Likewise.
68678         * math/s_ctanhf.c: Likewise.
68679         * math/s_ctanhl.c: Likewise.
68680         * math/libm-test.inc (ctan_test): Add more tests.
68681         (ctanh_test): Likewise.
68682         * sysdeps/i386/fpu/libm-test-ulps: Update.
68683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68685 2012-04-09  Andreas Jaeger  <aj@suse.de>
68687         [BZ #6894]
68688         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68689         is an optional BSD extension.
68691         [BZ #10254]
68692         * manual/stdio.texi (Opening Streams): Document additional fopen
68693         parameters.
68695 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68697         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68698         %eax without telling the compiler.
68700 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68702         [BZ # 13963]
68703         * manual/install.texi: Use sourceware.org.
68705 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68707         [BZ #13873]
68708         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68709         (__ieee754_pow): Generate overflow and underflow using huge*huge
68710         and tiny*tiny rather than just returning constant infinity or zero
68711         for large exponents.
68712         * math/libm-test.inc (pow_test): Require overflow exceptions for
68713         applicable cases of large exponents.
68715         [BZ #706]
68716         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68717         (__ieee754_pow): Use iterative multiplication algorithm only for
68718         integer exponents with absolute value below 1024.  Check for odd
68719         integer exponents when using algorithm for real exponents.
68720         * math/libm-test.inc (pow_test): Add more tests.
68721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68723 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68725         [BZ #13705]
68726         * math/libm-test.inc (exp_test): Do not allow overflow exception
68727         on underflow test.
68729 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68731         [BZ #13705]
68732         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68733         instead of __kernel_standard_f.
68735 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68737         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68738         * sysdeps/x86_64/memset_chk.S: Likewise.
68740 2012-04-08  Andreas Jaeger  <aj@suse.de>
68742         [BZ #10153]
68743         * manual/startup.texi (Environment Access): Describe return value
68744         for putenv and setenv.
68746         [BZ #6895]
68747         * manual/filesys.texi (Directory Entries): Add description for
68748         DT_LNK.
68750         [BZ #6890]
68751         * manual/filesys.texi (Directory Entries): Clarify that it's file
68752         system not operating system in the description of DT_UNKNOWN.
68754         [BZ #6578]
68755         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68757 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68759         [BZ #6649]
68760         * manual/llio.texi (Opening and Closing Files): Add cross
68761         reference to explain mode argument.
68763 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68765         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68766         * sysdeps/x86_64/memset_chk.S: Likewise.
68768 2012-04-07  David S. Miller  <davem@davemloft.net>
68770         * elf/elf.h (R_SPARC_WDISP10): Define.
68771         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68772         R_SPARC_SIZE32.
68773         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68774         R_SPARC_SIZE64 and R_SPARC_H34.
68776 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68778         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68779         conditions and remove no longer applicable assertion.
68781 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68783         * bits/byteswap.h: Include <features.h>.
68784         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68785         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68787 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68789         * bits/byteswap.h (__bswap_16): Removed.
68790         Include <bits/byteswap-16.h> to get __bswap_16.
68791         * sysdeps/i386/bits/byteswap.h: Likewise.
68792         * sysdeps/s390/bits/byteswap.h: Likewise.
68793         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68794         * bits/byteswap-16.h: New file.
68795         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68796         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68797         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68798         * string/Makefile (headers): Add bits/byteswap-16.h.
68800 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68802         [BZ #13895]
68803         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68804         extra indirection.
68805         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68806         * nss/tst-nss-static.c: New.
68808 2012-04-06  Robert Millan  <rmh@gnu.org>
68810         [BZ #6486]
68811         * manual/llio.texi (File Position Primitive): lseek
68812         refers to WHENCE when it really means OFFSET.
68814 2012-04-06  Andreas Jaeger  <aj@suse.de>
68816         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68817         strncmp declarations.
68819         * abilist/libc.abilist: Add __poll and __ppoll.
68821 2012-04-05  David S. Miller  <davem@davemloft.net>
68823         * scripts/check-local-headers.sh: Accept a host triplet in the
68824         path matched by the exclude regexp.
68826         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68827         definition.
68828         * sysdeps/powerpc/powerpc32/dl-machine.h
68829         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68830         * sysdeps/s390/s390-32/dl-machine.h
68831         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68832         * sysdeps/sparc/sparc32/dl-machine.h
68833         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68834         * sysdeps/sparc/sparc64/dl-machine.h
68835         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68837         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68838         lazy binding.
68839         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68840         undefined symbol errors.
68842         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68843         DT_NEEDED entries.
68845 2012-04-05  Michael Matz  <matz@suse.de>
68847         [BZ #13592]
68848         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68850 2012-04-05  Andreas Jaeger  <aj@suse.de>
68852         [BZ #13908]
68853         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68854         comment.
68856 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68858         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68859         which ROUND is no valid rounding mode.
68861 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68863         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68864         read again.
68865         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68867 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68869         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68870         an exception using FPU order intentionally.
68872 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68874         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68875         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68876         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68877         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68879 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68881         [BZ #12340]
68882         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68883         EINVAL when BUFLEN is too smal.
68885 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68887         [BZ #13553]
68888         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68889         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68891 2012-04-03  Andreas Jaeger  <aj@suse.de>
68893         [BZ #13938]
68894         * manual/setjmp.texi (System V contexts): Fix sentence.
68896         [BZ #13926]
68897         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68898         New macro for this case.
68899         [!__GNUC__] (__bswap_64): New inline function for this case.
68900         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68901         * bits/byteswap.h: Likewise.
68902         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68903         ull, guard with __GLIBC_HAVE_LONG_LONG.
68905         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68906         __GLIBC_HAVE_LONG_LONG.
68908         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68909         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68911 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68913         [BZ #13691]
68914         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68915         inptr and inend, rather than using last_ch.
68917 2012-04-02  David S. Miller  <davem@davemloft.net>
68919         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68920         * stdio-common/printf-parse.h (read_int): Change return type to
68921         'int', return -1 on INT_MAX overflow.
68922         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68923         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68924         overflows INT_MAX.  Check for overflow of in-format-string precision
68925         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68926         SIZE_MAX not INT_MAX for integer overflow test.
68927         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68928         skip the construct in the format string but do not record anything.
68929         * stdio-common/bug22.c: Adjust to test both width/prevision
68930         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68931         explicitly for proper errno values.
68933 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68935         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68936         CHAR_MAX.
68937         * string/test-strcmp.c [! WIDE]: Likewise.
68938         * time/tst-mktime2.c: Likewise for INT_MAX.
68939         * string/test-string.h: #include <sys/param.h> for MIN.
68941         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68942         * sysdeps/i386/init-first.c (init): Likewise.
68943         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68944         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68945         * sysdeps/sh/init-first.c (init): Likewise.
68947 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68949         * po/ru.po: Update from translation team.
68950         * po/vi.po: Likewise.
68952 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68954         * resolv/nss_dns/dns-host.c: Merge copyright years.
68956 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68958         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68959         Optimize memcpy with prefetch if
68960         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68961         src, dst pointers have unequal 16 byte alignments.
68963 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68965         [BZ #13928]
68966         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68967         from a CNAME entry and return the minimum ttl for the query.
68968         (gaih_getanswer_slice): Likewise.
68970 2012-03-30  Jeff Law  <law@redhat.com>
68972         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68973         due to long keys.
68974         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68975         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68977         * resolv/nss_dns/dns-host.c: Update copyright year.
68979 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68981         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68982         requests to save a system call.  Fix check that all bytes are sent.
68984         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68985         comments for sendmmsg.
68987 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68989         [BZ #13691]
68990         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68991         with only 1 character between 0x0041 and 0x01b0.
68992         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68993         * wcsmbs/tst-mbsnrtowcs.c: New file.
68995 2012-03-29  David S. Miller  <davem@davemloft.net>
68997         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68998         small copies by hand.
69000 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69002         [BZ #13761]
69003         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69004         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69005         group memberships.
69007 2012-03-28  David S. Miller  <davem@davemloft.net>
69009         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69010         that branches into memcpy.
69011         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69012         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69014         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69015         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69016         bits.
69017         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69018         implementation too.
69019         * sysdeps/sparc/mempcpy.S: New file.
69021         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69022         the IFUNC routine in the libc case.
69023         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69025         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69026         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69027         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69028         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69029         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69030         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69031         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69032         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69034         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69035         loop to 256 bytes instead of 64 bytes and fix test signedness.
69037         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69038         * sysdeps/sparc/sparc32/Makefile: rather than here...
69039         * sysdeps/sparc/sparc64/Makefile: and here.
69041 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69043         * malloc/mallocbug.c: Avoid warnings about unused variables.
69045 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69047         [BZ #13760]
69048         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69049         in the right place. Discard and retry query if response is
69050         larger than input buffer size.
69052 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69054         [BZ #369]
69055         [BZ #2678]
69056         [BZ #3866]
69057         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69058         x for large integer exponent.
69059         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69060         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69061         sign of result as needed afterwards.
69062         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69063         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69064         result for underflowing pow the same as for overflow.
69065         (__kernel_standard_l): Handle powl overflow and underflow here
69066         rather than calling __kernel_standard.
69067         * math/libm-test.inc (pow_test): Add more tests.
69069         [BZ #3868]
69070         [BZ #13879]
69071         [BZ #13910]
69072         [BZ #13911]
69073         [BZ #13912]
69074         [BZ #13913]
69075         [BZ #13915]
69076         [BZ #13916]
69077         [BZ #13917]
69078         [BZ #13918]
69079         [BZ #13919]
69080         [BZ #13920]
69081         [BZ #13921]
69082         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69083         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69084         (__kernel_standard_l): New function.
69085         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69086         __kernel_standard.
69087         * math/w_acosl.c (__acosl): Likewise.
69088         * math/w_asinl.c (__asinl): Likewise.
69089         * math/w_atan2l.c (__atan2l): Likewise.
69090         * math/w_atanhl.c (__atanhl): Likewise.
69091         * math/w_coshl.c (__coshl): Likewise.
69092         * math/w_exp10l.c (__exp10l): Likewise.
69093         * math/w_exp2l.c (__exp2l): Likewise.
69094         * math/w_fmodl.c (__fmodl): Likewise.
69095         * math/w_hypotl.c (__hypotl): Likewise.
69096         * math/w_j0l.c (__j0l, __y0l): Likewise.
69097         * math/w_j1l.c (__j1l, __y1l): Likewise.
69098         * math/w_jnl.c (__jnl, __ynl): Likewise.
69099         * math/w_lgammal.c (__lgammal): Likewise.
69100         * math/w_log10l.c (__log10l): Likewise.
69101         * math/w_log2l.c (__log2l): Likewise.
69102         * math/w_logl.c (__logl): Likewise.
69103         * math/w_powl.c (__powl): Likewise.
69104         * math/w_remainderl.c (__remainderl): Likewise.
69105         * math/w_scalbl.c (sysv_scalbl): Likewise.
69106         * math/w_sinhl.c (__sinhl): Likewise.
69107         * math/w_sqrtl.c (__sqrtl): Likewise.
69108         * math/w_tgammal.c (__tgammal): Likewise.
69109         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69110         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69111         * math/libm-test.inc (acos_test): Add more tests.
69112         (acosh_test): Likewise.
69113         (asin_test): Likewise.
69114         (atanh_test): Likewise.
69115         (exp_test): Likewise.
69116         (exp10_test): Likewise.
69117         (exp2_test): Likewise.
69118         (expm1_test): Likewise.
69119         (lgamma_test): Likewise.
69120         (log_test): Likewise.
69121         (log10_test): Likewise.
69122         (log1p_test): Likewise.
69123         (log2_test): Likewise.
69124         (pow_test): Do not allow some spurious overflow exceptions.
69125         (sqrt_test): Add more tests.
69126         (tgamma_test): Likewise.
69127         (y0_test): Likewise.
69128         (y1_test): Likewise.
69129         (yn_test): Likewise.
69131 2012-03-27  Anton Blanchard  <anton@samba.org>
69133         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69134         MAP_HUGETLB.
69135         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69136         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69137         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69139 2012-03-27  David S. Miller  <davem@davemloft.net>
69141         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69143         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69144         have-as-vis3 check.
69146 2012-03-27  Andreas Jaeger  <aj@suse.de>
69148         * sysdeps/x86_64/elf/configure.in: Moved to ...
69149         * sysdeps/x86_64/configure.in: ... here.
69150         * sysdeps/x86_64/elf/start.S: Moved to ...
69151         * sysdeps/x86_64/start.S: ... here.
69152         * sysdeps/x86_64/elf/configure: Delete.
69154         * sysdeps/x86_64/configure.in: Merge contents from
69155         sysdeps/i386/configure.in (without i686 check).
69157         * sysdeps/i386/elf/Versions: Merge into ...
69158         * sysdeps/i386/Versions: ... this.
69159         * sysdeps/i386/elf/Versions: Delete file.
69160         * sysdeps/i386/elf/start.S: Moved to ...
69161         * sysdeps/i386/start.S: ...here.
69162         * sysdeps/i386/elf/configure.in: Merge into...
69163         * sysdeps/i386/configure.in: ...here.
69164         * sysdeps/i386/elf/configure.in: Delete file.
69165         * sysdeps/i386/elf/configure: Delete file.
69167         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69168         * debug/backtracesyms.c: ... here.
69169         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69170         * debug/backtracesymsfd.c: ... here.
69171         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69172         * sysdeps/generic/ifunc-sel.h: ... here.
69174         * sysdeps/unix/i386/start.c: Delete file.
69175         * sysdeps/unix/sparc/start.c: Delete file.
69176         * sysdeps/unix/start.c: Delete file.
69178         * sysdeps/sh/elf/configure.in: Moved to ...
69179         * sysdeps/sh/configure.in: ... here.
69180         * sysdeps/sh/elf/start.S: Moved to ...
69181         * sysdeps/sh/start.S: ... here.
69182         * sysdeps/sh/elf/configure: Delete file.
69184         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69185         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69186         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69187         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69188         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69189         * sysdeps/powerpc/powerpc64/start.S: here.
69190         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69191         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69192         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69193         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69194         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69196         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69197         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69198         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69199         * sysdeps/powerpc/powerpc32/start.S: ... here.
69200         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69201         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69202         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69204         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69205         * sysdeps/powerpc/ifunc-sel.h: ... here.
69206         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69207         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69209         * sysdeps/sparc/elf/configure.in: Moved to ...
69210         * sysdeps/sparc/configure.in: ... here.
69211         * sysdeps/sparc/elf/configure: Delete file.
69212         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69213         * sysdeps/sparc/sparc32/start.S: ... here.
69214         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69215         * sysdeps/sparc/sparc64/start.S: ... here.
69216         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69217         * sysdeps/sparc/sparc32/Makefile: ... this.
69218         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69219         * sysdeps/sparc/sparc64/Makefile: ... this.
69221         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69222         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69223         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69224         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69225         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69226         * sysdeps/s390/s390-32/setjmp.S: ... here.
69227         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69228         * sysdeps/s390/s390-32/configure.in: ... here.
69229         * sysdeps/s390/s390-32/elf/configure: Delete file.
69230         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69231         * sysdeps/s390/s390-32/start.S: ... here.
69233         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69234         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69235         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69236         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69237         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69238         * sysdeps/s390/s390-64/setjmp.S: ... here.
69239         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69240         * sysdeps/s390/s390-64/configure.in: ... here
69241         * sysdeps/s390/s390-64/elf/configure: Delete file.
69242         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69243         * sysdeps/s390/s390-64/start.S: ... here.
69244         * sysdeps/s390/s390-64/elf/configure: Delete.
69246         * configure.in: Remove support for elf directories in sysdeps.
69248         * configure: Regenerated.
69249         * sysdeps/i386/configure: Regenerated.
69250         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69251         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69252         * sysdeps/s390/s390-32/configure: Regenerated.
69253         * sysdeps/s390/s390-64/configure: Regenerated.
69254         * sysdeps/sh/configure: Regenerated.
69255         * sysdeps/sparc/configure: Regenerated.
69256         * sysdeps/x86_64/configure: Regenerated.
69258 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69262         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69263         denormal result into account.
69265 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69267         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69268         Reported by Allan McRae <allan@archlinux.org>.
69270 2012-03-23  Jeff Law  <law@redhat.com>
69272         * nss/getnssent.c (__nss_getent): Fix typo.
69274 2012-03-23  David S. Miller  <davem@davemloft.net>
69276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69278 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69280         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69281         to pad to uint64_t for each field.
69282         (dl_tls_index): Replace unsigned long with uint64_t.
69284 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69285         Paul Pluzhnikov  <ppluzhnikov@google.com>
69287         [BZ #6528]
69288         * grp/Makefile (otherlibs): Don't set it.
69289         * inet/Makefile (otherlibs): Likewise.
69290         * login/Makefile (otherlibs): Likewise.
69291         * nscd/Makefile (otherlibs): Likewise.
69292         * posix/Makefile (otherlibs): Likewise.
69293         * pwd/Makefile (otherlibs): Likewise.
69294         * rt/Makefile (otherlibs): Likewise.
69295         * sunrpc/Makefile (otherlibs): Likewise.
69296         * nss/Makefile (otherlibs): Likewise.
69297         Add libnss_files to routines and static-only-routines.
69298         ($(objpfx)getent): Remove rule.
69299         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69300         static-only-routines.
69302 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69304         [BZ #13892]
69305         * math/s_cexp.c: Include <float.h>.
69306         (__cexp): Handle exp result overflowing not necessarily
69307         overflowing both real and imaginary parts of result.
69308         * math/s_cexpf.c: Likewise.
69309         * math/s_cexpl.c: Likewise.
69310         * math/libm-test.inc (cexp_test): Add more tests.
69311         * sysdeps/i386/fpu/libm-test-ulps: Update.
69312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69314 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69316         * include/link.h (ELFW): New macro.
69317         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69318         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69320 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69322         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69323         with uint64_t.
69325 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69327         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69328         declaration.
69329         (struct La_x32_retval): Likewise.
69331 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69333         * sysdeps/x86_64/preconfigure.in: New file.
69334         * sysdeps/x86_64/preconfigure: New generated file.
69336 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69338         [BZ #13824]
69339         * math/e_exp2l.c: Include <float.h>.
69340         (__ieee754_exp2l): Handle overflow and underflow cases
69341         separately.  Only pass fractional part of argument to
69342         __ieee754_expl.
69343         * math/libm-test.inc (exp2_test): Add more tests.
69345         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69346         negating x to take absolute value.
69347         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69348         Likewise.
69349         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69350         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69351         Likewise.
69352         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69353         computing low part if x was negated.
69354         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69356 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69358         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69359         la_x32_gnu_pltexit.
69360         (pltexit): Cast int_retval to ptrdiff_t.
69361         * elf/tst-auditmod3b.c: Likewise.
69362         * elf/tst-auditmod4b.c: Likewise.
69363         * elf/tst-auditmod5b.c: Likewise.
69364         * elf/tst-auditmod6b.c: Likewise.
69365         * elf/tst-auditmod6c.c: Likewise.
69366         * elf/tst-auditmod7b.c: Likewise.
69368         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69369         and x32_gnu_pltexit.
69371         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69372         __ELF_NATIVE_CLASS.
69373         (La_x32_regs): New macro.
69374         (La_x32_retval): Likewise.
69375         (la_x32_gnu_pltenter): New function prototype.
69376         (la_x32_gnu_pltexit): Likewise.
69378 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69380         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69381         exponent.
69383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69385         * configure.in (libc_cv_cc_nofma): Check for option to disable
69386         generation of FMA instructions.
69387         * configure: Regenerate.
69388         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69389         * sysdeps/ieee754/dbl-64/Makefile: New file.
69390         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69391         Remove brandred-fma4.
69392         (CFLAGS-brandred-fma4.c): Remove.
69393         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69394         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69395         define.
69396         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69397         define.
69399 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69401         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69402         LLONG_MAX != LONG_MAX.
69403         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69404         (_fitoa_word): Likewise.
69405         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69406         LLONG_MAX != LONG_MAX.
69407         * stdio-common/_itowa.h: Include <_itoa.h>.
69408         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69409         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69410         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69411         only if not defined.
69412         (_ITOA_WORD_TYPE): Likewise.
69413         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69414         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69416 2012-03-21  David S. Miller  <davem@davemloft.net>
69418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69420 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69422         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69423         of x86_64 when setting libc_cv_slibdir, libdir and
69424         libc_cv_localedir.
69425         * sysdeps/unix/sysv/linux/configure: Regenerated.
69427 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69429         * manual/lang.texi (Old Varargs): Remove section.
69430         (How Variadic): Update menu.
69431         (va_start): Do not mention varargs.h.
69433 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69434             Joseph Myers  <joseph@codesourcery.com>
69436         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69437         link test.
69438         * configure: Regenerated.
69440 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69442         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69443         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69444         conformtest.pl
69446 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69448         * NOTES: Remove.
69449         * Makefile (files-for-dist): Remove NOTES.
69450         (NOTES): Remove rule.
69451         * README: Don't refer to NOTES.
69452         * manual/creature.texi: Don't include macros.texi.
69453         * manual/intro.texi (creature.texi): Remove comment referring to
69454         NOTES.
69456         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69457         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69458         * configure: Regenerated.
69459         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69460         LIBC_TRY_CC_OPTION.
69461         (libc_cv_as_i686): Likewise.
69462         (libc_cv_cc_avx): Likewise.
69463         (libc_cv_cc_sse2avx): Likewise.
69464         (libc_cv_cc_fma4): Likewise.
69465         (libc_cv_cc_novzeroupper): Likewise.
69466         * sysdeps/i386/configure: Regenerated.
69468         [BZ #13883]
69469         * sysdeps/i386/fpu/s_cexp.S: Remove.
69470         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69471         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69472         * math/libm-test.inc (cexp_test): Add more tests.
69473         * sysdeps/i386/fpu/libm-test-ulps: Update.
69474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69476 2012-03-21  Allan McRae  <allan@archlinux.org>
69478         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69480 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69482         [BZ #13871]
69483         * math/w_exp2.c: Do not include <float.h>.
69484         (o_threshold, u_threshold): Remove.
69485         (__exp2): Calculate result before checking finiteness and calling
69486         __kernel_standard.
69487         * math/w_exp2f.c: Likewise.
69488         * math/w_exp2l.c: Likewise.
69489         * math/libm-test.inc (exp2_test): Require overflow exception for
69490         1e6 input.
69492         [BZ #3866]
69493         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69494         range of signed 64-bit integers before using fistpll.  Remove
69495         checks for whether integers fit in mantissa bits.
69496         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69497         the range of signed 32-bit integers before using fistpl.  Remove
69498         checks for whether integers fit in mantissa bits.
69499         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69500         (__ieee754_powl): Test for y outside the range of signed 64-bit
69501         integers before using fistpll.  Reduce 64-bit values to 63-bit
69502         ones as needed.
69503         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69504         divide-by-zero is raised for zero to large negative powers.
69505         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69506         (__ieee754_powl): Test for y outside the range of signed 64-bit
69507         integers before using fistpll.  Reduce 64-bit values to 63-bit
69508         ones as needed.
69509         * math/libm-test.inc (pow_test): Add more tests.
69511 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69513         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69514         <stdio-common/_itoa.h>.
69515         * debug/segfault.c: Likewise.
69516         * elf/dl-cache.c: Likewise.
69517         * elf/dl-minimal.c: Likewise.
69518         * elf/dl-misc.c: Likewise.
69519         * elf/dl-sysdep.c: Likewise.
69520         * elf/dl-version.c: Likewise.
69521         * elf/rtld.c: Likewise.
69522         * hurd/hurdsock.c: Likewise.
69523         * hurd/lookup-retry.c: Likewise.
69524         * malloc/malloc.c: Likewise.
69525         * malloc/mtrace.c: Likewise.
69526         * nscd/nscd_getgr_r.c: Likewise.
69527         * nscd/nscd_getpw_r.c: Likewise.
69528         * nscd/nscd_getserv_r.c: Likewise.
69529         * posix/getopt_init.c: Likewise.
69530         * posix/wordexp.c: Likewise.
69531         * stdio-common/_itoa.c: Likewise.
69532         * stdio-common/printf_fphex.c: Likewise.
69533         * stdio-common/vfprintf.c: Likewise.
69534         * string/_strerror.c: Likewise.
69535         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69536         * sysdeps/i386/i686/hp-timing.h: Likewise.
69537         * sysdeps/mach/_strerror.c: Likewise.
69538         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69539         * sysdeps/mach/hurd/sethostid.c: Likewise.
69540         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69541         * sysdeps/mach/xpg-strerror.c: Likewise.
69542         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69543         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69544         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69545         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69546         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69547         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69548         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69549         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69550         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69551         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69552         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69553         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69554         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69555         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69556         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69557         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69558         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69559         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69560         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69561         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69562         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69564         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69566         * stdio-common/_itoa.h: Moved to ...
69567         * sysdeps/generic/_itoa.h: Here.
69569         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69571         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69572         instead of "_itoa.h" and "_itowa.h".
69573         * stdio-common/vfprintf.: Likewise.
69575 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69577         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69578         <bits/wordsize.h>.
69579         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69580         (__signbit): Likwise.
69581         (llrintf): Likwise.
69582         (llrint): Likwise.
69584 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69586         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69587         __WORDSIZE != 64.
69589 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69591         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69592         OVERFLOW_EXCEPTION_OK.
69593         * math/libm-test.inc ("Philosophy"): Update comment about
69594         exception testing.
69595         (OVERFLOW_EXCEPTION): Define.
69596         (OVERFLOW_EXCEPTION_OK): Likewise.
69597         (INVALID_EXCEPTION_OK): Renumber.
69598         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69599         (IGNORE_ZERO_INF_SIGN): Likewise.
69600         (test_exceptions): Handle FE_OVERFLOW.
69601         (exp10_test): Expect overflow exceptions.
69602         (exp2_test): Likewise.
69603         (expm1_test): Likewise.
69604         (nextafter_test): Likewise.
69605         (pow_test): Likewise.
69606         (scalbn_test): Likewise.
69607         (scalbln_test): Likewise.
69609 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69611         * sysdeps/x86_64/bits/atomic.h
69612         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69613         64bit integer.
69614         (atomic_exchange_acq): Likewise.
69615         (__arch_exchange_and_add_body): Likewise.
69616         (__arch_add_body): Likewise.
69617         (atomic_add_negative): Likewise.
69618         (atomic_add_zero): Likewise.
69620 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69622         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69623         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69625 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69627         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69628         Check __x86_64__ instead of __WORDSIZE.
69630 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69632         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69634 2012-03-19  David S. Miller  <davem@davemloft.net>
69636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69638         * sysdeps/sparc/fpu/fenv_private.h: New file.
69639         * sysdeps/sparc/fpu/math_private.h: Use it.
69640         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69641         Remove.
69642         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69643         (libc_feholdexcept_setroundl): Remove.
69644         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69645         Remove.
69646         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69647         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69649 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69651         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69652         int64_t instead of long int.
69653         (INSERT_WORDS64): Likwise.
69655 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69657         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69658         _Unwind_GetCFA return to _Unwind_Ptr first.
69660 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69662         [BZ #13629]
69663         * math/s_clog.c: Include <float.h>.
69664         (__clog): Scale large or subnormal inputs.
69665         * math/s_clogf.c: Likewise.
69666         * math/s_clogl.c: Likewise.
69667         * math/s_clog10.c: Include <float.h>.
69668         (M_LOG10_2): Define.
69669         (__clog10): Scale large or subnormal inputs.
69670         * math/s_clog10f.c: Likewise.
69671         * math/s_clog10l.c: Likewise.
69672         * math/libm-test.inc (clog_test): Add more tests.
69673         (clog10_test): Likewise.
69674         * sysdeps/i386/fpu/libm-test-ulps: Update.
69675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69677         [BZ #11451]
69678         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69679         x and y.
69680         * math/libm-test.inc (atan2_test): Add another test.
69682         * Makerules (common-objdir-compile): Remove.
69683         * sysdeps/unix/Makefile (config-generated): Do not add
69684         $(unix-generated) to variable.
69685         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69686         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69687         Remove rule.
69688         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69689         Likewise.
69690         [generic bits/local_lim.h] (before-compile): Do not append to
69691         variable.
69692         [generic bits/local_lim.h] (common-generated): Likewise.
69693         [generic sys/param.h] (before-compile): Do not append to variable.
69694         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69695         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69696         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69697         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69698         include.
69699         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69700         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69701         [generic sys/param.h] ($(addprefix
69702         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69703         [generic sys/param.h] (common-generated): Do not append to
69704         variable.
69705         [generic sys/param.h] (sysdep_headers): Likewise.
69706         [generic bits/errno.h] (before-compile): Do not append to
69707         variable.
69708         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69709         rule.
69710         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69711         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69712         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69713         [generic bits/errno.h] (common-generated): Do not append to
69714         variable.
69715         [generic bits/ioctls.h] (before-compile): Do not append to
69716         variable.
69717         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69718         rule.
69719         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69720         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69721         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69722         rule.
69723         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69724         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69725         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69726         [generic bits/ioctls.h] (common-generated): Do not append to
69727         variable.
69728         [generic sys/syscall.h] (syscall.h): Remove variable.
69729         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69730         rule.
69731         [generic sys/syscall.h] (before-compile): Do not append to
69732         variable.
69733         [generic sys/syscall.h] (common-generated): Likewise.
69734         * sysdeps/unix/errnos-tmpl.c: Remove file.
69735         * sysdeps/unix/errnos.awk: Likewise.
69736         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69737         * sysdeps/unix/ioctls.awk: Likewise.
69738         * sysdeps/unix/mk-local_lim.c: Likewise.
69739         * sysdeps/unix/snarf-ioctls: Likewise.
69741 2012-03-19  Richard Henderson  <rth@twiddle.net>
69743         * sysdeps/i386/fpu/fenv_private.h: New file.
69744         * sysdeps/i386/fpu/math_private.h: Use it.
69745         (math_opt_barrier, math_force_eval): Remove.
69746         (libc_feholdexcept_setround_53bit): Remove.
69747         (libc_feupdateenv_53bit): Remove.
69748         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69749         (math_opt_barrier, math_force_eval): Remove.
69750         (libc_feholdexcept): Remove.
69751         (libc_feholdexcept_setround): Remove.
69752         (libc_fetestexcept, libc_fesetenv): Remove.
69753         (libc_feupdateenv_test): Remove.
69754         (libc_feupdateenv, libc_feholdsetround): Remove.
69755         (libc_feresetround): Remove.
69757         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69758         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69760         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69761         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69762         (libc_feupdateenv_testl): New.
69763         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69764         (libc_feupdateenv_testf): New.
69765         (libc_feupdateenv): Use libc_feupdateenv_test.
69766         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69767         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69769         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69770         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69771         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69772         (libc_feresetround_noex): New.
69773         (libc_feresetround_noexf): New.
69774         (libc_feresetround_noexl): New.
69775         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69776         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69777         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69778         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69779         SET_RESTORE_ROUND.
69780         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69781         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69782         (__cos): Likewise.
69783         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69784         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69785         SET_RESTORE_ROUND_NOEX.
69786         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69787         SET_RESTORE_ROUND_NOEXF.
69788         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69789         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69790         (libc_feholdsetroundf): New.
69791         (libc_feresetround, libc_feresetroundf): New.
69793         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69794         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69795         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69797         * sysdeps/generic/math_private.h: Include <fenv.h>.
69798         (default_libc_feholdexcept): New.
69799         (default_libc_feholdexcept_setround): New.
69800         (default_libc_fesetenv, default_libc_feupdateenv): New.
69801         (libc_feholdexcept): Only define if undefined.
69802         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69803         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69804         (libc_feholdexcept_setroundl): Likewise.
69805         (libc_feholdexcept_setround_53bit): Likewise.
69806         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69807         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69808         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69809         (libc_feupdateenv_53bit): Likewise.
69810         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69811         (libc_feholdexcept): Convert from macro to inline function.
69812         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69813         (libc_fesetenv, libc_feupdateenv): Likewise.
69815         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69816         not previously defined.
69817         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69818         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69819         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69820         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69821         * sysdeps/ieee754/flt-32/math_private.h: New file.
69822         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69823         math_private.h below SET_FLOAT_WORD.
69824         (__isnan, __isinf_ns, __finite): Remove.
69825         (__isnanf, __isinf_nsf, __finitef): Remove.
69827 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69831 2012-03-17  David S. Miller  <davem@davemloft.net>
69833         [BZ #6471]
69834         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69835         for 2.16.
69837 2012-03-16  David S. Miller  <davem@davemloft.net>
69839         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69840         warnings.
69842         [BZ #6471]
69843         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69844         properly.
69845         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69846         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69847         sysdep_routines when subdir is sysvipc.
69848         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69849         __getshmlba helper.
69851         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69853 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69855         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69856         [__LP64__].
69858 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69860         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69861         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69862         (__lround): Renamed to ...
69863         (__llround): This.  Replace long int with long long int.
69864         Define lround functions as aliases of llround functions.
69865         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69867 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69869         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69870         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69871         adresses to uintptr_t.  Replace "long int" and "unsigned long
69872         int" with "greg_t" on va_arg.
69874 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69876         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69877         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69879         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69880         Move e_machine check before EI_CLASS check.  Handle x32
69881         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69882         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69883         SKIP_EM_IA_64 and include
69884         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69886         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69887         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69888         (add_system_dir): New macro.
69890         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69891         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69893 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69895         [BZ #2551]
69896         [BZ #2552]
69897         [BZ #2553]
69898         [BZ #2554]
69899         [BZ #2562]
69900         [BZ #2563]
69901         [BZ #2565]
69902         [BZ #2566]
69903         [BZ #2576]
69904         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69905         (y0): Likewise.
69906         * math/w_j0f.c (j0f): Likewise.
69907         (y0f): Likewise.
69908         * math/w_j0l.c (__j0l): Likewise.
69909         (__y0l): Likewise.
69910         * math/w_j1.c (j1): Likewise.
69911         (y1): Likewise.
69912         * math/w_j1f.c (j1f): Likewise.
69913         (y1f): Likewise.
69914         * math/w_j1l.c (__j1l): Likewise.
69915         (__y1l): Likewise.
69916         * math/w_jn.c (jn): Likewise.
69917         (yn): Likewise.
69918         * math/w_jnf.c (jnf): Likewise.
69919         (ynf): Likewise.
69920         * math/w_jnl.c (__jnl): Likewise.
69921         (__ynl): Likewise.
69922         * math/libm-test.inc (j0_test): Add more tests.
69923         (j1_test): Likewise.
69924         (jn_test): Likewise.  Add trailing semicolon to existing test.
69925         (y0_test): Likewise.
69926         (y1_test): Likewise.
69927         * sysdeps/i386/fpu/libm-test-ulps: Update.
69928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69930         [BZ #13851]
69931         [BZ #13854]
69932         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69933         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69934         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69935         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69936         (__tanl): Set errno for infinite argument.
69937         * sysdeps/i386/fpu/mptan.c: Remove.
69938         * sysdeps/i386/fpu/s_tan.S: Likewise.
69939         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69940         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69941         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69942         * math/libm-test.inc (tan_test): Add more tests and enable more
69943         tests for double and long double.
69944         * sysdeps/i386/fpu/libm-test-ulps: Update.
69945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69947 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69949         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69950         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69952 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69954         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69955         * configure.in: Use it for both main tree and add-ons.
69956         * configure: Regenerated.
69958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69960         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69962 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69964         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69965         in comment.
69967         [BZ #13851]
69968         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69969         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69970         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69971         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69972         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69973         infinite argument.
69974         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69975         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69976         != 0 for prec == 2.
69977         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69978         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69979         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69980         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69981         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69982         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69983         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69984         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69985         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69986         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69987         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69988         * math/libm-test.inc (cos_test): Add more tests and enable more
69989         tests for long double.
69990         (sin_test): Likewise.
69991         (sincos_test): Likewise.
69992         * sysdeps/i386/fpu/libm-test-ulps: Update.
69993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69995 2012-03-16  David S. Miller  <davem@davemloft.net>
69997         * sysdeps/sparc/fpu/math_private.h: New file.
69999 2012-03-15  David S. Miller  <davem@davemloft.net>
70001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70002         file.
70003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70005         file.
70006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70011         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70012         sysdep routines.
70013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70015         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70016         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70018         * sysdeps/sparc/sparc-ifunc.h: New file.
70019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70020         sparc-ifunc.h
70021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70023         Likewise.
70024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70025         Likewise.
70026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70030         Likewise.
70031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70036         Likewise.
70037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70038         Likewise.
70039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70043         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70044         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70045         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70046         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70047         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70051         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70052         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70053         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70054         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70055         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70056         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70057         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70058         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70059         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70060         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70061         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70062         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70064 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70066         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70067         scaling.
70068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70070 2012-03-15  Andreas Jaeger  <aj@suse.de>
70072         [BZ #13852]
70073         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70074         ieee754/flt-32 implementation for sin, cos and sincos.
70075         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70076         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70077         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70078         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70079         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70080         ieee754/flt-32 implementation for tan.
70082         * math/libm-test.inc (cos_test): Enable some large input tests for
70083         float as well
70084         (sin_test): Likewise.
70085         (sincos_test): Likewise.
70086         (tan_test): Add tests for large input.
70088         * sysdeps/i386/fpu/libm-test-ulps: Update.
70090 2012-03-15  Andreas Jaeger  <aj@suse.de>
70092         [BZ #13658]
70093         * math/libm-test.inc (cos_test): Add more test cases.
70094         (sin_test): Likewise.
70095         (sincos_test): Likewise.
70097 2012-03-15  Andreas Jaeger  <aj@suse.de>
70099         [BZ #13837]
70100         * math/libm-test.inc (cos_test): Add a test case for large input
70101         value.
70102         (sin_test): Likewise.
70103         (sincos_test): Likewise.
70105 2012-03-15  Andreas Jaeger  <aj@suse.de>
70106             Joseph Myers  <joseph@codesourcery.com>
70108         [BZ #13658]
70109         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70110         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70111         * sysdeps/i386/fpu/branred.c: Likewise.
70112         * sysdeps/i386/fpu/dosincos.c: Likewise.
70113         * sysdeps/i386/fpu/mpa.c: Likewise.
70114         * sysdeps/i386/fpu/s_cos.S: Likewise.
70115         * sysdeps/i386/fpu/s_sin.S: Likewise.
70116         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70117         * sysdeps/i386/fpu/sincos32.c: Likewise.
70119         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70120         Define.
70121         (libc_feupdateenv_53bit): Define.
70122         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70123         Define.
70124         (libc_feupdateenv_53bit): Define.
70126         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70127         53 bit (without extend i386 double precision).
70129         * math/libm-test.inc (sincos_test): Add tests for large input.
70130         (sin): Likewise.
70131         (cos): Likewise.
70133         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70135 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70139 2012-03-15  David S. Miller  <davem@davemloft.net>
70141         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70142         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70143         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70144         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70157         file.
70158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70160         file.
70161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70163         file.
70164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70166         file.
70167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70168         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70169         fmin/fmax sysdep routines.
70170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70172 2012-03-14  David S. Miller  <davem@davemloft.net>
70174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70178         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70179         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70180         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70181         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70183         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70184         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70185         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70188         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70189         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70190         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70191         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70194         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70195         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70196         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70197         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70198         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70199         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70200         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70201         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70202         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70203         routines.
70204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70205         file.
70206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70208         file.
70209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70211         file.
70212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70214         file.
70215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70217         file.
70218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70220         file.
70221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70222         file.
70223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70224         file.
70225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70226         file.
70227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70228         New file.
70229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70230         file.
70231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70232         file.
70233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70235         file.
70236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70238         file.
70239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70241         file.
70242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70244         VIS3 routines.
70246         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70247         New file.
70249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70251         * sysdeps/sparc/configure.in: New file.
70252         * sysdeps/sparc/configure: Generate.
70253         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70254         * configure: Regenerate.
70255         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70256         * config.make.in (have-as-vis3): New.
70257         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70258         available use -Av9d instead of -Av9a.
70259         * sysdeps/sparc/sparc64/Makefile: Likewise.
70260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70262         New file.
70263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70264         file.
70265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70266         New file.
70267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70268         file.
70269         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70270         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70271         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70272         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70273         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70275         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70276         fzeros/fnegs to load 0x80000000 into a float register instead of
70277         using the stack.
70278         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70280 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70282         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70283         bits/syscall.h.
70284         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70285         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70286         ($(inst_includedir)/bits/syscall.h): Remove rule.
70287         ($(objpfx)bits/syscall.d): Include instead of
70288         $(objpfx)syscall-list.d.
70289         (generated): Change syscall-list.h and syscall-list.d to
70290         bits/syscall.h and bits/syscall.d.
70292 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70294         [BZ #13846]
70295         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70297 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70299         [BZ #13841]
70300         * math/s_csqrt.c: Include <float.h>.
70301         (__csqrt): Scale large or subnormal inputs.
70302         * math/s_csqrtf.c: Likewise.
70303         * math/s_csqrtl.c: Likewise.
70304         * math/libm-test.inc (csqrt_test): Add more tests.
70305         * sysdeps/i386/fpu/libm-test-ulps: Update.
70306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70308         [BZ #13840]
70309         * math/libm-test.inc (hypot_test): Add more tests.
70311 2012-03-13  David S. Miller  <davem@davemloft.net>
70313         [BZ #13840]
70314         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70315         double-precision for the calculation instead of scaling.
70317 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70319         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70320         manipulate bits before adding and subtracting TWO52[sx].
70321         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70322         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70323         Likewise.
70324         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70326 2012-03-13  David S. Miller  <davem@davemloft.net>
70328         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70329         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70330         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70331         rtld-global-offsets.h
70332         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70334         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70335         large parameters.
70337         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70339         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70340         'err' in the ifdef scope in which it is actually used.
70342         * nss/nss_db/db-init.c: Include string.h
70344 2012-03-12  David S. Miller  <davem@davemloft.net>
70346         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70347         masking out of the most significant byte of random value used.
70348         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70349         Fix coding style in previous change.
70351         * sysdeps/unix/sysv/linux/kernel-features.h
70352         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70353         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70354         expression.
70355         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70356         later.
70358 2012-03-11  David S. Miller  <davem@davemloft.net>
70360         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70361         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70362         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70363         for 'resultvar' otherwise things get truncated on 64-bit.
70365         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70366         Fix masking out of the most significant byte of random value used.
70368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70370 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70374 2012-03-09  David S. Miller  <davem@davemloft.net>
70376         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70377         variables with appropriate CPP guards.
70378         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70379         from the frame pointer, not the stack pointer.  Correct layout
70380         comments.  Fix test on resulting framesize and the management of
70381         the outregs buffer for pltexit.  Preserve floating point return
70382         values across _dl_call_pltexit call.
70383         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70384         framesize and the management of the outregs buffer for pltexit.
70385         Preserve floating point return values across _dl_call_pltexit
70386         call.
70387         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70388         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70389         (la_sparc64_gnu_pltexit): New functions.
70390         (print_exit): Fix format string for return register value.
70392 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70394         * sunrpc/Makefile (others): Add rpcgen.
70395         ($(objpfx)rpcgen): Remove special build rule and dependency on
70396         libc.
70397         * sunrpc/rpcgen.c: New file.
70399 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70401         [BZ #13673]
70402         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70403         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70404         * sysdeps/i386/crti.S: Likewise.
70405         * sysdeps/i386/crtn.S: Likewise.
70406         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70407         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70408         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70409         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70410         * sysdeps/sh/crti.S: Likewise.
70411         * sysdeps/sh/crtn.S: Likewise.
70412         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70414         [BZ #13673]
70415         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70416         with URL.
70417         * locale/programs/locfile-kw.gperf: Likewise.
70418         * locale/programs/charmap-kw.h: Regenerated.
70419         * locale/programs/locfile-kw.h: Likewise.
70421         [BZ #13673]
70422         * intl/plural.y: Replace FSF snail mail address with URL.
70423         * intl/plural.c: Regenerated.
70425 2012-03-09  Richard Henderson  <rth@twiddle.net>
70427         * include/math_private.h: Remove file.
70428         * math/math_private.h: Move file ...
70429         * sysdeps/generic/math_private.h: ... here.
70431         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70432         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70433         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70435         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70436         and <math_private.h>.
70437         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70438         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70439         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70440         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70441         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70442         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70443         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70444         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70445         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70446         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70447         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70448         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70449         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70450         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70451         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70452         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70453         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70454         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70455         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70456         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70457         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70458         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70459         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70460         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70461         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70462         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70463         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70464         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70465         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70466         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70467         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70468         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70469         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70470         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70471         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70472         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70473         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70474         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70475         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70476         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70477         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70478         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70479         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70480         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70481         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70482         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70483         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70484         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70485         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70486         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70487         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70488         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70489         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70490         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70491         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70492         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70493         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70494         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70495         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70496         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70497         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70498         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70499         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70500         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70501         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70502         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70503         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70504         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70505         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70506         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70507         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70508         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70509         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70510         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70511         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70512         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70513         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70514         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70515         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70516         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70517         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70518         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70519         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70520         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70521         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70522         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70523         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70524         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70525         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70526         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70527         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70528         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70529         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70530         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70531         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70532         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70533         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70534         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70535         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70536         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70537         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70538         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70539         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70540         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70541         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70542         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70543         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70544         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70545         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70546         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70547         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70548         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70549         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70550         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70551         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70552         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70553         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70554         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70555         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70556         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70557         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70558         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70559         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70560         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70561         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70562         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70563         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70564         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70565         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70566         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70567         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70568         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70569         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70570         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70571         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70572         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70573         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70574         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70575         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70576         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70577         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70578         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70579         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70580         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70581         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70582         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70583         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70584         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70585         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70586         * sysdeps/ieee754/k_standard.c: Likewise.
70587         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70588         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70589         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70590         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70591         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70592         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70593         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70594         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70595         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70596         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70597         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70598         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70599         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70600         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70601         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70602         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70603         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70604         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70605         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70606         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70607         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70608         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70609         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70610         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70611         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70612         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70613         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70614         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70615         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70616         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70617         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70618         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70619         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70620         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70621         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70622         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70623         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70624         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70625         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70626         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70627         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70628         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70629         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70630         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70631         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70632         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70633         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70634         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70635         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70636         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70637         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70638         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70639         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70640         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70641         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70642         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70643         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70644         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70645         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70646         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70647         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70648         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70649         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70650         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70651         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70652         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70653         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70654         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70655         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70656         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70657         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70658         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70659         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70660         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70661         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70662         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70663         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70664         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70665         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70666         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70667         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70668         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70669         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70670         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70671         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70672         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70673         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70674         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70675         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70676         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70677         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70678         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70679         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70680         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70681         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70682         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70683         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70684         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70685         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70686         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70687         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70688         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70689         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70690         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70691         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70692         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70693         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70694         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70695         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70696         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70697         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70698         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70699         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70700         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70701         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70702         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70703         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70704         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70705         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70706         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70707         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70708         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70709         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70710         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70711         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70712         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70713         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70714         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70715         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70716         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70717         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70718         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70719         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70720         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70721         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70722         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70723         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70724         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70725         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70726         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70727         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70728         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70729         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70730         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70731         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70732         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70733         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70734         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70735         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70736         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70737         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70738         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70739         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70740         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70741         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70742         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70743         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70744         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70745         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70746         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70747         * sysdeps/ieee754/s_lib_version.c: Likewise.
70748         * sysdeps/ieee754/s_matherr.c: Likewise.
70749         * sysdeps/ieee754/s_signgam.c: Likewise.
70750         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70751         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70752         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70753         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70754         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70755         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70756         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70757         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70758         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70759         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70760         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70761         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70762         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70763         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70764         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70765         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70766         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70767         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70768         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70769         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70770         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70772 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70774         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70775         * sunrpc/rpc_main.c: Likewise.
70776         * sunrpc/rpc_svcout.c: Likewise.
70778 2012-03-09  David S. Miller  <davem@davemloft.net>
70780         * include/math_private.h: New file.
70782 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70784         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70785         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70786         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70787         from <bits/socket_type.h>.
70788         (enum __socket_type): Don't define here.
70789         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70790         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70791         bits/socket_type.h.
70793         [BZ #13566]
70794         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70795         checking __USE_GNU.
70797         * Makerules ($(inst_includedir)/%.h): New rule.
70798         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70799         (install-others): Remove variable setting.
70800         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70802 2012-03-08  Richard Henderson  <rth@twiddle.net>
70804         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70805         from macro to inline function; merge with the
70806         !__LIBC_INTERNAL_MATH_INLINES version.
70807         (__ieee754_sqrtf): Likewise.
70809         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70810         to inline function.
70811         (__rintf, __floor, __floorf): Likewise.
70813         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70814         macro to inline function.
70815         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70817         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70818         not <math/math_private.h>.
70820 2012-03-08  David S. Miller  <davem@davemloft.net>
70822         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70823         copyright year.
70824         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70826 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70828         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70829         normalization.
70830         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70831         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70833 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70835         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70836         be defined individually, they must be defined as a block.  Define
70837         S for printing a string instead of hidint the different by using a
70838         macro for adding the 'l'.
70839         * stdio-common/tst-fphex-wide.c: Adjust.
70841 2012-03-07  Marek Polacek  <polacek@redhat.com>
70843         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70845 2012-03-08  Marek Polacek  <polacek@redhat.com>
70847         [BZ #13806]
70848         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70849         * stdio-common/tst-fphex.c: Define a few macros to make the
70850         test reusable.  Use them.
70851         * stdio-common/tst-fphex-wide.c: New file.
70853 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70855         [BZ #6911]
70856         * manual/macros.texi (gnusystems): New macro.
70857         (nongnusystems): Likewise.
70858         (gnulinuxhurdsystems): Likewise.
70859         (gnuhurdsystems): Likewise..
70860         (gnulinuxsystems): Likewise.
70861         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70862         variants of the GNU system, not "GNU system".
70863         * manual/conf.texi: Likewise.
70864         * manual/errno.texi: Likewise.  Update example of errno macro
70865         expansion.
70866         * manual/filesys.texi: Likewise.
70867         (getumask): Document as specific to GNU/Hurd.
70868         * manual/install.texi: Likewise.  Reword some references to
70869         GNU/Linux.
70870         * manual/intro.texi: Likewise.
70871         * manual/io.texi: Likewise.
70872         (File Name Portability): Detail which constraints are inapplicable
70873         to all GNU systems and which are only inapplicable to GNU/Hurd.
70874         * manual/job.texi: Likewise.
70875         * manual/llio.texi: Likewise.
70876         (O_NOCTTY): Document as present on GNU/Linux.
70877         * manual/maint.texi: Likewise.
70878         * manual/memory.texi: Likewise.
70879         * manual/pattern.texi: Likewise.
70880         * manual/pipe.texi: Likewise.
70881         * manual/process.texi: Likewise.
70882         * manual/resource.texi: Likewise.
70883         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70884         child on GNU/Hurd.
70885         * manual/setjmp.texi: Likewise.
70886         * manual/signal.texi: Likewise.
70887         * manual/startup.texi: Likewise.
70888         * manual/stdio.texi: Likewise.
70889         * manual/terminal.texi: Likewise.
70890         (ONLCR): Document as POSIX.
70891         (OXTABS): Document availability on GNU/Linux as XTABS.
70892         (ONOEOT): Document availability separately from other bits.
70893         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70894         * manual/time.texi: Likewise.
70895         * manual/users.texi: Likewise.
70896         * INSTALL: Regenerated.
70897         * sysdeps/gnu/errlist.c: Regenerated.
70899         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70900         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70901         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70902         puts.
70903         * configure: Regenerated.
70905 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70907         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70908         default includes instead of AC_HEADER_CHECK.
70909         * sysdeps/i386/configure: Regenerated.
70911         [BZ #10716]
70912         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70913         * math/s_cacoshf.c (__cacoshf): Likewise.
70914         * math/s_cacoshl.c (__cacoshl): Likewise.
70915         * math/s_casinh.c (__casinh): Set signs of result from argument.
70916         * math/s_casinhf.c (__casinhf): Likewise.
70917         * math/s_casinhl.c (__casinhl): Likewise.
70918         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70919         (casinh_test): Add more tests.
70920         * sysdeps/i386/fpu/libm-test-ulps: Update.
70921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70923 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70925         * po/zh_TW.po: Update from translation team.
70927         * login/Makefile (distribute): Remove variable.
70928         * catgets/Makefile: Likewise.
70929         * mach/Makefile: Likewise.
70930         * malloc/Makefile: Likewise.
70931         * misc/Makefile: Likewise.
70932         * iconv/Makefile: Likewise.
70933         * nscd/Makefile: Likewise.
70934         * hurd/Makefile: Likewise.
70935         * manual/Makefile: Likewise.
70936         * locale/Makefile: Likewise.
70937         * intl/Makefile: Likewise.
70938         * conform/Makefile: Likewise.
70939         * nss/Makefile: Likewise.
70940         * time/Makefile: Likewise.
70941         * soft-fp/Makefile: Likewise.
70942         * dirent/Makefile: Likewise.
70943         * gmon/Makefile: Likewise.
70944         * po/Makefile: Likewise.
70945         * rt/Makefile: Likewise.
70946         * socket/Makefile: Likewise.
70947         * math/Makefile: Likewise.
70948         * signal/Makefile: Likewise.
70949         * debug/Makefile: Likewise.
70950         * elf/Makefile: Likewise.
70951         * timezone/Makefile: Likewise.
70952         * stdlib/Makefile: Likewise.
70953         * iconvdata/Makefile: Likewise.
70954         * sunrpc/Makefile: Likewise.
70955         * io/Makefile: Likewise.
70956         * argp/Makefile: Likewise.
70957         * inet/Makefile: Likewise.
70958         * hesiod/Makefile: Likewise.
70959         * grp/Makefile: Likewise.
70960         * csu/Makefile: Likewise.
70961         * wctype/Makefile: Likewise.
70962         * crypt/Makefile: Likewise.
70963         * libio/Makefile: Likewise.
70964         * string/Makefile: Likewise.
70965         * nis/Makefile: Likewise.
70966         * resolv/Makefile: Likewise.
70967         * stdio-common/Makefile: Likewise.
70968         * wcsmbs/Makefile: Likewise.
70969         * dlfcn/Makefile: Likewise.
70970         * posix/Makefile: Likewise.
70972         [BZ #6959]
70973         * timezone/Makefile: Don't install timezone files, just the programs
70974         and scripts.
70976 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70978         * nss/databases.def: Add missing gshadow entry.
70980         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70982 2012-03-06  Marek Polacek  <polacek@redhat.com>
70984         [BZ #13726]
70985         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70986         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70987         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70988         * stdio-common/tst-long-dbl-fphex.c: New file.
70990 2012-03-06  David S. Miller  <davem@davemloft.net>
70992         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70993         (set_obp_int): New function.
70994         (get_obp_int): New function.
70995         (__get_clockfreq_via_dev_openprom): Likewise.
70996         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70997         Avoid unused variable warnings on 'val' and use builtin_expect.
70998         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70999         __builtin_expect.
71000         (INLINE_CLONE_SYSCALL): Likewise.
71002 2012-03-05  David S. Miller  <davem@davemloft.net>
71004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71006 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71010         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71011         only for |x| >= 40.
71012         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71014 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71016         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71017         Replace gettimeofday with __vdso_gettimeofday.
71019         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71020         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71021         __vdso_clock_gettime and __vdso_getcpu.
71023         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71024         time with __vdso_time.
71026 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71028         * manual/lang.texi (size_t): Note types to which size_t may be
71029         equivalent with the GNU C Library, but do not describe when
71030         differences between them are significant.
71032 2012-03-05  Andreas Jaeger  <aj@suse.de>
71034         * sysdeps/i386/fpu/libm-test-ulps: Update.
71036 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71038         [BZ #3976]
71039         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71040         (__ieee754_pow): Save and restore rounding mode and use
71041         round-to-nearest for main computations.
71042         * math/libm-test.inc (pow_test_tonearest): New function.
71043         (pow_test_towardzero): Likewise.
71044         (pow_test_downward): Likewise.
71045         (pow_test_upward): Likewise.
71046         (main): Call the new functions.
71047         * sysdeps/i386/fpu/libm-test-ulps: Update.
71048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71050         [BZ #3976]
71051         * math/libm-test.inc (cosh_test_tonearest): New function.
71052         (cosh_test_towardzero): Likewise.
71053         (cosh_test_downward): Likewise.
71054         (cosh_test_upward): Likewise.
71055         (sinh_test_tonearest): Likewise.
71056         (sinh_test_towardzero): Likewise.
71057         (sinh_test_downward): Likewise.
71058         (sinh_test_upward): Likewise.
71059         (main): Call the new functions.
71060         * sysdeps/i386/fpu/libm-test-ulps: Update.
71061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71063 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71065         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71066         default stack guard is set in last bytes.
71067         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71069 2012-03-05  Kees Cook  <keescook@chromium.org>
71071         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71073         [BZ #13656]
71074         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71075         possibly allocate from heap instead of stack.
71076         * stdio-common/bug-vfprintf-nargs.c: New file.
71077         * stdio-common/Makefile (tests): Add nargs overflow test.
71079 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71083 2012-03-03  Marek Polacek  <polacek@redhat.com>
71085         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71086         * math/math_private.h: Likewise.
71087         * stdlib/tst-strtod.c: Likewise.
71088         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71089         * sysdeps/x86_64/bits/atomic.h: Likewise.
71091 2012-03-02  David S. Miller  <davem@davemloft.net>
71093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71097         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71098         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71099         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71100         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71102 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71104         [BZ #13792]
71105         * manual/examples/README: New file, says the example source files
71106         can be used under GPL>=2.
71107         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71108         line containing just "*/".
71109         * manual/examples/add.c: Add copyright header (GPL>=2).
71110         * manual/examples/argp-ex1.c: Likewise.
71111         * manual/examples/argp-ex2.c: Likewise.
71112         * manual/examples/argp-ex3.c: Likewise.
71113         * manual/examples/argp-ex4.c: Likewise.
71114         * manual/examples/atexit.c: Likewise.
71115         * manual/examples/db.c: Likewise.
71116         * manual/examples/dir.c: Likewise.
71117         * manual/examples/dir2.c: Likewise.
71118         * manual/examples/execinfo.c: Likewise.
71119         * manual/examples/filecli.c: Likewise.
71120         * manual/examples/filesrv.c: Likewise.
71121         * manual/examples/fmtmsgexpl.c: Likewise.
71122         * manual/examples/genpass.c: Likewise.
71123         * manual/examples/inetcli.c: Likewise.
71124         * manual/examples/inetsrv.c: Likewise.
71125         * manual/examples/isockad.c: Likewise.
71126         * manual/examples/longopt.c: Likewise.
71127         * manual/examples/memopen.c: Likewise.
71128         * manual/examples/memstrm.c: Likewise.
71129         * manual/examples/mkfsock.c: Likewise.
71130         * manual/examples/mkisock.c: Likewise.
71131         * manual/examples/mygetpass.c: Likewise.
71132         * manual/examples/pipe.c: Likewise.
71133         * manual/examples/popen.c: Likewise.
71134         * manual/examples/rprintf.c: Likewise.
71135         * manual/examples/search.c: Likewise.
71136         * manual/examples/select.c: Likewise.
71137         * manual/examples/setjmp.c: Likewise.
71138         * manual/examples/sigh1.c: Likewise.
71139         * manual/examples/sigusr.c: Likewise.
71140         * manual/examples/stpcpy.c: Likewise.
71141         * manual/examples/strdupa.c: Likewise.
71142         * manual/examples/strftim.c: Likewise.
71143         * manual/examples/strncat.c: Likewise.
71144         * manual/examples/subopt.c: Likewise.
71145         * manual/examples/swapcontext.c: Likewise.
71146         * manual/examples/termios.c: Likewise.
71147         * manual/examples/testopt.c: Likewise.
71148         * manual/examples/testpass.c: Likewise.
71149         * manual/examples/timeval_subtract.c: Likewise.
71151         [BZ #13792]
71152         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71153         function to ...
71154         * manual/timeval_subtract.c.texi: ... here, new file.
71156 2012-03-02  David S. Miller  <davem@davemloft.net>
71158         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71160 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71162         [BZ #3976]
71163         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71164         (__sin): Save and restore rounding mode and use round-to-nearest
71165         for all computations.
71166         (__cos): Save and restore rounding mode and use round-to-nearest
71167         for all computations.
71168         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71169         <fenv.h>.
71170         (tan): Save and restore rounding mode and use round-to-nearest for
71171         all computations.
71172         * math/libm-test.inc (cos_test_tonearest): New function.
71173         (cos_test_towardzero): Likewise.
71174         (cos_test_downward): Likewise.
71175         (cos_test_upward): Likewise.
71176         (sin_test_tonearest): Likewise.
71177         (sin_test_towardzero): Likewise.
71178         (sin_test_downward): Likewise.
71179         (sin_test_upward): Likewise.
71180         (tan_test_tonearest): Likewise.
71181         (tan_test_towardzero): Likewise.
71182         (tan_test_downward): Likewise.
71183         (tan_test_upward): Likewise.
71184         (main): Call the new functions.
71185         * sysdeps/i386/fpu/libm-test-ulps: Update.
71186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71188         [BZ #10135]
71189         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71190         small n, then large n, before computing and testing k+n.
71191         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71192         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71193         Likewise.
71194         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71195         Likewise.
71196         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71197         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71198         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71199         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71200         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71201         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71202         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71203         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71204         * math/libm-test.inc (scalbn_test): Add more tests.
71205         (scalbln_test): Likewise.
71207         * manual/filesys.texi (mode_t): Describe constraints on size and
71208         signedness, not exact equivalence to a particular type.
71209         (ino_t): Likewise.
71210         (ino64_t): Likewise.
71211         (dev_t): Likewise.
71212         (nlink_t): Likewise.
71213         (blkcnt_t): Likewise.
71214         (blkcnt64_t): Likewise.
71215         * manual/llio.texi (off_t): Likewise.
71217         [BZ #3976]
71218         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71219         (__ieee754_exp): Save and restore rounding mode and use
71220         round-to-nearest for all computations.
71221         * math/libm-test.inc (exp_test_tonearest): New function.
71222         (exp_test_towardzero): Likewise.
71223         (exp_test_downward): Likewise.
71224         (exp_test_upward): Likewise.
71225         (main): Call the new functions.
71226         * sysdeps/i386/fpu/libm-test-ulps: Update.
71227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71229 2012-03-01  Chris Demetriou  <cgd@google.com>
71231         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71232         have predictable order.
71234 2012-03-01  David S. Miller  <davem@davemloft.net>
71236         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71238         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71239         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71240         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71241         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71243         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71244         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71245         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71247         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71248         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71249         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71250         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71251         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71255         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71256         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71257         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71259         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71260         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71261         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71262         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71263         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71264         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71265         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71266         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71267         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71268         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71269         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71270         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71272         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71273         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71274         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71275         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71276         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71277         * sysdeps/sparc/elf/configure: Regenerated.
71279 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71281         * configure.in (AS, LD): Require binutils 2.20 or later.
71282         * configure: Regenerated.
71283         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71284         as required minimum version.
71285         * INSTALL: Regenerated.
71287         [BZ #2541]
71288         [BZ #4108]
71289         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71290         before squaring exponent.
71291         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71292         bottom long double and 27 bits of top long double before squaring
71293         exponent.
71294         * math/libm-test.inc (erfc_test): Add more tests.
71295         * sysdeps/i386/fpu/libm-test-ulps: Update.
71296         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71299 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71301         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71302         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71303         containing bit-fields.
71304         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71305         * soft-fp/single.h (_FP_UNION_S): Likewise.
71306         * soft-fp/double.h (_FP_UNION_D): Likewise.
71308 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71310         [BZ #13786]
71311         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71312         not include ../strcmp.S.
71313         [USE_AS_STRNCASECMP_L]: Likewise.
71314         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71315         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71316         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71317         (__strncasecmp_l_ia32): Define as alias to
71318         __strncasecmp_l_nonascii.
71320         [BZ #5794]
71321         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71322         * sysdeps/i386/fpu/libm-test-ulps: Update.
71323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71325         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71328 2012-02-29  Jeff Law  <law@redhat.com>
71330         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71331         out of bounds read.
71333 2012-02-29  Marek Polacek  <polacek@redhat.com>
71335         [BZ #13706]
71336         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71337         * elf/Makefile: Add rules to run tst-unused-dep.out.
71339 2012-02-28  David S. Miller  <davem@davemloft.net>
71341         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71342         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71343         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71344         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71345         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71346         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71348 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71350         * math/libm-test.inc (llround_test): Move one test from
71351         lround_test.  Use TEST_f_L in moved test.
71352         (lround_test): Move misplaced test to llround_test.  Add testcase
71353         from bug 2561.
71355 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71357         * sysdeps/x86_64/fpu/e_expf.S: New file.
71358         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71360 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71362         [BZ #13637]
71363         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71364         of remain_len that may cause incomplete multi-byte character and
71365         false match.
71366         * posix/bug-regex33.c: New file.
71367         * posix/Makefile (tests): Add bug-regex33.
71369 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71371         * manual/macros.texi: New file.
71372         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71373         * manual/libc.texinfo: Include macros.texi.
71374         * manual/creatute.texi: Likewise.
71375         * manual/install.texi: Likewise.
71376         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71377         @glibcadj{} in references to the GNU C Library.
71378         * manual/charset.texi: Likewise.
71379         * manual/conf.texi: Likewise.
71380         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71381         when not using those macros.
71382         * manual/creature.texi: Likewise.
71383         * manual/crypt.texi: Likewise.
71384         * manual/errno.texi: Likewise.
71385         * manual/filesys.texi: Likewise.
71386         * manual/header.texi: Likewise.
71387         * manual/install.texi: Likewise.
71388         * manual/intro.texi: Likewise.
71389         * manual/io.texi: Likewise.
71390         * manual/job.texi: Likewise.
71391         * manual/lang.texi: Likewise.
71392         * manual/libc.texiinfo: Likewise.
71393         * manual/llio.texi: Likewise.
71394         * manual/locale.texi: Likewise.
71395         * manual/maint.texi: Likewise.
71396         * manual/math.texi: Likewise.
71397         * manual/memory.texi: Likewise.
71398         * manual/message.texi: Likewise.
71399         * manual/nss.texi: Likewise.
71400         * manual/pattern.texi: Likewise.
71401         * manual/process.texi: Likewise.
71402         * manual/resource.texi: Likewise.
71403         * manual/search.texi: Likewise.
71404         * manual/setjmp.texi: Likewise.
71405         * manual/signal.texi: Likewise.
71406         * manual/socket.texi: Likewise.
71407         * manual/startup.texi: Likewise.
71408         * manual/stdio.texi: Likewise.
71409         * manual/string.texi: Likewise.
71410         * manual/sysinfo.texi: Likewise.
71411         * manual/syslog.texi: Likewise.
71412         * manual/terminal.texi: Likewise.
71413         * manual/time.texi: Likewise.
71414         * manual/users.texi: Likewise.
71415         * INSTALL: Regenerated.
71416         * NOTES: Regenerated.
71417         * sysdeps/gnu/errlist.c: Regenerated.
71419 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71421         * include/dirent.h: Include <dirstream.h> before
71422         <dirent/dirent.h>.
71424 2012-02-28  David S. Miller  <davem@davemloft.net>
71426         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71427         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71428         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71429         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71431 2012-02-27  David S. Miller  <davem@davemloft.net>
71433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71435         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71436         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71439         frame pointer instead of stack pointer relative arg slot.
71440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71441         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71442         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71444 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71446         [BZ #3992]
71447         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71449 2012-02-27  David S. Miller  <davem@davemloft.net>
71451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71455         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71456         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71457         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71458         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71460 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71462         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71463         later.  Allow versions 5-9.
71464         * configure: Regenerated.
71465         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71466         required minimum version and 4.6 as recommended version.  Do not
71467         mention bugs in GCC 2.7 and 2.8.
71468         * INSTALL: Regenerated.
71470 2012-02-27  David S. Miller  <davem@davemloft.net>
71472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71476         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71477         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71478         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71479         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71481         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71482         manipulate bits before adding and subtracting TWO112[sx].
71483         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71485 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71487         [BZ #13775]
71488         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71489         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71490         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71491         being in POSIX, because they are in 1003.1-2008.
71493         * rt/tst-aio.c: Include <fcntl.h>.
71494         * rt/tst-aio7.c: Likewise.
71495         * rt/tst-aio64.c: Likewise.
71497         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71499 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71501         * manual/install.texi (--with-headers): Describe headers as
71502         interface headers, not private headers.
71503         (Specific advice for GNU/Linux systems): Describe use of headers
71504         from "make headers_install", not private headers from older
71505         kernels.
71506         * INSTALL: Regenerated.
71507         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71508         Change to 2.6.19.
71509         * sysdeps/unix/sysv/linux/configure: Regenerated.
71511         * manual/llio.texi (fclean): Remove documentation.
71513         * manual/Makefile (libc-texi-generated): New variable.  Include
71514         version.texi.
71515         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71516         $(libc-texi-generated), not duplicated list of files.
71517         (version.texi, stamp-version): New rules.
71518         (realclean): Remove $(libc-texi-generated), not individual files
71519         from that list.  Do not remove dir-add.texinfo.
71520         * manual/libc.texinfo: Comment out uses of edition numbers and
71521         references to printed manual.  Remove last-updated dates.
71522         (EDITION): Comment out.
71523         (ISBN): Likewise.
71524         (VERSION, UPDATED): Remove.
71525         (version.texi): Include.
71527 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71529         * sysdeps/posix/spawni.c: Include <signal.h>.
71530         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71531         * sysdeps/pthread/aio_fsync.c: Likewise.
71533 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71535         * conform/Makefile (tests): Run only when not cross-compiling and
71536         when fast-check is not defined.
71538         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71539         * conform/data/limits.h-data: Fixes for POSIX2008.
71540         * conform/run-conformtest.sh: Run all tests.
71541         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71542         headers.
71543         * include/bits/dlfcn.h: Likewise.
71544         * include/langinfo.h: Likewise.
71545         * include/monetary.h: Likewise.
71546         * include/sys/poll.h: Likewise.
71548         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71549         for __USE_GNU.
71550         * posix/spawn.h: Define __need_sigset_t.
71551         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71552         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71553         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71554         to get sigevent_t only.
71555         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71556         only for __USE_GNU.
71557         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71558         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71559         process_vm_writev only for __USE_GNU.
71560         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71562         * conform/Makefile: For now ignore errors from run-conformtest.
71563         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71564         POSIX to avoid namespace pollution.  Don't prepend headers.
71565         * conform/data/aio.h-data: Fixes for POSIX testing.
71566         * conform/data/fcntl.h-data: Likewise.
71567         * conform/data/glob.h-data: Likewise.
71568         * conform/data/grp.h-data: Likewise.
71569         * conform/data/pthread.h-data: Likewise.
71570         * conform/data/pwd.h-data: Likewise.
71571         * conform/data/signal.h-data: Likewise.
71572         * conform/data/spawn.h-data: Likewise.
71573         * conform/data/stdio.h-data: Likewise.
71574         * conform/data/stdlib.h-data: Likewise.
71575         * conform/data/stropts.h-data: Likewise.
71576         * conform/data/sys/mman.h-data: Likewise.
71577         * conform/data/sys/stat.h-data: Likewise.
71578         * conform/data/sys/types.h-data: Likewise.
71579         * conform/data/sys/wait.h-data: Likewise.
71580         * conform/data/time.h-data: Likewise.
71581         * conform/data/unistd.h-data: Likewise.
71582         * conform/data/utime.h-data: Likewise.
71584         * io/sys/stat.h: fchmod was always in POSIX.
71585         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71586         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71587         * rt/aio.h: Define __need_timespec before including <time.h>.
71588         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71589         struct.  Add forward declaration of pthread_attr_t and use it in
71590         sigevent.
71591         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71592         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71593         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71594         always remove CLK_TCK definition.
71596 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71598         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71600 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71602         * conform/run-conformtest.sh: New file.
71603         * conform/Makefile: Run run-conformtest for tests.
71604         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71605         support.
71607         * conform/data/uchar.h-data: New file.
71608         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71609         * conform/data/arpa/inet.h-data: Likewise.
71610         * conform/data/assert.h-data: Likewise.
71611         * conform/data/complex.h-data: Likewise.
71612         * conform/data/cpio.h-data: Likewise.
71613         * conform/data/ctype.h-data: Likewise.
71614         * conform/data/dirent.h-data: Likewise.
71615         * conform/data/dlfcn.h-data: Likewise.
71616         * conform/data/errno.h-data: Likewise.
71617         * conform/data/fcntl.h-data: Likewise.
71618         * conform/data/float.h-data: Likewise.
71619         * conform/data/fmtmsg.h-data: Likewise.
71620         * conform/data/fnmatch.h-data: Likewise.
71621         * conform/data/ftw.h-data: Likewise.
71622         * conform/data/glob.h-data: Likewise.
71623         * conform/data/grp.h-data: Likewise.
71624         * conform/data/iconv.h-data: Likewise.
71625         * conform/data/inttypes.h-data: Likewise.
71626         * conform/data/langinfo.h-data: Likewise.
71627         * conform/data/libgen.h-data: Likewise.
71628         * conform/data/limits.h-data: Likewise.
71629         * conform/data/locale.h-data: Likewise.
71630         * conform/data/math.h-data: Likewise.
71631         * conform/data/monetary.h-data: Likewise.
71632         * conform/data/mqueue.h-data: Likewise.
71633         * conform/data/ndbm.h-data: Likewise.
71634         * conform/data/net/if.h-data: Likewise.
71635         * conform/data/netdb.h-data: Likewise.
71636         * conform/data/netinet/in.h-data: Likewise.
71637         * conform/data/nl_types.h-data: Likewise.
71638         * conform/data/poll.h-data: Likewise.
71639         * conform/data/pthread.h-data: Likewise.
71640         * conform/data/pwd.h-data: Likewise.
71641         * conform/data/regex.h-data: Likewise.
71642         * conform/data/sched.h-data: Likewise.
71643         * conform/data/search.h-data: Likewise.
71644         * conform/data/semaphore.h-data: Likewise.
71645         * conform/data/setjmp.h-data: Likewise.
71646         * conform/data/signal.h-data: Likewise.
71647         * conform/data/spawn.h-data: Likewise.
71648         * conform/data/stdarg.h-data: Likewise.
71649         * conform/data/stdio.h-data: Likewise.
71650         * conform/data/stdlib.h-data: Likewise.
71651         * conform/data/string.h-data: Likewise.
71652         * conform/data/strings.h-data: Likewise.
71653         * conform/data/stropts.h-data: Likewise.
71654         * conform/data/sys/ipc.h-data: Likewise.
71655         * conform/data/sys/mman.h-data: Likewise.
71656         * conform/data/sys/msg.h-data: Likewise.
71657         * conform/data/sys/resource.h-data: Likewise.
71658         * conform/data/sys/select.h-data: Likewise.
71659         * conform/data/sys/sem.h-data: Likewise.
71660         * conform/data/sys/shm.h-data: Likewise.
71661         * conform/data/sys/socket.h-data: Likewise.
71662         * conform/data/sys/stat.h-data: Likewise.
71663         * conform/data/sys/statvfs.h-data: Likewise.
71664         * conform/data/sys/time.h-data: Likewise.
71665         * conform/data/sys/timeb.h-data: Likewise.
71666         * conform/data/sys/times.h-data: Likewise.
71667         * conform/data/sys/types.h-data: Likewise.
71668         * conform/data/sys/uio.h-data: Likewise.
71669         * conform/data/sys/un.h-data: Likewise.
71670         * conform/data/sys/utsname.h-data: Likewise.
71671         * conform/data/sys/wait.h-data: Likewise.
71672         * conform/data/syslog.h-data: Likewise.
71673         * conform/data/tar.h-data: Likewise.
71674         * conform/data/termios.h-data: Likewise.
71675         * conform/data/utime.h-data: Likewise.
71676         * conform/data/utmpx.h-data: Likewise.
71677         * conform/data/varargs.h-data: Likewise.
71678         * conform/data/wchar.h-data: Likewise.
71679         * conform/data/wctype.h-data: Likewise.
71680         * conform/data/wordexp.h-data: Likewise.
71682         * include/stropts.h: New file.
71683         * include/uchar.h: New file.
71684         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71685         * include/assert.h: Likewise.
71686         * include/ctype.h: Likewise.
71687         * include/dirent.h: Likewise.
71688         * include/dlfcn.h: Likewise.
71689         * include/fcntl.h: Likewise.
71690         * include/fnmatch.h: Likewise.
71691         * include/glob.h: Likewise.
71692         * include/grp.h: Likewise.
71693         * include/libio.h: Likewise.
71694         * include/locale.h: Likewise.
71695         * include/math.h: Likewise.
71696         * include/net/if.h: Likewise.
71697         * include/netdb.h: Likewise.
71698         * include/netinet/in.h: Likewise.
71699         * include/pthread.h: Likewise.
71700         * include/pwd.h: Likewise.
71701         * include/regex.h: Likewise.
71702         * include/sched.h: Likewise.
71703         * include/search.h: Likewise.
71704         * include/setjmp.h: Likewise.
71705         * include/signal.h: Likewise.
71706         * include/stdio.h: Likewise.
71707         * include/stdlib.h: Likewise.
71708         * include/string.h: Likewise.
71709         * include/sys/cdefs.h: Likewise.
71710         * include/sys/mman.h: Likewise.
71711         * include/sys/msg.h: Likewise.
71712         * include/sys/resource.h: Likewise.
71713         * include/sys/select.h: Likewise.
71714         * include/sys/socket.h: Likewise.
71715         * include/sys/stat.h: Likewise.
71716         * include/sys/statvfs.h: Likewise.
71717         * include/sys/time.h: Likewise.
71718         * include/sys/times.h: Likewise.
71719         * include/sys/uio.h: Likewise.
71720         * include/sys/utsname.h: Likewise.
71721         * include/sys/wait.h: Likewise.
71722         * include/termios.h: Likewise.
71723         * include/time.h: Likewise.
71724         * include/ulimit.h: Likewise.
71725         * include/unistd.h: Likewise.
71726         * include/utime.h: Likewise.
71727         * include/wchar.h: Likewise.
71728         * include/wctype.h: Likewise.
71729         * include/wordexp.h: Likewise.
71731         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71733         * time/time.h: TIME_UTC must be a macro.
71734         Make timespec_get available for ISO C11 only as well.
71736 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71738         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71739         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71741 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71743         * configure.in: Use -o not -a in test for unsupported multi-arch.
71745 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71747         * manual/texinfo.tex: Update to version 2012-01-19.16.
71749 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71751         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71753 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71755         [BZ #13738]
71756         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71757         * manual/fdl-1.3.texi: New file.
71758         * manual/fdl-1.1.texi: File removed.
71760         [BZ #13738]
71761         * manual/libc.texinfo (FDL_VERSION): New @set.
71762         Use it for mention of FDL in cover text.
71763         (Documentation License): Use it in @include file name.
71765 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71766             Roland McGrath  <roland@hack.frob.com>
71768         [BZ #5461]
71769         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71770         (not LONG_LONG_MAX and LONG_LONG_MIN.
71771         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71772         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71773         name.
71774         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71776 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71778         [BZ #2547]
71779         [BZ #11365]
71780         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71781         manipulate bits before adding and subtracting TWO23[sx].
71782         * math/libm-test.inc (nearbyint_test): Add more tests.
71784 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71786         [BZ #2548]
71787         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71788         bits before adding and subtracting TWO23[sx].
71789         * math/libm-test.inc (rint_test): Add more tests.
71790         (rint_test_tonearest): Likewise.
71791         (rint_test_towardzero): Likewise.
71792         (rint_test_downward): Likewise.
71793         (rint_test_upward: Likewise.
71795 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71797         [BZ #10110]
71798         * include/stdc-predef.h: New file.  Extracted from features.h.
71799         * include/features.h: Include stdc-predef.h.
71800         * Makefile (headers): Add stdc-predef.h.
71801         * CONFORMANCE (Compiler limitations): Update.
71803 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71805         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71807 2012-02-21  David S. Miller  <davem@davemloft.net>
71809         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71810         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71812 2012-02-20  David S. Miller  <davem@davemloft.net>
71814         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71815         using a normal save/restore sequence, rather than allocating a
71816         dummy stack frame just to store a frame pointer and restore.
71817         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71819 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71821         * manual/install.texi: Fix stray word in line-wrapped comment.
71823 2012-02-20  David S. Miller  <davem@davemloft.net>
71825         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71826         both binutils and gcc support GOTDATA.
71828         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71829         "rd %pc" in the PIC register setup sequences.
71831         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71832         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71833         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71834         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71835         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71836         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71837         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71838         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71839         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71840         (SYSCALL_ERROR_HANDLER): Likewise.
71841         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71842         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71843         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71844         (SYSCALL_ERROR_HANDLER): Likewise.
71846         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71847         (HAVE_GCC_GOTDATA): New.
71848         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71849         relocation support in both binutils and gcc.
71850         * sysdeps/sparc/elf/configure: Regenerate.
71852         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71853         * sysdeps/sparc/sparc32/elf/configure: Delete.
71854         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71855         * sysdeps/sparc/sparc64/elf/configure: Delete.
71856         * sysdeps/sparc/elf/configure.in: New file.
71857         * sysdeps/sparc/elf/configure: Generate.
71859         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71860         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71861         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71862         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71863         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71865 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71867         * manual/install.texi: Do not mention specific glibc version
71868         numbers.
71869         * manual/libc.texinfo (VERSION, UPDATED): Update.
71870         (@copying): Use @copyright{} and range of years.
71872 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71874         [BZ #13695]
71875         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71876         [crti.S not in sysdirs] (generated): Do not append.
71877         [crti.S not in sysdirs] (omit-deps): Likewise.
71878         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71879         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71880         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71881         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71882         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71883         Likewise.
71884         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71885         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71886         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71887         * csu/defs.awk: Remove file.
71888         * sysdeps/generic/initfini.c: Likewise.
71889         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71890         variable.
71891         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71892         Likewise.
71894 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71896         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71897         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71898         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71899         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71900         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71901         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71902         <bits/epoll.h>.
71903         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71904         (__EPOLL_PACKED): Define to empty if not defined by
71905         <bits/epoll.h>.
71906         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71907         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71908         bits/epoll.h.
71910 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71912         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71913         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71914         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71915         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71916         <bits/timerfd.h>.
71917         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71918         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71919         bits/timerfd.h.
71921 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71923         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71924         in C locale.
71925         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71926         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71927         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71930 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71932         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71933         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71935 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71937         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71938         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71939         defined.
71940         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71941         Likewise.
71942         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71943         entry for 2.16.
71945 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71947         * math/w_acos.c: Use non-signaling floating-point comparisons.
71948         * math/w_acosf.c: Likewise.
71949         * math/w_acosh.c: Likewise.
71950         * math/w_acoshf.c: Likewise.
71951         * math/w_acoshl.c: Likewise.
71952         * math/w_acosl.c: Likewise.
71953         * math/w_asin.c: Likewise.
71954         * math/w_asinf.c: Likewise.
71955         * math/w_asinl.c: Likewise.
71956         * math/w_atanh.c: Likewise.
71957         * math/w_atanhf.c: Likewise.
71958         * math/w_atanhl.c: Likewise.
71959         * math/w_exp2.c: Likewise.
71960         * math/w_exp2f.c: Likewise.
71961         * math/w_exp2l.c: Likewise.
71962         * math/w_j0.c: Likewise.
71963         * math/w_j0f.c: Likewise.
71964         * math/w_j0l.c: Likewise.
71965         * math/w_j1.c: Likewise.
71966         * math/w_j1f.c: Likewise.
71967         * math/w_j1l.c: Likewise.
71968         * math/w_jn.c: Likewise.
71969         * math/w_jnf.c: Likewise.
71970         * math/w_log.c: Likewise.
71971         * math/w_log10.c: Likewise.
71972         * math/w_log10f.c: Likewise.
71973         * math/w_log10l.c: Likewise.
71974         * math/w_log2.c: Likewise.
71975         * math/w_log2f.c: Likewise.
71976         * math/w_log2l.c: Likewise.
71977         * math/w_logf.c: Likewise.
71978         * math/w_logl.c: Likewise.
71979         * math/w_sqrt.c: Likewise.
71980         * math/w_sqrtf.c: Likewise.
71981         * math/w_sqrtl.c: Likewise.
71982         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71983         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71984         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71985         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71986         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71988 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71990         [BZ #9739]
71991         * manual/string.texi (strnlen): Use correct parameter name in
71992         equivalent expression.
71994 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71996         [BZ #11174]
71997         * manual/users.texi (seteuid): Consistently use neweuid for
71998         argument name.
72000 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72002         [BZ #13704]
72003         * manual/nss.texi (Services in the NSS configuration): Correct
72004         list of services in example configuration file.
72006 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72008         [BZ #11322]
72009         * manual/arith.texi: Remove statements about negative zero
72010         behaving identically to zero.
72012 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72014         [BZ #5993]
72015         * manual/install.texi: Do not document upgrading from libc5.
72017 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72019         [BZ #4596]
72020         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72022 2012-02-18  David S. Miller  <davem@davemloft.net>
72024         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72025         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72026         %o7 across the call.
72027         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72028         instead.
72029         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72030         SETUP_PIC_REG_LEAF.
72031         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72032         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72033         * sysdeps/sparc/crtn.S: Likewise.
72035 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72037         * aout/Makefile: Remove.
72039 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72041         [BZ #13058]
72042         * manual/examples/argp-ex1.c (main): Format definition in GNU
72043         style.
72044         * manual/examples/argp-ex2.c (main): Likewise.
72045         * manual/examples/argp-ex3.c (main): Likewise.
72046         * manual/examples/argp-ex4.c (main): Likewise.
72047         * manual/examples/longopt.c (main): Use new-style prototype
72048         definition.
72049         * manual/examples/strncat.c (main): Specify return type and use
72050         (void) for arguments.
72051         * manual/examples/subopt.c (main): Use char **argv argument.
72053 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72055         [BZ #5077]
72056         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72057         rounding modes.
72059 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72061         [BZ #6907]
72062         * manual/string.texi (strchr): Change when strchrnul is
72063         recommended.
72065 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72067         [BZ #174]
72068         * manual/locale.texi (setlocale): Document LOCPATH.
72070 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72072         [BZ #10210]
72073         * manual/process.texi (execle): Move @dots{} before last argument.
72075 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72077         [BZ #12047]
72078         * manual/charset.texi (Generic Charset Conversion): Fix typo
72079         (LC_TYPE -> LC_CTYPE).
72081 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72083         [BZ #5805]
72084         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72085         (scalbnf): Likewise.
72086         (scalbnl): Likewise.
72087         (scalbln): Likewise.
72088         (scalblnf): Likewise.
72089         (scalblnl): Likewise.
72090         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72091         (vwarnx): Likewise.
72092         (verr): Likewise.
72093         (verrx): Likewise.
72094         * manual/filesys.texi (telldir): Use braces around return type.
72095         * manual/llio.texi (mmap): Add space after comma.
72096         (mmap64): Likewise.
72097         * manual/math.texi (jn): Use @var{} on parameter names.
72098         (jnf): Likewise.
72099         (jnl): Likewise.
72100         (yn): Likewise.
72101         (ynf): Likewise.
72102         (ynl): Likewise.
72103         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72104         line.
72105         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72106         "...".
72107         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72108         (sched_get_priority_max): Likewise.
72109         * manual/signal.texi (sigvec): Add space after comma.
72110         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72111         names.
72112         (if_indextoname): Likewise.
72113         (if_freenameindex): Likewise.
72114         (sendto): Use ',' instead of '.' in prototype.
72115         * manual/startup.texi (syscall): Use @dots{} instead of literal
72116         "...".
72117         * manual/stdio.texi (__fpending): Separate initial words of
72118         paragraph from @deftypefun line.
72119         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72120         "...".
72121         (vsyslog): Use @var{} on parameter names.
72122         * manual/terminal.texi (stty): Use @var{} on parameter names.
72123         * manual/users.texi (getutmp): Use @var{} on parameter names.
72124         (getutmpx): Likewise.
72126 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72128         [BZ #6884]
72129         * manual/stdio.texi (fopen): Fix typos in description of
72130         ",ccs=STRING".
72132 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72134         [BZ #4026]
72135         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72136         get clock_id definition.
72138 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72140         [BZ #4822]
72141         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72142         (madvise): Cast every argument to void on its own.
72144 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72146         [BZ #9902]
72147         * manual/startup.texi (Exit Status): Fix typo.
72149 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72151         [BZ #10140]
72152         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72153         * manual/examples/argp-ex2.c: Likewise.
72154         * manual/examples/argp-ex3.c: Likewise.
72156 2012-02-16  Richard Henderson  <rth@redhat.com>
72158         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72159         * sysdeps/s390/s390-32/initfini.c: Remove.
72160         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72161         * sysdeps/s390/s390-64/initfini.c: Remove.
72163 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72165         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72166         compiler output for sysdeps/generic/initfini.c.
72167         * sysdeps/sh/elf/initfini.c: Remove file.
72169 2012-02-16  David S. Miller  <davem@davemloft.net>
72171         [BZ #11494]
72172         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72174         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72175         * sysdeps/sparc/crti.S: New file.
72176         * sysdeps/sparc/crtn.S: New file.
72177         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72178         * sysdeps/sparc/sparc64/Makefile: Likewise.
72180 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72182         [BZ #3335]
72183         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72185 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72187         [BZ #4822]
72188         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72190         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72191         (write, read, close): Likewise.
72192         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72194 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72196         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72197         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72198         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72199         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72200         <bits/signalfd.h>.
72201         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72203         bits/signalfd.h.
72205 2012-02-14  Marek Polacek  <polacek@redhat.com>
72207         * sysdeps/x86_64/crti.S: New file.
72208         * sysdeps/x86_64/crtn.S: New file.
72209         * sysdeps/x86_64/elf/initfini.c: Remove file.
72211 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72213         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72214         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72215         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72216         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72217         <bits/inotify.h>.
72218         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72219         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72220         bits/inotify.h.
72222 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72224         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72225         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72226         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72227         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72228         <bits/eventfd.h>.
72229         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72231         bits/eventfd.h.
72233 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72235         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72236         __feraiseexcept instead of feraiseexcept.
72238         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72239         nanosleep invocations.
72240         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72241         strings, and add error checking for a nanosleep invocations.
72243 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72245         Replace FSF snail mail address with URLs, as per GNU coding standards.
72246         Most of the snail mail addresses were wrong anyway, and omitting
72247         them makes the source code easier to maintain.  Almost all of the
72248         changes are to license notices and to locale LC_IDENTIFICATION
72249         addresses, except for this one:
72250         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72251         not its snail mail address.
72253 2012-02-09  Richard Henderson  <rth@twiddle.net>
72255         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72256         of kernel-features.h.
72258         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72260 2012-02-08  Marek Polacek  <polacek@redhat.com>
72262         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72263         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72264         * sysdeps/gnu/_G_config.h: Likewise.
72265         * sysdeps/generic/_G_config.h: Likewise.
72267 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72269         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72270         tests.
72271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72273         * sysdeps/powerpc/powerpc32/crti.S: New file.
72274         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72275         * sysdeps/powerpc/powerpc64/crti.S: New file.
72276         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72278         * Makeconfig (have-initfini): Don't set.
72279         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72280         * configure.in (nopic_initfini): Don't substitute.
72281         * config.h.in (HAVE_INITFINI): Don't #undef.
72282         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72283         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72285 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72287         Support crti.S and crtn.S provided directly by architectures.
72288         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72289         [crti.S in sysdirs] (omit-deps): Likewise.
72290         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72291         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72292         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72293         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72294         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72295         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72296         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72297         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72298         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72299         compiler output for sysdeps/generic/initfini.c.
72300         * sysdeps/i386/elf/Makefile: Remove file.
72301         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72303 2012-02-07  Marek Polacek  <polacek@redhat.com>
72305         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72306         * sysdeps/gnu/_G_config.h: Likewise.
72307         * sysdeps/mach/hurd/_G_config.h: Likewise.
72309 2012-02-07  Marek Polacek  <polacek@redhat.com>
72311         * math/Makefile (tests): Add tst-CMPLX2.
72312         * math/tst-CMPLX2.c: New file.
72314 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72316         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72318         * math/libm-test.inc (jn_test): Add missing L suffix.
72320 2012-02-06  Marek Polacek  <polacek@redhat.com>
72322         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72323         * sysdeps/i386/fpu/e_powf.S: Likewise.
72324         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72325         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72326         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72327         * sysdeps/i386/fpu/e_pow.S: Likewise.
72328         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72329         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72330         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72331         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72332         * sysdeps/i386/fpu/e_log2.S: Likewise.
72333         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72334         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72335         * sysdeps/i386/fpu/e_powl.S: Likewise.
72336         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72337         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72338         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72339         * sysdeps/i386/fpu/e_logl.S: Likewise.
72340         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72341         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72342         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72343         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72344         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72345         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72346         * sysdeps/i386/fpu/e_log.S: Likewise.
72347         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72348         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72349         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72350         * sysdeps/i386/fpu/e_logf.S: Likewise.
72351         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72352         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72353         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72354         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72355         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72356         * sysdeps/i386/fpu/e_log10.S: Likewise.
72357         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72358         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72359         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72360         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72361         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72362         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72363         * sysdeps/i386/asm-syntax.h: Likewise.
72364         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72365         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72366         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72367         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72368         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72369         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72370         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72371         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72372         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72373         * sysdeps/powerpc/sysdep.h: Likewise.
72374         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72375         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72377 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72379         [BZ #411]
72380         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72382 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72384         * sysdeps/i386/sysdep.h: Include <features.h>.
72385         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72386         version.
72388 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72390         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72391         Define.
72392         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72393         LOAD_PIC_REG_STR.
72395 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72397         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72398         (SETUP_PIC_REG): Use GET_PC_THUNK.
72399         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72400         macro.
72402 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72404         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72405         for non-PIC compilation.
72406         (SETUP_PIC_REG): Add .p2align directive.
72407         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72408         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72409         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72410         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72411         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72412         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72413         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72414         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72415         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72416         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72417         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72418         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72419         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72420         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72421         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72422         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72423         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72424         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72425         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72426         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72427         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72428         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72429         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72430         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72431         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72432         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72433         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72434         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72435         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72436         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72437         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72438         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72439         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72440         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72441         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72442         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72443         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72444         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72445         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72446         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72447         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72449 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72451         * math/tst-CMPLX.c: Include <stdio.h>.
72453 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72455         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72456         float.
72457         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72458         * sysdeps/sparc/bits/mathdef.h: Likewise.
72460 2012-01-31  Marek Polacek  <polacek@redhat.com>
72462         * libio/libio.h: Don't define _PARAMS.
72463         * locale/programs/config.h: Don't define PARAMS.
72464         * stdlib/strtol_l.c: Likewise.
72465         (__strtol_l): Remove PARAMS from the prototype.
72467 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72469         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72470         names.  Just use the correct names.  Remove unnecessary wrapper
72471         functions.
72472         * malloc/arena.c: Likewise.
72473         * malloc/hooks.c: Likewise.
72475         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72476         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72477         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72479 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72481         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72482         into tail calls.
72483         (update_get_addr): New function.
72484         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72485         GET_ADDR_MODULE parameter.
72487 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72489         * crypt/cert.c: Remove __STDC__ conditionals.
72490         * crypt/crypt-entry.c: Likewise.
72491         * crypt/crypt_util.c: Likewise.
72492         * libio/filedoalloc.c: Likewise.
72493         * libio/fileops.c: Likewise.
72494         * libio/genops.c: Likewise.
72495         * libio/iofclose.c: Likewise.
72496         * libio/iofdopen.c: Likewise.
72497         * libio/iofopen.c: Likewise.
72498         * libio/iofopen64.c: Likewise.
72499         * libio/iogetdelim.c: Likewise.
72500         * libio/iopopen.c: Likewise.
72501         * libio/obprintf.c: Likewise.
72502         * libio/oldfileops.c: Likewise.
72503         * libio/oldiofclose.c: Likewise.
72504         * libio/oldiofdopen.c: Likewise.
72505         * libio/oldiofopen.c: Likewise.
72506         * libio/oldiopopen.c: Likewise.
72507         * libio/wfiledoalloc.c: Likewise.
72508         * libio/wgenops.c: Likewise.
72509         * locale/programs/xmalloc.c: Likewise.
72510         * misc/syslog.c: Likewise.
72511         * stdio-common/xbug.c: Likewise.
72512         * string/memchr.c: Likewise.
72513         * string/memcmp.c: Likewise.
72514         * string/memrchr.c: Likewise.
72515         * string/rawmemchr.c: Likewise.
72516         * sysdeps/posix/getcwd.c: Likewise.
72517         * time/strftime_l.c: Likewise.
72519 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72521         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72522         * config.make.in (config-cflags-sse2avx): Define.
72523         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72524         Fix typo.
72526 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72528         * scripts/config.guess: Update from upstream config git repository.
72529         * scripts/config.sub: Likewise.
72531 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72533         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72534         (EM_NUM): Update.
72535         (R_TILEPRO_*, R_TILEGX_*): New macros.
72537         * scripts/firstversions.awk: Fix bug in version range handling.
72539         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72541         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72543         * include/sys/epoll.h: New file.
72544         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72545         libc_hidden_def.
72547 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72549         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72550         Avoid unnecessary __WORDSIZE == 64 test.
72551         (fmaxf): Use VEX format if possible.
72552         (fmax): Likewise.
72553         (fminf): Likewise.
72554         (fmin): Likewise.
72556         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72557         * math/math_private.h: Remove libc_fegetround* and
72558         libc_fesetround*.
72559         * sysdeps/i386/configure.in: Check for -msse2avx.
72560         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72561         also if SSE2AVX is defined.
72562         Remove libc_fegetround* and libc_fesetround*.
72563         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72564         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72565         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72566         of HAS_YMM_USABLE.
72567         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72568         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72569         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72570         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72571         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72573         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72575 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72577         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72578         size is not set.
72579         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72581 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72583         [BZ #13618]
72584         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72585         relocation.
72586         * Makeconfig (libm): Define.
72587         * elf/Makefile: Add rules to build and run tst-relsort1.
72588         * elf/tst-relsort1.c: New file.
72589         * elf/tst-relsort1mod1.c: New file.
72590         * elf/tst-relsort1mod2.c: New file.
72592 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72594         * math/s_ldexp.c: Remove __STDC__ conditionals.
72595         * math/s_ldexpf.c: Likewise.
72596         * math/s_ldexpl.c: Likewise.
72597         * math/s_nextafter.c: Likewise.
72598         * math/s_nexttowardf.c: Likewise.
72599         * math/s_significand.c: Likewise.
72600         * math/s_significandf.c: Likewise.
72601         * math/s_significandl.c: Likewise.
72602         * math/w_jnl.c: Likewise.
72603         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72604         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72605         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72606         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72607         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72608         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72609         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72610         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72611         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72612         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72613         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72614         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72615         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72616         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72617         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72618         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72619         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72620         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72621         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72622         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72623         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72624         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72625         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72626         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72627         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72628         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72629         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72630         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72631         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72632         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72633         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72634         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72635         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72636         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72637         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72638         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72639         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72640         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72641         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72642         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72643         * sysdeps/ieee754/k_standard.c: Likewise.
72644         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72645         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72646         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72647         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72648         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72649         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72650         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72651         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72652         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72653         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72654         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72655         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72656         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72657         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72658         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72659         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72660         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72661         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72662         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72663         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72664         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72665         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72666         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72667         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72668         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72669         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72670         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72671         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72673         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72674         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72675         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72676         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72677         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72679         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72680         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72681         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72682         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72683         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72684         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72685         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72686         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72687         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72688         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72689         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72690         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72691         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72692         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72693         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72694         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72695         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72696         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72697         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72698         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72699         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72700         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72701         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72702         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72703         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72704         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72705         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72706         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72707         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72708         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72709         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72710         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72711         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72712         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72713         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72714         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72715         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72716         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72717         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72718         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72719         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72720         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72721         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72722         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72723         * sysdeps/ieee754/s_matherr.c: Likewise.
72724         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72725         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72726         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72727         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72729 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72731         * crypt/md5.h: Remove __STDC__ conditionals.
72732         * libio/libioP.h: Likewise.
72733         * locale/programs/config.h: Likewise.
72734         * sysdeps/generic/sysdep.h: Likewise.
72735         * sysdeps/i386/asm-syntax.h: Likewise.
72736         * sysdeps/s390/asm-syntax.h: Likewise.
72737         * sysdeps/unix/sysdep.h: Likewise.
72738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72741 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72743         * libio/libio.h: Remove __STDC__ conditionals.
72744         * malloc/obstack.h: Likewise.
72745         * math/complex.h: Likewise.
72746         * math/math.h: Likewise.
72747         * sysdeps/generic/_G_config.h: Likewise.
72748         * sysdeps/gnu/_G_config.h: Likewise.
72749         * sysdeps/mach/hurd/_G_config.h: Likewise.
72750         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72751         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72752         * sysdeps/sparc/bits/mathdef.h: Likewise.
72754 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72756         [BZ #13583]
72757         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72758         Clean up HAS_* macros.
72759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72760         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72761         possible.
72762         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72763         HAS_AVX.
72764         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72765         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72766         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72767         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72768         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72770 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72772         * elf/tst-unique3.cc (gets): Remove declaration.
72773         * elf/tst-unique3lib.cc (gets): Likewise.
72774         * elf/tst-unique3lib2.cc (gets): Likewise.
72775         * elf/tst-unique4.cc (gets): Likewise.
72777 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72779         * include/stdio.h: Add C++ protection.  Add gets declarations and
72780         definitions.
72781         * debug/tst-chk1.c: Don't declare gets here.
72782         * stdio-common/tst-gets.c: Likewise.
72784 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72786         * posix/glob: Remove directory.
72788 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72790         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72792 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72794         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72795         of the non-standard EPFNOSUPPORT.
72797 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72799         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72800         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72801         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72803 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72805         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72807 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72809         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72810         transient errors.
72811         * nscd/grpcache.c (cache_addgr): Likewise.
72812         * nscd/hstcache.c (cache_addhst): Likewise.
72813         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72814         * nscd/pwdcache.c (cache_addpw): Likewise.
72815         * nscd/servicescache.c (cache_addserv): Likewise.
72817 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72819         * malloc/malloc.c: Various cleanups.
72820         * malloc/hooks.c: Likewise.
72822         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72823         * stdlib/bug-fmtmsg1.c: New file.
72825         * stdlib/fmtmsg.c (init): Add missing unlock.
72826         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72828 2012-01-12  Marek Polacek  <polacek@redhat.com>
72830         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72831         and _GNU_SOURCE.
72833 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72835         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72836         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72837         macro to ensure uniqueness of label name.
72838         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72839         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72841 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72843         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72845         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72846         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72847         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72848         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72850 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72852         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72854         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72855         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72856         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72858         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72860         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72861         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72862         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72863         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72865         * math/bits/math-finite.h: Add ldexp support.
72867 2012-01-10  Marek Polacek  <polacek@redhat.com>
72869         * locale/programs/localedef.h (show_archive_content): Add noreturn
72870         attribute.
72872 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72874         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72876 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72878         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72880         * io/Makefile (headers): Add bits/poll2.h.
72882 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72885         typo #include statement.
72887 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72889         * include/sys/cdefs.h: Define __attribute_alloc_size.
72890         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72891         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72892         * elf/pldd.c: Likewise.
72893         * iconv/iconv_charmap.c: Likewise.
72894         * iconv/iconvconfig.c: Likewise.
72895         * iconv/strtab.c: Likewise.
72896         * locale/programs/locale.c: Likewise.
72897         * locale/programs/localedef.h: Likewise.
72898         * locale/programs/simple-hash.c: Likewise.
72899         * nscd/nscd.h: Likewise.
72900         * nss/makedb.c: Likewise.
72901         * sysdeps/generic/ldconfig.h: Likewise.
72902         * locale/programs/localedef.c: Remove xmalloc prototype.
72903         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72905 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72907         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72908         appropriate.
72910 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72912         * math/Makefile (tests): Add tst-CMPLX.
72913         * math/tst-CMPLX.c: New file.
72915         * math/complex.h (CMPLXL): Fix typo.
72917         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72918         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72919         GLIBC_2.16.
72920         * debug/tst-chk1.c: Add poll and ppoll tests.
72921         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72922         * include/sys/poll.h: Add hidden proto for ppoll.
72923         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72924         * sysdeps/mach/hurd/ppoll.c: Likewise.
72925         * io/ppoll.c: Likewise.
72926         * debug/poll_chk.c: New file.
72927         * debug/ppoll_chk.c: New file.
72928         * include/bits/poll2.h: New file.
72929         * io/bits/poll2.h: New file.
72931         [BZ #1350]
72932         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72934         * configure.in: static is always set to yes.  Remove.
72935         * config.make.in: Don't set build-static.
72936         * Makeconfig: Remove use of build-static.
72937         * dlfcn/Makefile: Likewise.
72938         * elf/Makefile: Likewise.
72939         * math/Makefile: Likewise.
72940         * misc/Makefile: Likewise.
72941         * nptl/Makefile: Likewise.
72942         * sysdeps/mach/hurd/Makefile: Likewise.
72944         * configure.in: PWD_P is not used anymore.
72945         * config.make.in: Remove PWD_P entry.
72947         * configure.in: Remove last remnants of RANLIB.
72948         No need to check for signed size_t anymore.
72949         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72950         and IA-64.
72951         Remove __builtin_expect test because we require at least gcc 3.4.
72952         * aclocal.m4: Likewise.
72954         * wcsmbs/mbrtoc16.c: Implement using towc function.
72955         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72956         * wcsmbs/wcsmbsload.c: Likewise.
72957         * iconv/gconv_simple.c: Likewise.
72958         * iconv/gconv_int.h: Likewise.
72959         * iconv/gconv_builtin.h: Likewise.
72960         * iconv/iconv_prog.c: Remove CHAR16 handling.
72962         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72964         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72966         * configure.in: Remove --with-elf and --enable-bounded options.
72967         Dont set base_machine for ia64.  More non-ELF conditions removed.
72968         Remove testing and setting of leading underscore information.
72969         * config.make.in (build-bounded): Set to no.
72970         * config.h.in: Remove NO_UNDERSCORES entry.
72971         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72972         them.
72973         * csu/start.c: Remove !NO_UNDERSCORE code.
72974         * locale/localeinfo.h: Likewise.
72975         * sysdeps/generic/machine-gmon.h: Likewise.
72976         * sysdeps/generic/sysdep.h: Likewise.
72977         * sysdeps/i386/sysdep.h: Likewise.
72978         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72979         * sysdeps/mach/sysdep.h: Likewise.
72980         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72981         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72982         * sysdeps/sh/sysdep.h: Likewise.
72983         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72984         * sysdeps/unix/i386/sysdep.S: Likewise.
72985         * sysdeps/unix/sparc/start.c: Likewise.
72986         * sysdeps/unix/sparc/sysdep.S: Likewise.
72987         * sysdeps/unix/sparc/sysdep.h: Likewise.
72988         * sysdeps/unix/start.c: Likewise.
72989         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72990         * sysdeps/x86_64/sysdep.h: Likewise.
72992 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72994         [BZ #13553]
72995         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72996         for non-gcc.
72997         * argp/argp-fmtstream.h: Use const instead __const.
72998         * argp/argp.h: Likewise.
72999         * assert/assert.h: Likewise.
73000         * bits/fenv.h: Likewise.
73001         * bits/sched.h: Likewise.
73002         * bits/sigset.h: Likewise.
73003         * bits/sigthread.h: Likewise.
73004         * catgets/nl_types.h: Likewise.
73005         * conform/data/pthread.h-data: Likewise.
73006         * crypt/crypt-private.h: Likewise.
73007         * crypt/crypt.h: Likewise.
73008         * crypt/crypt_util.c: Likewise.
73009         * ctype/ctype.h: Likewise.
73010         * debug/execinfo.h: Likewise.
73011         * debug/mbsnrtowcs_chk.c: Likewise.
73012         * debug/mbsrtowcs_chk.c: Likewise.
73013         * debug/wcsnrtombs_chk.c: Likewise.
73014         * debug/wcsrtombs_chk.c: Likewise.
73015         * debug/wcstombs_chk.c: Likewise.
73016         * dirent/dirent.h: Likewise.
73017         * dlfcn/dlfcn.h: Likewise.
73018         * elf/neededtest4.c: Likewise.
73019         * grp/grp.h: Likewise.
73020         * gshadow/gshadow.h: Likewise.
73021         * iconv/gconv.h: Likewise.
73022         * iconv/gconv_int.h: Likewise.
73023         * iconv/gconv_simple.c: Likewise.
73024         * iconv/iconv.h: Likewise.
73025         * iconv/loop.c: Likewise.
73026         * iconv/skeleton.c: Likewise.
73027         * include/aio.h: Likewise.
73028         * include/aliases.h: Likewise.
73029         * include/argz.h: Likewise.
73030         * include/arpa/inet.h: Likewise.
73031         * include/assert.h: Likewise.
73032         * include/dirent.h: Likewise.
73033         * include/dlfcn.h: Likewise.
73034         * include/execinfo.h: Likewise.
73035         * include/fcntl.h: Likewise.
73036         * include/fenv.h: Likewise.
73037         * include/glob.h: Likewise.
73038         * include/grp.h: Likewise.
73039         * include/libintl.h: Likewise.
73040         * include/mntent.h: Likewise.
73041         * include/netdb.h: Likewise.
73042         * include/pwd.h: Likewise.
73043         * include/rpc/netdb.h: Likewise.
73044         * include/sched.h: Likewise.
73045         * include/search.h: Likewise.
73046         * include/shadow.h: Likewise.
73047         * include/signal.h: Likewise.
73048         * include/stdio.h: Likewise.
73049         * include/stdlib.h: Likewise.
73050         * include/string.h: Likewise.
73051         * include/sys/socket.h: Likewise.
73052         * include/sys/stat.h: Likewise.
73053         * include/sys/statfs.h: Likewise.
73054         * include/sys/statvfs.h: Likewise.
73055         * include/sys/syslog.h: Likewise.
73056         * include/sys/time.h: Likewise.
73057         * include/sys/uio.h: Likewise.
73058         * include/time.h: Likewise.
73059         * include/unistd.h: Likewise.
73060         * include/utmp.h: Likewise.
73061         * include/wchar.h: Likewise.
73062         * include/wctype.h: Likewise.
73063         * inet/aliases.h: Likewise.
73064         * inet/arpa/inet.h: Likewise.
73065         * inet/netinet/ether.h: Likewise.
73066         * inet/netinet/in.h: Likewise.
73067         * intl/libintl.h: Likewise.
73068         * io/bits/fcntl2.h: Likewise.
73069         * io/fcntl.h: Likewise.
73070         * io/ftw.h: Likewise.
73071         * io/sys/poll.h: Likewise.
73072         * io/sys/stat.h: Likewise.
73073         * io/sys/statfs.h: Likewise.
73074         * io/sys/statvfs.h: Likewise.
73075         * io/utime.h: Likewise.
73076         * libio/bits/stdio.h: Likewise.
73077         * libio/bits/stdio2.h: Likewise.
73078         * libio/libio.h: Likewise.
73079         * libio/libioP.h: Likewise.
73080         * libio/stdio.h: Likewise.
73081         * locale/lc-ctype.c: Likewise.
73082         * locale/locale.h: Likewise.
73083         * login/utmp.h: Likewise.
73084         * malloc/arena.c: Likewise.
73085         * malloc/malloc.c: Likewise.
73086         * malloc/malloc.h: Likewise.
73087         * malloc/mcheck.c: Likewise.
73088         * malloc/mtrace.c: Likewise.
73089         * math/bits/mathcalls.h: Likewise.
73090         * math/fenv.h: Likewise.
73091         * math/math_private.h: Likewise.
73092         * misc/bits/error.h: Likewise.
73093         * misc/bits/syslog.h: Likewise.
73094         * misc/err.h: Likewise.
73095         * misc/error.h: Likewise.
73096         * misc/fstab.h: Likewise.
73097         * misc/mntent.h: Likewise.
73098         * misc/regexp.h: Likewise.
73099         * misc/search.h: Likewise.
73100         * misc/sgtty.h: Likewise.
73101         * misc/sys/mman.h: Likewise.
73102         * misc/sys/syslog.h: Likewise.
73103         * misc/sys/uio.h: Likewise.
73104         * misc/sys/xattr.h: Likewise.
73105         * misc/ttyent.h: Likewise.
73106         * nis/rpcsvc/ypclnt.h: Likewise.
73107         * nss/nss.h: Likewise.
73108         * posix/bits/unistd.h: Likewise.
73109         * posix/fnmatch.h: Likewise.
73110         * posix/glob.h: Likewise.
73111         * posix/sched.h: Likewise.
73112         * posix/spawn.h: Likewise.
73113         * posix/sys/wait.h: Likewise.
73114         * posix/unistd.h: Likewise.
73115         * posix/wordexp.h: Likewise.
73116         * pwd/pwd.h: Likewise.
73117         * resolv/netdb.h: Likewise.
73118         * resource/sys/resource.h: Likewise.
73119         * rt/aio.h: Likewise.
73120         * rt/bits/mqueue2.h: Likewise.
73121         * rt/mqueue.h: Likewise.
73122         * shadow/shadow.h: Likewise.
73123         * signal/signal.h: Likewise.
73124         * socket/send.c: Likewise.
73125         * socket/sendto.c: Likewise.
73126         * socket/sys/socket.h: Likewise.
73127         * stdio-common/printf.h: Likewise.
73128         * stdlib/bits/stdlib.h: Likewise.
73129         * stdlib/fmtmsg.h: Likewise.
73130         * stdlib/monetary.h: Likewise.
73131         * stdlib/stdlib.h: Likewise.
73132         * stdlib/ucontext.h: Likewise.
73133         * streams/stropts.h: Likewise.
73134         * string/argz.h: Likewise.
73135         * string/bits/string2.h: Likewise.
73136         * string/string.h: Likewise.
73137         * string/strings.h: Likewise.
73138         * sunrpc/rpc/auth.h: Likewise.
73139         * sunrpc/rpc/auth_des.h: Likewise.
73140         * sunrpc/rpc/clnt.h: Likewise.
73141         * sunrpc/rpc/netdb.h: Likewise.
73142         * sunrpc/rpc/pmap_clnt.h: Likewise.
73143         * sunrpc/rpc/xdr.h: Likewise.
73144         * sysdeps/generic/inttypes.h: Likewise.
73145         * sysdeps/generic/net/if.h: Likewise.
73146         * sysdeps/generic/sys/swap.h: Likewise.
73147         * sysdeps/gnu/net/if.h: Likewise.
73148         * sysdeps/gnu/utmpx.h: Likewise.
73149         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73150         * sysdeps/i386/i486/bits/string.h: Likewise.
73151         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73152         * sysdeps/s390/bits/string.h: Likewise.
73153         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73154         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73155         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73156         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73157         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73158         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73159         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73160         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73161         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73162         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73163         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73164         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73165         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73166         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73167         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73168         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73169         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73170         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73171         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73172         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73173         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73174         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73175         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73176         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73177         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73178         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73179         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73180         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73181         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73182         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73183         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73184         * sysvipc/sys/ipc.h: Likewise.
73185         * sysvipc/sys/msg.h: Likewise.
73186         * sysvipc/sys/sem.h: Likewise.
73187         * sysvipc/sys/shm.h: Likewise.
73188         * termios/termios.h: Likewise.
73189         * time/sys/time.h: Likewise.
73190         * time/time.h: Likewise.
73191         * wcsmbs/bits/wchar2.h: Likewise.
73192         * wcsmbs/uchar.h: Likewise.
73193         * wcsmbs/wchar.h: Likewise.
73194         * wctype/wctype.h: Likewise.
73196         [BZ #13551]
73197         * Makeconfig: Remove all but ELF support including AIX support.
73198         * Makerules: Likewise.
73199         * config.h.in: Likewise.
73200         * config.make.in: Likewise.
73201         * configure: Likewise.
73202         * configure.in: Likewise.
73203         * csu/Makefile: Likewise.
73204         * csu/version.c: Likewise.
73205         * debug/Makefile: Likewise.
73206         * dlfcn/Makefile: Likewise.
73207         * elf/Makefile: Likewise.
73208         * extra-lib.mk: Likewise.
73209         * iconv/Makefile: Likewise.
73210         * include/libc-symbols.h: Likewise.
73211         * include/shlib-compat.h: Likewise.
73212         * resolv/Makefile: Likewise.
73213         * resolv/res_libc.c: Likewise.
73214         * rt/Makefile: Likewise.
73215         * sysdeps/i386/asm-syntax.h: Likewise.
73216         * sysdeps/i386/sysdep.h: Likewise.
73217         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73218         * sysdeps/mach/sysdep.h: Likewise.
73219         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73220         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73221         * sysdeps/s390/asm-syntax.h: Likewise.
73222         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73223         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73224         * sysdeps/sh/sysdep.h: Likewise.
73225         * sysdeps/unix/sparc/sysdep.h: Likewise.
73226         * sysdeps/wordsize-32/divdi3.c: Likewise.
73227         * sysdeps/x86_64/sysdep.h: Likewise.
73229         * argp/Versions: Remove _argp_unlock_xxx.
73231         [BZ #13559]
73232         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73233         * abilist/libBrokenLocale.abilist: Likewise.
73234         * abilist/libanl.abilist: Likewise.
73235         * abilist/libc.abilist: Likewise.
73236         * abilist/libcrypt.abilist: Likewise.
73237         * abilist/libdl.abilist: Likewise.
73238         * abilist/libm.abilist: Likewise.
73239         * abilist/libnsl.abilist: Likewise.
73240         * abilist/libpthread.abilist: Likewise.
73241         * abilist/libresolv.abilist: Likewise.
73242         * abilist/librt.abilist: Likewise.
73243         * abilist/libthread_db.abilist: Likewise.
73244         * abilist/libutil.abilist: Likewise.
73245         * abilist/libnss_db.abilist: New file.
73247         * scripts/abilist.awk: Add support for indirect functions.
73249         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73251         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73253         * shlib-versions: Remove entries for ports architectures.
73255         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73256         files in ports.
73257         * elf/stackguard-macros.h: Remove support for IA-64.
73258         * elf/tst-auditmod1.c: Likewise.
73259         * sysdeps/generic/ldsodefs.h: Likewise.
73261         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73262         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73263         configure files.
73265         [BZ #13552]
73266         * configure.in: Remove --enable-omitfp support.
73267         * FAQ.in: Adjust.
73268         * config.make.in: Likewise.
73269         * Makeconfig: Likewise.
73270         * manual/install.texi: Likewise.
73272         In case anyone cares, the IA-64 architecture could move to ports.
73273         * sysdeps/ia64/*: Removed.
73274         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73275         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73277         [BZ #13555]
73278         * configure.in: Remove entries for unsupported architectures.
73280         [BZ #13533]
73281         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73282         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73283         routines.
73284         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73285         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73286         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73287         fall back to using wcrtomb.
73288         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73289         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73290         renaming.
73291         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73292         * wcsmbs/tst-c16c32-1.c: New file.
73294         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73295         local variable.
73297         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73299         * elf/tst-unique3.cc: Add explicit declaration of gets.
73300         * elf/tst-unique3lib.cc: Likewise.
73301         * elf/tst-unique3lib2.cc: Likewise.
73302         * elf/tst-unique4.cc: Likewise.
73304         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73306 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73308         [BZ #13566]
73309         * assert/assert.h (static_assert): Don't define for C++.
73310         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73311         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73313 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73315         * iconv/loop.c (single loop): Fix assertion in storing of
73316         remaining bytes.
73318         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73320 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73322         * posix/getconf.c: Update copyright year.
73323         * nss/getent.c: Likewise.
73324         * nss/makedb.c: Likewise.
73325         * iconv/iconvconfig.c: Likewise.
73326         * iconv/iconv_prog.c: Likewise.
73327         * elf/ldconfig.c: Likewise.
73328         * elf/pldd.c: Likewise.
73329         * elf/sotruss.ksh: Likewise.
73330         * catgets/gencat.c: Likewise.
73331         * csu/version.c: Likewise.
73332         * elf/ldd.bash.in: Likewise.
73333         * elf/sprof.c (print_version): Likewise.
73334         * locale/programs/locale.c: Likewise.
73335         * locale/programs/localedef.c: Likewise.
73336         * login/programs/pt_chown.c: Likewise.
73337         * nscd/nscd.c (print_version): Likewise.
73338         * debug/xtrace.sh: Likewise.
73339         * malloc/memusage.sh: Likewise.
73340         * malloc/mtrace.pl: Likewise.
73341         * debug/catchsegv.sh: Likewise.
73343 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73345         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73346         pure attribute.
73348 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73350         [BZ #13533]
73351         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73352         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73353         transformations.
73354         * iconv/gconv_int.h: Likewise.
73355         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73356         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73357         from libc for GLIBC_2.16.
73358         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73359         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73360         * wcsmbs/uchar.h: Really define mbstate_t.
73361         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73362         * wcsmbs/c16rtomb.c: New file.
73363         * wcsmbs/mbrtoc16.c: New file.
73364         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73365         for C/POSIX locale.
73366         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73367         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73369         * wcsmbs/wchar.h: Add missing __restrict.
73371 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73373         [BZ #13532]
73374         * time/Makefile (routines): Add timespec_get.
73375         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73376         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73377         timespec for ISO C11.
73378         * time/timespec_get.c: New file.
73379         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73380         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73382         [BZ #13531]
73383         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73384         * stdlib/stdlib.h: Declare aligned_alloc.
73385         * Versions.def: Add GLIBC_2.16 for libc.
73386         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73388         [BZ 13527]
73389         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73390         ISO C11.
73392         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73393         code.
73395         [BZ #13528]
73396         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73398         [BZ #13529]
73399         * assert/assert.h (static_assert): Define.
73401         * version.h: Update for 2.16 development version.
73403         [BZ #13526]
73404         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73405         _ISOC11_SOURCE.
73407         * version.h (RELEASE): Bump for 2.15 release.
73408         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73410         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73411         Patch by Marek Polacek <mpolacek@redhat.com>.
73413         * bits/byteswap.h: Protect long long constants with __extension__.
73414         * sysdeps/i386/bits/byteswap.h: Likewise.
73415         * sysdeps/ia64/bits/byteswap.h: Likewise.
73416         * sysdeps/s390/bits/byteswap.h: Likewise.
73417         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73419 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73421         [BZ #13540]
73422         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73423         destination buffer.
73424         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73426 2011-12-23  Marek Polacek  <polacek@redhat.com>
73428         * elf/dl-addr.c (determine_info): Add inline keyword.
73429         * elf/tst-auditmod4b.c (check_avx): Likewise.
73430         * elf/tst-auditmod6b.c (check_avx): Likewise.
73431         * elf/tst-auditmod6c.c (check_avx): Likewise.
73432         * elf/tst-auditmod7b.c (check_avx): Likewise.
73434 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73436         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73437         !__SSE_MATH__.
73439 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73441         [BZ #13540]
73442         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73443         processing for last bytes.
73445 2011-08-06  Bruno Haible  <bruno@clisp.org>
73447         [BZ #13061]
73448         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73449         U+0385, not to U+1FEE.
73451         [BZ #13062]
73452         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73453         entry for U+00A5 U+0301.
73455 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73457         [BZ #13166]
73458         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73459         buffer for the output is too small.
73461         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73462         optimization.
73464         [BZ #13185]
73465         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73466         SSE flags if possible.
73468 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73470         [BZ #13540]
73471         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73472         processing for last bytes.
73474 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73476         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73477         (syscall-list-default-options, syscall-list-default-condition)
73478         (syscall-list-includes): Define.
73479         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73480         list of ABIs and options and #if conditions for each ABI.  Do not
73481         handle common syscalls between ABIs specially.
73482         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73483         Remove.
73484         (syscall-list-variants, syscall-list-32bit-options)
73485         (syscall-list-32bit-condition, syscall-list-64bit-options)
73486         (syscall-list-64bit-condition): Define.
73487         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73488         (syscall-list-variants, syscall-list-32bit-options)
73489         (syscall-list-32bit-condition, syscall-list-64bit-options)
73490         (syscall-list-64bit-condition): Define.
73491         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73492         Remove.
73493         (syscall-list-variants, syscall-list-32bit-options)
73494         (syscall-list-32bit-condition, syscall-list-64bit-options)
73495         (syscall-list-64bit-condition): Define.
73496         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73497         Remove.
73498         (syscall-list-variants, syscall-list-32bit-options)
73499         (syscall-list-32bit-condition, syscall-list-64bit-options)
73500         (syscall-list-64bit-condition): Define.
73502 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73504         * locale/iso-639.def: Add brx entry.
73506         [BZ #13328]
73507         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73508         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73510         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73511         __feraiseexcept_renamed.
73513 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73515         [BZ #13538]
73516         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73517         EPOLLET with unsigned values.
73518         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73519         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73521         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73522         to large cancellation.
73523         * math/s_cacoshf.c: Likewise.
73524         * math/s_cacoshl.c: Likewise.
73526 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73528         [BZ #13305]
73529         [BZ #12786]
73530         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73531         * math/s_cacoshf.c: Likewise.
73532         * math/s_cacoshl.c: Likewise.
73534 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73536         [BZ #13439]
73537         * iconv/gconv.h: Define __GCONV_SWAP.
73538         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73539         * iconvdata/utf-16.c: Likewise.
73540         * iconvdata/utf-32.c: Likewise.
73542 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73544         [BZ #13524]
73545         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73546         numerator after shifting it by one limb.
73548 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73550         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73551         under [__USE_EXTERN_INLINES].
73553 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73555         [BZ #13446]
73556         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73558 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73560         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73561         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73562         optimized code.
73563         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73564         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73565         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73566         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73567         for strncasecmp/strncasecmp_l compilation.
73568         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73569         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73571 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73573         [BZ #13484]
73574         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73575         of __asm__.
73577 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73579         [BZ #13506]
73580         * time/tzfile.c (__tzfile_read): Check values from file header.
73582 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73584         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73585         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73586         * powerpc/powerpc32/dl-start.S: Likewise.
73587         * powerpc/powerpc32/elf/start.S: Likewise.
73588         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73589         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73590         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73591         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73592         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73593         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73594         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73595         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73596         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73597         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73598         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73599         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73600         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73601         * powerpc/powerpc32/memset.S: Likewise.
73602         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73603         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73604         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73605         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73606         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73607         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73608         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73609         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73610         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73611         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73612         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73613         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73614         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73616 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73618         * math/libm-test.inc: Added more nearbyint tests.
73619         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73620         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73621         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73622         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73624 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73626         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73627         FD_CLOEXEC.
73629 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73631         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73632         Add wcscpy-ssse3 wcscpy-c.
73633         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73634         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73635         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73636         * sysdeps/x86_64/wcschr.S: New file.
73637         * sysdeps/x86_64/wcsrchr.S: New file.
73638         * string/test-strcmp.c: Remove checking of wcscmp function for
73639         wrong alignments.
73640         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73641         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73642         wcsrchr-sse2 wcsrchr-c.
73643         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73644         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73645         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73646         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73647         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73648         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73649         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73650         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73651         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73652         * wcsmbc/wcschr.c (WCSCHR): New macro.
73654 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73656         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73657         * wcsmbs/test-wcsrchr.c: New file.
73658         * string/test-strrchr.c: Add wcsrchr support.
73659         (WIDE): New macro.
73660         * wcsmbs/test-wcscpy.c: New file.
73661         * string/test-strcpy.c: Add wcscpy support.
73662         (WIDE): New macro.
73664 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73666         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73667         the inner loop.
73669 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73671         [BZ #13472]
73672         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73674 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73676         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73677         Minor optimizations.
73679         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73680         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73681         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73683 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73685         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73686         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73687         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73688         for gcc to avoid warnings.
73689         * inet/Makefile (tests): Add tst-checks.
73690         * inet/tst-checks.c: New file.
73692         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73693         warning.
73695         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73696         __wmemcmp_sse2.
73698         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73699         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73701         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73703 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73705         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73706         problem.
73708         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73710 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73712         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73713         conditional on GCC version.
73714         (__arch_compare_and_exchange_val_8_acq)
73715         (__arch_compare_and_exchange_val_16_acq)
73716         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73717         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73718         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73720 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73722         * sysdeps/sh/backtrace.c: New file.
73724 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73726         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73727         parenthesis.
73729 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73731         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73732         falling back to utime.
73734 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73736         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73737         expectations for float.
73739 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73741         * locale/weight.h (findidx): Add parameter len.
73742         * locale/weightwc.h (findidx): Likewise.
73743         * posix/fnmatch_loop.c (FCT): Adjust caller.
73744         * posix/regcomp.c (build_equiv_class): Likewise.
73745         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73746         * posix/regexec.c (check_node_accept_bytes): Likewise.
73747         * string/strcoll_l.c (STRCOLL): Likewise.
73748         * string/strxfrm_l.c (STRXFRM): Likewise.
73750 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73752         * Makefile.in: Remove CVSOPT handling.
73753         * configure.in: Remove use of AC_REVISION.
73754         * iconvdata/Makefile (distribute): No need to filter out CVS.
73755         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73756         handling.
73758 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73760         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73761         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73762         [USE_AS_STRNCASECMP_L]: Likewise.
73763         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73764         NO_TLS_DIRECT_SEG_REFS.
73765         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73766         Fix argument offsets for non-PIC.
73767         [USE_AS_STRNCASECMP_L]: Likewise.
73768         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73769         NO_TLS_DIRECT_SEG_REFS.
73771 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73773         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73774         O_CLOEXEC.
73775         * locale/loadlocale.c (_nl_load_locale): Likewise.
73777 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73779         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73780         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73781         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73782         (SYSCALL_GETTIME): Set errno on error.
73784         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73785         count references to noai6ai_cached.
73787 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73789         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73791         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73792         FD_CLOEXEC for /proc/self/maps.
73794         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73795         FD_CLOEXEC for /proc/meminfo.
73797         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73798         gai.conf.
73800         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73801         FD_CLOEXEC for given file.
73803         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73805         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73806         FD_CLOEXEC for /etc/hosts.
73807         (_gethtent): Likewise.
73809         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73811         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73812         cancellation and set FD_CLOEXEC for /etc/netgroup.
73814         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73815         reading /etc/publickey.
73817         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73818         allow cancellation when reading /etc/group.
73820         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73821         cancellation.
73822         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73824         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73825         when using data file.
73827         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73829         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73830         (write_nis_obj): Use "c" and "e" in fopen.
73832         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73834         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73836         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73838         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73840         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73841         locale.alias.
73843         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73845         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73847         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73849         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73850         file parsing and set FD_CLOEXEC.
73852 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73854         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73856 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73858         * malloc/arena.c (arena_get2): Don't call reused_arena when
73859         _int_new_arena failed.
73861 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73863         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73864         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73865         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73866         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73867         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73868         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73869         to compile strcasecmp and strncasecmp.
73870         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73871         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73873         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73875 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73877         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73878         locale-defines.sym to gen-as-const-headers.
73879         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73880         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73881         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73882         to compile strcasecmp and strncasecmp.
73883         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73884         strcasecmp_l and strncasecmp_l.
73885         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73886         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73887         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73888         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73889         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73890         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73891         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73892         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73893         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73894         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73895         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73897 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73899         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73900         result of SYSDEP_GETTIME_CPU to retval.
73901         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73902         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73904         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73905         variable.
73907         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73908         mantissa words.
73909         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73911         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73912         from unused variable.
73914         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73915         DWARF definitions.
73916         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73917         for assembling.
73919         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73920         over namespaces.
73922         * sunrpc/rpc_prot.c (rejected): Fix case value.
73924         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73925         unsigned long long int to avoid warnings in shift.
73927         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73928         of use of trans.
73929         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73930         variable tmp.
73932         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73933         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73934         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73936         * nis/nis_table.c (nis_list): Use variable of correct type for
73937         result of __follow_path call.
73939 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73941         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73942         of math functions ceil, trunc, floor, round, and sqrt, when
73943         avaliable on the platform.
73944         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73945         name clash.
73946         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73947         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73948         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73950 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73952         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73953         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73955 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73957         * include/unistd.h: Fix __readlink return type.
73958         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73960 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73962         * stdlib/ucontext.h: Undo last change for makecontext.
73964 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73966         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73968         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73969         * setjmp/setjmp.h: Mark functions as non-leaf.
73970         * setjmp/bits/setjmp2.h: Likewise.
73971         * stdlib/ucontext.h: Likewise.
73973 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73975         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73976         (reused_arena): Don't check arena limit.
73977         (arena_get2): Atomically check arena limit.
73979 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73981         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73982         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73984         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73985         instructions.
73987 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73989         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73990         handler when locking.
73992         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73993         Fix size of allocated buffer.
73995 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73997         [BZ #10103]
73998         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73999         declarations for long double functions.
74000         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74002         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74004 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74006         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74007         installed.
74009         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74010         is disabled.
74012 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74014         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74016 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74018         * include/alloca.h (stackinfo_alloca_round): Define.
74019         (extend_alloca): Use it.
74020         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74021         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74022         here.
74024         * scripts/check-local-headers.sh: Ignore libaudit.h.
74026         * nscd/Makefile (extra-objs): Make recursively expanded.
74028 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74030         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74031         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74033         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74034         * posix/tst-rfc3484-2.c: Likewise.
74035         * posix/tst-rfc3484-3.c: Likewise.
74037         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74038         process_vm_writev.
74039         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74040         process_vm_writev.
74041         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74042         process_vm_writev from libc using GLIBC_2.15 version.
74044         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74046 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74048         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74049         stack usage.
74051 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74053         [BZ #13367]
74054         * nss/getent.c (initgroups_keys): Show error message in case no group
74055         names are given.
74057         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74058         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74059         __bump_nl_timestamp.
74060         * nscd/connections (nscd_init): When host database is served open
74061         netlink socket and request notification about configuration changes.
74062         (main_loop_poll): Track netlink file descriptor and bump timestamp
74063         in case data becomes available.
74064         (main_loop_epoll): Likewise.
74065         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74066         (database_pers_head): Add extra_data fileds.
74067         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74068         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74069         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74070         Adjust caller.
74071         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74072         in6ai data, call __free_in6ai.
74073         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74074         Add -DHAVE_NETLINK.
74075         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74076         interface information.  Reuse previous data if netlink timestamp
74077         is not changed.
74078         (__bump_nl_timestamp): New function.
74079         (__free_in6ai): New function.
74081 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74083         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74084         close_not_cancel_no_status here.
74085         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74087 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74089         [BZ #13276]
74090         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74091         return value.
74093         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74094         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74095         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74097 2011-07-03  Andreas Jaeger  <aj@suse.de>
74099         [BZ #10709]
74100         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74101         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74102         * math/libm-test.inc (sin_test): Add test case.
74104 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74106         [BZ #13337]
74107         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74108         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74110         * elf/chroot_canon.c (chroot_canon): Cleanups.
74112         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74114         [BZ #13335]
74115         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74116         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74118         * string/test-strchr.c: Make usable for strchrnul testing.
74119         * string/test-strchrnul.c: New file.
74120         * string/Makefile (strop-tests): Add strchrnul.
74122         * po/it.po: Update from translation team.
74123         * po/es.po: Likewise.
74125 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74127         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74128         the three constants needed as parameters.  Drop the others.
74129         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74130         __m128i_strloadu_tolower.
74131         Create and initialize variable zero and use it in all the places
74132         where _mm_setzero_si128 was used.
74134         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74135         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74136         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74137         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74138         anymore.
74139         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74140         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74141         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74142         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74143         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74144         __mpranred, __mptan.
74145         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74146         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74147         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74148         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74149         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74150         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74151         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74152         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74153         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74155 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74157         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74158         redefine if SHARED.
74159         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74161         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74162         wide char related routines to wcsmbs subdir.
74164 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74166         [BZ #13344]
74167         * misc/sys/cdefs.h (__THROWNL): Define.
74168         * posix/unistd.h: Use __THREADNL instead of __THREAD
74169         for memory synchronization functions.
74171 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74173         [BZ #13349]
74174         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74175         doesn't exist.
74176         * manual/stdio.texi (Obstack Streams): Node removed.
74178 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74180         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74181         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74182         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74184         * math/math_private.h (math_force_eval): Allow non-addressable
74185         arguments.
74186         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74188 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74190         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74191         file is not needed.
74193         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74194         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74195         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74196         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74197         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74198         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74199         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74200         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74201         Add AVX variants.
74202         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74203         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74204         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74205         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74206         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74207         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74208         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74209         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74210         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74211         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74212         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74213         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74214         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74215         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74216         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74217         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74218         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74219         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74220         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74222         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74223         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74225         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74226         place.  Use VEX encoding when compiling for AVX.
74228 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74230         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74231         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74233         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74235 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74237         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74238         useless if() expression.
74239         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74240         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74241         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74242         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74243         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74244         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74245         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74246         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74247         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74248         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74249         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74250         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74251         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74252         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74253         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74254         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74255         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74256         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74257         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74259         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74261 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74263         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74264         condition.
74265         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74267 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74269         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74270         .text section.  Avoid duplicate constants.
74271         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74272         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74273         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74274         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74275         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74276         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74277         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74278         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74279         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74280         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74281         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74282         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74283         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74284         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74285         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74286         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74287         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74288         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74289         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74290         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74291         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74292         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74293         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74294         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74295         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74296         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74297         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74298         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74299         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74300         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74301         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74302         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74303         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74304         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74305         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74306         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74307         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74308         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74309         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74310         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74311         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74312         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74313         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74314         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74315         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74317 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74319         * sysdeps/x86_64/dla.h: Move to ...
74320         * sysdeps/x86_64/fpu/dla.h: ...here.
74321         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74322         situations.  Use __builtin_fma only for gcc 4.6 and up.
74324         * config.make.in: Add have-mfma4 entry.
74325         * configure.in: Substitute libc_cv_cc_fma4.
74326         * math/Makefile (dbl-only-routines): Add sincostab.
74327         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74328         Use __sincostab not sincos.
74329         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74330         name is a macro.
74331         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74332         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74333         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74334         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74335         using __copysign.
74336         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74337         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74338         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74339         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74340         and __inv.
74341         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74342         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74343         __copysign.
74344         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74345         define aliases when function name is a macro.
74346         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74347         sysdeps/ieee754/dbl-64/sincos.tbl.
74348         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74349         fma4-enabled routines.
74350         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74351         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74352         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74353         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74354         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74355         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74356         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74357         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74358         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74359         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74360         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74361         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74362         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74363         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74364         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74365         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74366         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74367         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74368         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74369         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74370         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74371         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74372         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74373         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74374         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74375         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74376         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74377         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74378         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74379         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74381         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74382         rename.
74383         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74384         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74387         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74388         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74389         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74390         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74392 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74394         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74396 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74398         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74400         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74401         prediction.
74402         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74404         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74405         Remove unused variable magic_bits.
74406         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74408         * string/strnlen.c: Define and use STRNLEN macro.
74409         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74410         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74411         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74412         * wcsmbs/wcslen.c: Define and use WCSLEN.
74413         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74414         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74415         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74416         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74417         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74418         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74419         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74421 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74423         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74424         strnlen-sse2-no-bsf.
74425         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74426         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74427         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74428         Add strnlen support.
74429         (USE_AS_STRNLEN): New macro.
74430         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74431         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74432         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74433         * sysdeps/x86_64/wcslen.S: New file.
74435 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74437         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74438         XMM-moves are used for copying on small sizes.
74440 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74442         * wcsmbs/Makefile (strop-tests): Add wcschr.
74443         * wcsmbs/test-wcschr.c: New file.
74444         * string/test-strchr.c: Update.
74445         Add wcschr support.
74446         (WIDE): New macro.
74448 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74450         * wcsmbs/Makefile (strop-tests): Add wcslen.
74451         * wcsmbs/test-wcslen.c: New file.
74452         * string/test-strlen.c: Update.
74453         Add wcslen support.
74454         (WIDE): New macro.
74456 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74458         * po/it.po: Update from translation team.
74460 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74462         * sysdeps/x86_64/wcscmp.S: Update.
74463         Fix wrong comparison semantics.
74464         wcscmp shall use signed comparison not unsigned.
74465         Don't use substraction to avoid overflow bug.
74466         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74467         * wcsmbc/wcscmp.c: Likewise.
74468         * string/test-strcmp.c: Likewise.
74469         Add new tests to check cases with negative values.
74471 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74473         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74474         * sysdeps/x86_64/dla.h: ...here.  New file.
74475         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74476         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74477         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74478         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74479         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74480         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74481         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74482         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74483         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74485 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74487         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74488         __ynl_finite aliases.
74490 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74494         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74495         define DLA_FMA.
74496         [DLA_FMA] (EMULV): Use DLA_FMA.
74497         [DLA_FMA] (MUL12): Use EMULV.
74498         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74499         that are not needed.
74500         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74501         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74502         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74503         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74504         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74505         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74506         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74508 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74510         * math/s_nan.c: Undef __nan.
74511         * math/s_nanf.c: Undef __nanf.
74512         * math/s_nanl.c: Undef __nanl.
74513         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74514         "math_private.h".
74516 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74518         * math/s_catan.c: Add branch predictions.
74519         * math/s_catanf.c: Likewise.
74520         * math/s_catanh.c: Likewise.
74521         * math/s_catanhf.c: Likewise.
74522         * math/s_catanhl.c: Likewise.
74523         * math/s_catanl.c: Likewise.
74524         * math/s_cexp.c: Likewise.
74525         * math/s_cexpf.c: Likewise.
74526         * math/s_cexpl.c: Likewise.
74527         * math/s_clog.c: Likewise.
74528         * math/s_clog10.c: Likewise.
74529         * math/s_clog10f.c: Likewise.
74530         * math/s_clog10l.c: Likewise.
74531         * math/s_clogf.c: Likewise.
74532         * math/s_clogl.c: Likewise.
74533         * math/s_csqrt.c: Likewise.
74534         * math/s_csqrtf.c: Likewise.
74535         * math/s_csqrtl.c: Likewise.
74536         * math/s_ctanf.c: Likewise.
74537         * math/s_ctanh.c: Likewise.
74538         * math/s_ctanhf.c: Likewise.
74539         * math/s_ctanhl.c: Likewise.
74540         * math/s_ctanl.c: Likewise.
74542         * math/math_private.h: Define __nan, __nanf, __nanl.
74543         * math/s_cacosh.c: Include <math_private.h>.
74544         * math/s_cacoshl.c: Likewise.
74545         * math/s_casinh.c: Likewise.
74546         * math/s_casinhf.c: Likewise.
74547         * math/s_casinhl.c: Likewise.
74548         * math/s_ccos.c: Rely entire on ccosh.
74549         * math/s_ccosf.c: Rely entire on ccoshf.
74550         * math/s_ccosl.c: Rely entirely on ccoshl.
74551         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74552         Remove tests for FE_INVALID.
74553         * math/s_ccoshf.c: Likewise.
74554         * math/s_ccoshl.c: Likewise.
74555         * math/s_csin.c: Likewise.
74556         * math/s_csinf.c: Likewise.
74557         * math/s_csinh.c Likewise.
74558         * math/s_csinhf.c: Likewise.
74559         * math/s_csinhl.c: Likewise.
74560         * math/s_csinl.c: Likewise.
74561         * math/s_ctan.c: Likewise.
74562         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74563         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74564         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74566 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74569         compilation problems.
74571         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74572         __builtin_expect.
74574 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74576         * sysdeps/i386/configure.in: Test for -mfma4 option.
74577         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74578         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74579         COMMON_CPUID_INDEX_80000001.
74580         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74581         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74582         use it if FMA3 is not supported.
74583         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74585         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74586         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74588 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74590         [BZ #12892]
74591         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74592         it would create a cycle with a link time dependency.
74594 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74596         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74597         instruction.
74598         * string/Makefile (strop-tests): Add rawmemchr.
74599         * string/test-rawmemchr.c: New file.
74601         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74602         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74603         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74604         when compiling str{,n}casecmp and when AVX is available.  Hook up
74605         new optimized code in initializers.
74607 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74609         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74610         __feraiseexcept instead of feraiseexcept.
74612 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74614         * math/math_private.h: Define defaults for libc_fetestexcept and
74615         libc_feupdateenv.
74616         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74617         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74618         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74619         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74620         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74621         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74622         libc_fetestexcept and libc_feupdateenv.
74624         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74625         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74626         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74627         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74628         libc_feholdexcept_setround.
74630         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74631         Add s_nearbyint-c and s_nearbyintf-c.
74632         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74633         nearbyintf inlines.
74634         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74635         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74636         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74637         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74639         * math/math_private.h: Define defaults for libc_fegetround,
74640         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74641         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74642         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74643         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74644         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74645         standard functions.
74646         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74647         Remove comments and hacks for old compiler versions.
74648         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74649         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74650         libc_feholdexceptl.
74652 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74654         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74655         (__feraiseexcept_renamed): Add __NTH.
74656         (feraiseexcept): Add __NTH.  Rename local variables to fix
74657         namespace violations.
74659 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74661         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74663         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74665         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74666         recently added interfaces.
74667         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74669         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74670         about macro parameter expansion.
74672         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74673         __NO_MATH_INLINES is defined.  Cleanups.
74675         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74676         and __floorf is target has SSE4.1.
74677         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74678         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74679         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74680         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74682         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74683         name.
74684         (floorf): Likewise.
74686         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74688 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74690         * misc/sys/cdefs.h: Fix last change.
74692         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74693         database lookup.
74695 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74697         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74699         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74700         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74701         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74702         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74703         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74704         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74705         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74706         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74707         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74708         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74709         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74710         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74711         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74712         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74713         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74714         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74715         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74716         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74717         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74718         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74719         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74720         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74722         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74723         ceil, ceilf, floor, floorf.
74725         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74726         Perform IRELATIVE relocations last.
74728         * elf/do-rel.h: Add another parameter nrelative, replacing the
74729         local variable with the same name.  Change name of the function
74730         to end in Rel or Rela (uppercase).
74731         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74732         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74733         elf_dynamic_do_##reloc function.
74735 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74737         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74738         is sufficient, at least on modern CPUs.
74740         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74742         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74743         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74745         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74746         __expl_finite.
74747         * math/bits/math-finite.h: Add entries for exp.
74748         * math/e_expl.c: Add __*_finite alias.
74749         * sysdeps/i386/fpu/e_exp.S: Likewise.
74750         * sysdeps/i386/fpu/e_expf.S: Likewise.
74751         * sysdeps/i386/fpu/e_expl.c: Likewise.
74752         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74753         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74754         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74755         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74756         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74757         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74758         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74760         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74761         is sufficient, at least on modern CPUs.
74763         * ctype/ctype-info.c (__ctype_init): Define.
74764         * include/ctype.h (__ctype_init): Declare.
74765         (__ctype_b_loc): The variable is always initialized.
74766         (__ctype_toupper_loc): Likewise.
74767         (__ctype_tolower_loc): Likewise.
74768         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74769         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74771 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74773         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74775         * configure.in: Also look in $cxxmachine/include for C++ system
74776         headers.
74778 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74780         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74781         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74782         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74783         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74784         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74785         (USE_AS_WMEMCMP): New macro.
74786         Fixing indents.
74787         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74788         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74789         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74790         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74791         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74792         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74793         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74794         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74795         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74796         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74797         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74798         (USE_AS_WMEMCMP): New macro.
74799         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74800         * sysdeps/string/test-memcmp.c: Update.
74801         Fix simple_wmemcmp.
74802         Add new tests.
74803         * wcsmbs/wmemcmp.c: Update.
74804         (WMEMCMP): New macro.
74805         Fix overflow bug.
74807 2011-10-12  Andreas Jaeger  <aj@suse.de>
74809         [BZ #13268]
74810         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74812 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74814         * libio/iofwide.c (do_length): Avoid warning.
74816         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74818 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74820         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74822         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74823         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74824         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74825         * sysdeps/i386/i686/fpu/e_log.S: New file.
74826         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74827         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74829         * ctype/ctype.h: Add support for inlined isXXX functions when
74830         compiling C++ code.
74832 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74834         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74836         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74838 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74840         [BZ #13291]
74841         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74843 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74845         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74846         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74847         feraiseexcept.
74849         * sysdeps/x86_64/memrchr.S: Check for zero size.
74851         * string/stratcliff.c: Add memrchr tests.
74853 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74855         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74856         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74857         rawmemchr-sse2 rawmemchr-sse2-bsf.
74858         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74859         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74860         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74861         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74862         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74863         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74864         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74865         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74866         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74867         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74868         * string/memrchr.c (MEMRCHR): New macro.
74870 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74872         Add integration with gcc's -ffinite-math-only and optimize wrapper
74873         functions in libm.
74874         * Versions.def: Define GLIBC_2.15 version for libm.
74875         * math/Makefile (headers): Add bits/math-finite.h.
74876         * math/bits/math-finite.h: New file.
74877         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74878         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74879         * math/e_acoshl.c: Add __*_finite alias.
74880         * math/e_acosl.c: Likewise.
74881         * math/e_asinl.c: Likewise.
74882         * math/e_atan2l.c: Likewise.
74883         * math/e_atanhl.c: Likewise.
74884         * math/e_coshl.c: Likewise.
74885         * math/e_exp10.c: Likewise.
74886         * math/e_exp10f.c: Likewise.
74887         * math/e_exp10l.c: Likewise.
74888         * math/e_exp2l.c: Likewise.
74889         * math/e_fmodl.c: Likewise.
74890         * math/e_gammal_r.c: Likewise.
74891         * math/e_hypotl.c: Likewise.
74892         * math/e_j0l.c: Likewise.
74893         * math/e_j1l.c: Likewise.
74894         * math/e_jnl.c: Likewise.
74895         * math/e_lgammal_r.c: Likewise.
74896         * math/e_log10l.c: Likewise.
74897         * math/e_log2l.c: Likewise.
74898         * math/e_logl.c: Likewise.
74899         * math/e_powl.c: Likewise.
74900         * math/e_sinhl.c: Likewise.
74901         * math/e_sqrtl.c: Likewise.
74902         * math/e_scalb.c: Completely rewritten and optimized.
74903         * math/e_scalbf.c: Likewise.
74904         * math/e_scalbl.c: Likewise.
74905         * math/w_acos.c: Likewise.
74906         * math/w_acosf.c: Likewise.
74907         * math/w_acosl.c: Likewise.
74908         * math/w_acosh.c: Likewise.
74909         * math/w_acoshf.c: Likewise.
74910         * math/w_acoshl.c: Likewise.
74911         * math/w_asin.c: Likewise.
74912         * math/w_asinf.c: Likewise.
74913         * math/w_asinl.c: Likewise.
74914         * math/w_atan2.c: Likewise.
74915         * math/w_atan2f.c: Likewise.
74916         * math/w_atan2l.c: Likewise.
74917         * math/w_atanh.c: Likewise.
74918         * math/w_atanhf.c: Likewise.
74919         * math/w_atanhl.c: Likewise.
74920         * math/w_exp10.c: Likewise.
74921         * math/w_exp10f.c: Likewise.
74922         * math/w_exp10l.c: Likewise.
74923         * math/w_fmod.c: Likewise.
74924         * math/w_fmodf.c: Likewise.
74925         * math/w_fmodl.c: Likewise.
74926         * math/w_j0.c: Likewise.
74927         * math/w_j0f.c: Likewise.
74928         * math/w_j0l.c: Likewise.
74929         * math/w_j1.c: Likewise.
74930         * math/w_j1f.c: Likewise.
74931         * math/w_j1l.c: Likewise.
74932         * math/w_jn.c: Likewise.
74933         * math/w_jnf.c: Likewise.
74934         * math/w_log.c: Likewise.
74935         * math/w_logf.c: Likewise.
74936         * math/w_logl.c: Likewise.
74937         * math/w_log10.c: Likewise.
74938         * math/w_log10f.c: Likewise.
74939         * math/w_log10l.c: Likewise.
74940         * math/w_log2.c: Likewise.
74941         * math/w_log2f.c: Likewise.
74942         * math/w_log2l.c: Likewise.
74943         * math/w_pow.c: Likewise.
74944         * math/w_powf.c: Likewise.
74945         * math/w_powl.c: Likewise.
74946         * math/w_remainder.c: Likewise.
74947         * math/w_remainderf.c: Likewise.
74948         * math/w_remainderl.c: Likewise.
74949         * math/w_scalb.c: Likewise.
74950         * math/w_scalbf.c: Likewise.
74951         * math/w_scalbl.c: Likewise.
74952         * math/w_sqrt.c: Likewise.
74953         * math/w_sqrtf.c: Likewise.
74954         * math/w_sqrtl.c: Likewise.
74955         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74956         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74957         used.
74958         * math/math_private.h: Declare __kernel_standard_f.
74959         * math/w_cosh.c: Remove cruft and optimize a bit.
74960         * math/w_coshf.c: Likewise.
74961         * math/w_coshl.c: Likewise.
74962         * math/w_exp2.c: Likewise.
74963         * math/w_exp2f.c: Likewise.
74964         * math/w_exp2l.c: Likewise.
74965         * math/w_hypot.c: Likewise.
74966         * math/w_hypotf.c: Likewise.
74967         * math/w_hypotl.c: Likewise.
74968         * math/w_lgamma.c: Likewise.
74969         * math/w_lgamma_r.c: Likewise.
74970         * math/w_lgammaf.c: Likewise.
74971         * math/w_lgammaf_r.c: Likewise.
74972         * math/w_lgammal.c: Likewise.
74973         * math/w_lgammal_r.c: Likewise.
74974         * math/w_sinh.c: Likewise.
74975         * math/w_sinhf.c: Likewise.
74976         * math/w_sinhl.c: Likewise.
74977         * math/w_tgamma.c: Likewise.
74978         * math/w_tgammaf.c: Likewise.
74979         * math/w_tgammal.c: Likewise.
74980         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74981         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74982         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74983         Minor optimizations.  Pretty printing.  Remove cruft.
74984         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74985         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74986         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74987         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74988         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74989         * sysdeps/i386/fpu/e_asin.S: Likewise.
74990         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74991         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74992         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74993         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74994         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74995         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74996         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74997         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74998         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74999         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75000         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75001         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75002         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75003         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75004         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75005         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75006         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75007         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75008         * sysdeps/i386/fpu/e_log.S: Likewise.
75009         * sysdeps/i386/fpu/e_log10.S: Likewise.
75010         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75011         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75012         * sysdeps/i386/fpu/e_log2.S: Likewise.
75013         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75014         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75015         * sysdeps/i386/fpu/e_logf.S: Likewise.
75016         * sysdeps/i386/fpu/e_logl.S: Likewise.
75017         * sysdeps/i386/fpu/e_pow.S: Likewise.
75018         * sysdeps/i386/fpu/e_powf.S: Likewise.
75019         * sysdeps/i386/fpu/e_powl.S: Likewise.
75020         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75021         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75022         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75023         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75024         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75025         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75026         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75027         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75028         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75029         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75030         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75031         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75032         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75033         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75034         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75035         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75036         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75037         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75038         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75039         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75040         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75041         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75042         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75043         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75044         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75045         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75046         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75047         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75048         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75049         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75050         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75051         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75052         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75053         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75054         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75055         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75056         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75057         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75058         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75059         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75060         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75061         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75062         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75063         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75064         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75065         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75066         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75067         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75068         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75069         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75070         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75071         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75072         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75073         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75074         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75075         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75076         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75077         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75078         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75079         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75080         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75081         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75082         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75083         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75084         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75085         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75086         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75087         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75088         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75089         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75090         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75091         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75092         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75093         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75094         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75095         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75096         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75097         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75098         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75099         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75100         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75101         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75102         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75103         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75104         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75105         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75106         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75107         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75108         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75109         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75110         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75111         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75112         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75113         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75114         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75115         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75116         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75117         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75118         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75119         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75120         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75121         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75122         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75123         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75124         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75125         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75126         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75127         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75128         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75129         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75130         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75131         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75132         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75133         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75134         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75135         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75136         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75137         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75138         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75139         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75140         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75141         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75142         (__isnanf): Likewise.
75143         (__isinf_ns): Likewise.
75144         (__isinf_nsf): Likewise.
75145         (__finite): Likewise.
75146         (__finitef): Likewise.
75147         (__ieee754_sqrt): Define as macro.
75148         (__ieee754_sqrtf): Define as macro.
75149         (__ieee754_sqrtl): Define as macro.
75150         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75151         inlined copy.
75152         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75153         __FINITE_MATH_ONLY__ consistent.
75154         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75156 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75158         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75159         of rawmemchr.
75161         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75163 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75165         * po/ja.po: Update from translation team.
75167 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75169         * locale/programs/locarchive.c (prepare_address_space): New function.
75170         (create_archive, enlarge_archive, open_archive): Use it.
75172         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75173         inside [SHARED], where it is used.
75175         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75177         * nss/getent.c (netgroup_keys): Remove unused variable.
75178         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75180 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75182         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75183         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75184         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75185         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75186         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75187         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75188         * math/Makefile (libm-calls): Add s_isinf_ns.
75189         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75190         * math/multc3.c: Likewise.
75191         * math/s_casin.c: Likewise.
75192         * math/s_casinf.c: Likewise.
75193         * math/s_casinl.c: Likewise.
75194         * math/s_ccos.c: Likewise.
75195         * math/s_ccosf.c: Likewise.
75196         * math/s_ccosl.c: Likewise.
75197         * math/s_ctan.c: Likewise.
75198         * math/s_ctanf.c: Likewise.
75199         * math/s_ctanh.c: Likewise.
75200         * math/s_ctanhf.c: Likewise.
75201         * math/s_ctanhl.c: Likewise.
75202         * math/s_ctanl.c: Likewise.
75203         * math/w_fmod.c: Likewise.
75204         * math/w_fmodf.c: Likewise.
75205         * math/w_fmodl.c: Likewise.
75206         * math/w_remainder.c: Likewise.
75207         * math/w_remainderf.c: Likewise.
75208         * math/w_remainderl.c: Likewise.
75209         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75210         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75211         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75212         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75213         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75214         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75215         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75216         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75218         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75219         of the number.
75220         * stdio-common/printf_fphex.c: Likewise.
75221         * stdio-common/printf_size.c: Likewise.
75223         * math/e_exp10.c: Include math_private.h using <...> not "...".
75224         * math/e_exp10f.c: Likewise.
75225         * math/e_exp10l.c: Likewise.
75226         * math/e_exp2l.c: Likewise.
75227         * math/e_j0l.c: Likewise.
75228         * math/e_j1l.c: Likewise.
75229         * math/e_jnl.c: Likewise.
75230         * math/e_lgammal_r.c: Likewise.
75231         * math/e_rem_pio2l.c: Likewise.
75232         * math/e_scalb.c: Likewise.
75233         * math/e_scalbf.c: Likewise.
75234         * math/e_scalbl.c: Likewise.
75235         * math/k_cosl.c: Likewise.
75236         * math/k_sinl.c: Likewise.
75237         * math/k_tanl.c: Likewise.
75238         * math/s_cacoshf.c: Likewise.
75239         * math/s_catan.c: Likewise.
75240         * math/s_catanf.c: Likewise.
75241         * math/s_catanh.c: Likewise.
75242         * math/s_catanhf.c: Likewise.
75243         * math/s_catanhl.c: Likewise.
75244         * math/s_catanl.c: Likewise.
75245         * math/s_ccosh.c: Likewise.
75246         * math/s_ccoshf.c: Likewise.
75247         * math/s_ccoshl.c: Likewise.
75248         * math/s_cexp.c: Likewise.
75249         * math/s_cexpf.c: Likewise.
75250         * math/s_cexpl.c: Likewise.
75251         * math/s_clog.c: Likewise.
75252         * math/s_clog10.c: Likewise.
75253         * math/s_clog10f.c: Likewise.
75254         * math/s_clog10l.c: Likewise.
75255         * math/s_clogf.c: Likewise.
75256         * math/s_clogl.c: Likewise.
75257         * math/s_csin.c: Likewise.
75258         * math/s_csinf.c: Likewise.
75259         * math/s_csinh.c: Likewise.
75260         * math/s_csinhf.c: Likewise.
75261         * math/s_csinhl.c: Likewise.
75262         * math/s_csinl.c: Likewise.
75263         * math/s_csqrt.c: Likewise.
75264         * math/s_csqrtf.c: Likewise.
75265         * math/s_csqrtl.c: Likewise.
75266         * math/s_ctan.c: Likewise.
75267         * math/s_ctanf.c: Likewise.
75268         * math/s_ctanh.c: Likewise.
75269         * math/s_ctanhf.c: Likewise.
75270         * math/s_ctanhl.c: Likewise.
75271         * math/s_ctanl.c: Likewise.
75272         * math/s_ldexp.c: Likewise.
75273         * math/s_ldexpf.c: Likewise.
75274         * math/s_ldexpl.c: Likewise.
75275         * math/s_significand.c: Likewise.
75276         * math/s_significandf.c: Likewise.
75277         * math/s_significandl.c: Likewise.
75278         * math/w_acos.c: Likewise.
75279         * math/w_acosf.c: Likewise.
75280         * math/w_acosh.c: Likewise.
75281         * math/w_acoshf.c: Likewise.
75282         * math/w_acoshl.c: Likewise.
75283         * math/w_acosl.c: Likewise.
75284         * math/w_asin.c: Likewise.
75285         * math/w_asinf.c: Likewise.
75286         * math/w_asinl.c: Likewise.
75287         * math/w_atan2.c: Likewise.
75288         * math/w_atan2f.c: Likewise.
75289         * math/w_atan2l.c: Likewise.
75290         * math/w_atanh.c: Likewise.
75291         * math/w_atanhf.c: Likewise.
75292         * math/w_atanhl.c: Likewise.
75293         * math/w_cosh.c: Likewise.
75294         * math/w_coshf.c: Likewise.
75295         * math/w_coshl.c: Likewise.
75296         * math/w_dremf.c: Likewise.
75297         * math/w_exp10.c: Likewise.
75298         * math/w_exp10f.c: Likewise.
75299         * math/w_exp10l.c: Likewise.
75300         * math/w_exp2.c: Likewise.
75301         * math/w_exp2f.c: Likewise.
75302         * math/w_fmod.c: Likewise.
75303         * math/w_fmodf.c: Likewise.
75304         * math/w_fmodl.c: Likewise.
75305         * math/w_hypot.c: Likewise.
75306         * math/w_hypotf.c: Likewise.
75307         * math/w_hypotl.c: Likewise.
75308         * math/w_j0.c: Likewise.
75309         * math/w_j0f.c: Likewise.
75310         * math/w_j0l.c: Likewise.
75311         * math/w_j1.c: Likewise.
75312         * math/w_j1f.c: Likewise.
75313         * math/w_j1l.c: Likewise.
75314         * math/w_jn.c: Likewise.
75315         * math/w_jnf.c: Likewise.
75316         * math/w_jnl.c: Likewise.
75317         * math/w_lgamma.c: Likewise.
75318         * math/w_lgamma_r.c: Likewise.
75319         * math/w_lgammaf.c: Likewise.
75320         * math/w_lgammaf_r.c: Likewise.
75321         * math/w_lgammal.c: Likewise.
75322         * math/w_lgammal_r.c: Likewise.
75323         * math/w_log.c: Likewise.
75324         * math/w_log10.c: Likewise.
75325         * math/w_log10f.c: Likewise.
75326         * math/w_log10l.c: Likewise.
75327         * math/w_log2.c: Likewise.
75328         * math/w_log2f.c: Likewise.
75329         * math/w_log2l.c: Likewise.
75330         * math/w_logf.c: Likewise.
75331         * math/w_logl.c: Likewise.
75332         * math/w_pow.c: Likewise.
75333         * math/w_powf.c: Likewise.
75334         * math/w_powl.c: Likewise.
75335         * math/w_remainder.c: Likewise.
75336         * math/w_remainderf.c: Likewise.
75337         * math/w_remainderl.c: Likewise.
75338         * math/w_scalb.c: Likewise.
75339         * math/w_scalbf.c: Likewise.
75340         * math/w_scalbl.c: Likewise.
75341         * math/w_sinh.c: Likewise.
75342         * math/w_sinhf.c: Likewise.
75343         * math/w_sinhl.c: Likewise.
75344         * math/w_sqrt.c: Likewise.
75345         * math/w_sqrtf.c: Likewise.
75346         * math/w_sqrtl.c: Likewise.
75347         * math/w_tgamma.c: Likewise.
75348         * math/w_tgammaf.c: Likewise.
75349         * math/w_tgammal.c: Likewise.
75351         * po/ja.po: Update from translation team.
75353 2011-09-29  Andreas Jaeger  <aj@suse.de>
75355         [BZ #13179]
75356         * sunrpc/netname.c (netname2host): Fix logic.
75358         [BZ #6779]
75359         [BZ #6783]
75360         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75361         correctly.
75362         * math/w_remainder.c (__remainder): Likewise.
75363         * math/w_remainderf.c (__remainderf): Likewise.
75364         * math/libm-test.inc (remainder_test): Add test cases.
75366 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75368         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75369         sdiv_qrnnd.
75371 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75373         * string/test-memcmp.c: Avoid unncessary #defines.
75374         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75376 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75378         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75379         Use new sse2 version for core i3 - i7 as it's faster
75380         than sse42 version.
75381         (bit_Prefer_PMINUB_for_stringop): New.
75382         * sysdeps/x86_64/rawmemchr.S: Update.
75383         Replace with faster SSE2 version.
75384         * sysdeps/x86_64/memrchr.S: New file.
75385         * sysdeps/x86_64/memchr.S: Update.
75386         Replace with faster SSE2 version.
75388 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75390         * elf/dl-load.c (lose): Add cast to avoid warning.
75392 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75394         * po/ca.po: Update from translation team.
75396         * inet/getnetgrent_r.c: Hook up nscd.
75397         * nscd/Makefile (routines): Add nscd_netgroup.
75398         (nscd-modules): Add netgroupcache.
75399         (CFLAGS-netgroupcache.c): Define.
75400         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75401         (cache_search): Add const to second parameter.
75402         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75403         INNETGR.
75404         (dbs): Add netgrdb entry.
75405         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75406         (verify_persistent_db): Handle netgrdb.
75407         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75408         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75409         GETFDNETGR.
75410         (netgroup_response_header): Define.
75411         (innetgroup_response_header): Define.
75412         (datahead): Add netgroup_response_header and innetgroup_response_header
75413         elements.
75414         * nscd/nscd.conf: Add entries for netgroup cache.
75415         * nscd/nscd.h (dbtype): Add netgrdb.
75416         (_PATH_NSCD_NETGROUP_DB): Define.
75417         (netgroup_iov_disabled): Declare.
75418         (xmalloc, xcalloc, xrealloc): Move declarations here.
75419         (cache_search): Adjust prototype.
75420         Add netgroup-related prototypes.
75421         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75422         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75423         (__nscd_innetgr): Declare.
75424         * nscd/selinux.c (perms): Use access_vector_t as element type and
75425         add netgroup-related initializers.
75426         * nscd/netgroupcache.c: New file.
75427         * nscd/nscd_netgroup.c: New file.
75428         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75429         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75430         For four parameters use innetgr.
75431         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75432         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75433         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75434         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75436         * nscd/connections.c (register_traced_file): Don't register file
75437         for disabled databases.
75439 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75441         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75443         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75444         from tree and freeing node.
75446 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75448         * nss/nsswitch.c (__nss_database_lookup): Handle
75449         nss_parse_service_list out of memory case.
75451 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75453         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75454         out of memory case.
75456 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75458         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75459         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75460         pass it down.
75461         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75462         elf_machine_rela, elf_machine_lazy_rel.
75463         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75464         (ELF_DYNAMIC_DO_REL): Likewise.
75465         (ELF_DYNAMIC_DO_RELA): Likewise.
75466         (ELF_DYNAMIC_RELOCATE): Likewise.
75467         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75468         to ELF_DYNAMIC_DO_REL.
75469         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75470         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75471         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75472         elf_machine_rela.
75473         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75474         skip_ifunc, don't call ifunc function if non-zero.
75475         (elf_machine_rela): Likewise.
75476         (elf_machine_lazy_rel): Likewise.
75477         (elf_machine_lazy_rela): Likewise.
75478         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75479         (elf_machine_lazy_rel): Likewise.
75480         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75481         Likewise.
75482         (elf_machine_lazy_rel): Likewise.
75483         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75484         Likewise.
75485         (elf_machine_lazy_rel): Likewise.
75486         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75487         (elf_machine_lazy_rel): Likewise.
75488         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75489         (elf_machine_lazy_rel): Likewise.
75490         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75491         (elf_machine_lazy_rel): Likewise.
75492         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75493         (elf_machine_lazy_rel): Likewise.
75494         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75495         (elf_machine_lazy_rel): Likewise.
75496         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75497         (elf_machine_lazy_rel): Likewise.
75499 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75501         * nss/nss_files/files-init.c (_nss_files_init): Use static
75502         initialization for all the *_traced_file variables.
75504 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75506         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75508 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75510         [BZ #13226]
75511         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75513 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75515         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75516         Reread the line before reparsing it.
75518 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75520         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75522 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75523             Maxim Kuvyrkov  <maxim@codesourcery.com>
75524             Joseph Myers  <joseph@codesourcery.com>
75526         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75527         if needed for __stack_chk_guard.
75529 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75531         * sysdeps/posix/spawni.c (script_execute): Always define it.
75532         It will be optimized away if unused.
75533         (maybe_script_execute): New function.
75534         (__spawni): Call it.
75536         * Makerules: Don't include tls.make.
75537         (config-tls): Always set to thread.
75538         * tls.make.c: File removed.
75540 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75542         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75543         * config.make.in (CPPFLAGS-config): New substituted variable.
75545 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75547         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75549         [BZ #13192]
75550         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75551         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75553 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75555         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75556         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75557         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75558         (CALL_FAIL): Likewise.
75559         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75560         (CALL_FAIL): Macro removed.
75561         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75563 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75565         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75566         for __FINITE_MATH_ONLY__ == 1.
75568 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75570         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75571         __ieee754_sqrt instead of sqrt.
75572         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75573         __ieee754_sqrtf instead of sqrtf.
75574         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75575         __floorf instead of floorf.
75576         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75577         __floorf, __truncf instead of floorf, truncf.
75579 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75581         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75583         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75584         __extern_always_inline.
75585         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75586         32-bit.
75588 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75590         * elf/rtld.c (dl_main): Also relocate in dependency order when
75591         doing symbol dependency testing.
75593 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75595         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75596         Always define `refsym'.
75598 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75600         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75601         (__FD_ELT): Renamed from __FDELT.
75602         * misc/bits/select2.h (__FD_ELT): Likewise.
75603         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75604         __FD_MASK instead of __FDELT, __FDMASK.
75605         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75606         Likewise.
75607         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75608         Likewise.
75610         * elf/Makefile (gen-ldd): Fix pattern.
75612         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75613         (init_tls): Likewise.
75615 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75617         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75619 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75621         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75622         `struct cmsghdr *' instead of `void *'.
75623         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75624         Likewise.
75626 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75628         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75629         if non-absolute.
75630         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75631         ldd_rewrite_script.
75633 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75635         * configure.in: Remove --with-tls option.
75636         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75637         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75638         out in case it is missing.
75639         * sysdeps/ia64/elf/configure.in: Likewise.
75640         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75641         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75642         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75643         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75644         * sysdeps/sh/elf/configure.in: Likewise.
75645         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75646         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75647         * sysdeps/x86_64/elf/configure.in: Likewise.
75648         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75649         * sysdeps/mach/hurd/tls.h: Likewise.
75651         [BZ #13067]
75652         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75654         [BZ #13090]
75655         * configure.in: Fix use of AC_INIT.
75657         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75659 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75661         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75662         __set_errno.
75663         * malloc/hooks.c: Likewise.
75665         [BZ #11929]
75666         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75667         variables statically.
75668         (narenas): Initialize.
75669         (list_lock): Initialize.
75670         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75671         initializtion of main_arena and list_lock.  Small cleanups.
75672         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75673         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75674         Add initializers to main_arena and mp_.
75675         (malloc_state): Remove pagesize member.  Change all users to use
75676         GLRO(dl_pagesize).
75678         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75679         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75680         is always initialized.
75682         * malloc/malloc.c: Removed unused configurations and dead code.
75683         * malloc/arena.c: Likewise.
75684         * malloc/hooks.c: Likewise.
75685         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75687         * include/tls.h: Removed.  USE___THREAD must always be defined.
75688         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75689         * elf/dl-libc.c: Likewise.
75690         * elf/dl-tsd.c: Likewise.
75691         * include/errno.h: Likewise.
75692         * include/netdb.h: Likewise.
75693         * include/resolv.h: Likewise.
75694         * inet/herrno-loc.c: Likewise.
75695         * inet/herrno.c: Likewise.
75696         * malloc/arena.c: Likewise.
75697         * malloc/hooks.c: Likewise.
75698         * malloc/malloc.c: Likewise.
75699         * resolv/res-state.c: Likewise.
75700         * resolv/res_libc.c: Likewise.
75701         * sysdeps/i386/dl-machine.h: Likewise.
75702         * sysdeps/ia64/dl-machine.h: Likewise.
75703         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75704         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75705         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75706         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75707         * sysdeps/sh/dl-machine.h: Likewise.
75708         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75709         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75710         * sysdeps/unix/i386/sysdep.S: Likewise.
75711         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75712         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75713         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75714         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75715         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75716         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75717         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75718         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75719         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75721         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75722         * sysdeps/x86_64/dl-machine.h: Likewise.
75723         * tls.make.c: Likewise.
75725         * configure.in: Remove --with-__thread option.  Make tests for
75726         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75727         tls_model attribute fail if no support is available.  Remove
75728         USE_IN_LIBIO.
75729         * Makeconfig: Adjust for dropped configure option.  All features are
75730         now mandatory.
75731         * Makerules: Likewise.
75732         * Versions.def: Likewise.
75733         * argp/argp-fmtstream.c: Likewise.
75734         * argp/argp-fmtstream.h: Likewise.
75735         * argp/argp-help.c: Likewise.
75736         * assert/assert.c: Likewise.
75737         * config.h.in: Likewise.
75738         * config.make.in: Likewise.
75739         * configure: Likewise.
75740         * configure.in: Likewise.
75741         * csu/Versions: Likewise.
75742         * csu/init.c: Likewise.
75743         * elf/tst-audit2.c: Likewise.
75744         * elf/tst-tls10.c: Likewise.
75745         * elf/tst-tls10.h: Likewise.
75746         * elf/tst-tls11.c: Likewise.
75747         * elf/tst-tls12.c: Likewise.
75748         * elf/tst-tls14.c: Likewise.
75749         * elf/tst-tlsmod11.c: Likewise.
75750         * elf/tst-tlsmod12.c: Likewise.
75751         * elf/tst-tlsmod13.c: Likewise.
75752         * elf/tst-tlsmod13a.c: Likewise.
75753         * elf/tst-tlsmod14a.c: Likewise.
75754         * elf/tst-tlsmod15b.c: Likewise.
75755         * elf/tst-tlsmod16a.c: Likewise.
75756         * elf/tst-tlsmod16b.c: Likewise.
75757         * elf/tst-tlsmod7.c: Likewise.
75758         * elf/tst-tlsmod8.c: Likewise.
75759         * elf/tst-tlsmod9.c: Likewise.
75760         * gmon/gmon.c: Likewise.
75761         * grp/fgetgrent_r.c: Likewise.
75762         * grp/putgrent.c: Likewise.
75763         * hurd/fopenport.c: Likewise.
75764         * include/libc-symbols.h: Likewise.
75765         * include/tls.h: Likewise.
75766         * intl/gettextP.h: Likewise.
75767         * intl/loadinfo.h: Likewise.
75768         * locale/global-locale.c: Likewise.
75769         * locale/localeinfo.h: Likewise.
75770         * mach/devstream.c: Likewise.
75771         * malloc/arena.c: Likewise.
75772         * malloc/set-freeres.c: Likewise.
75773         * misc/err.c: Likewise.
75774         * misc/getttyent.c: Likewise.
75775         * misc/mntent_r.c: Likewise.
75776         * posix/getopt.c: Likewise.
75777         * posix/wordexp.c: Likewise.
75778         * pwd/fgetpwent_r.c: Likewise.
75779         * resolv/Versions: Likewise.
75780         * resolv/res_hconf.c: Likewise.
75781         * shadow/fgetspent_r.c: Likewise.
75782         * shadow/putspent.c: Likewise.
75783         * stdio-common/printf_fphex.c: Likewise.
75784         * stdio-common/tmpfile.c: Likewise.
75785         * stdlib/abort.c: Likewise.
75786         * stdlib/fmtmsg.c: Likewise.
75787         * sunrpc/auth_unix.c: Likewise.
75788         * sunrpc/clnt_perr.c: Likewise.
75789         * sunrpc/clnt_tcp.c: Likewise.
75790         * sunrpc/clnt_udp.c: Likewise.
75791         * sunrpc/clnt_unix.c: Likewise.
75792         * sunrpc/openchild.c: Likewise.
75793         * sunrpc/svc_simple.c: Likewise.
75794         * sunrpc/svc_tcp.c: Likewise.
75795         * sunrpc/svc_udp.c: Likewise.
75796         * sunrpc/svc_unix.c: Likewise.
75797         * sunrpc/xdr.c: Likewise.
75798         * sunrpc/xdr_array.c: Likewise.
75799         * sunrpc/xdr_rec.c: Likewise.
75800         * sunrpc/xdr_ref.c: Likewise.
75801         * sunrpc/xdr_stdio.c: Likewise.
75803 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75805         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75807 2011-07-03  Andreas Jaeger  <aj@suse.de>
75809         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75810         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75811         regenerate with gen-libm-tests.pl.
75813 2010-05-12  Petr Baudis  <pasky@suse.cz>
75815         [BZ #11589]
75816         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75817         around j0() zero points by switching to j1().
75818         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75819         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75821         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75823 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75825         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75826         instead of 0.
75827         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75828         instead of 0.
75829         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75830         Patch in part by Pavel Roskin <proski@gnu.org>.
75832         [BZ #13138]
75833         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75834         realloc.
75835         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75836         Free memory block if necessary.
75838         [BZ #12847]
75839         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75840         be NULL.  Don't lock in this case.
75842 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75844         * elf/elf.h (ELFOSABI_GNU): New macro.
75845         (ELFOSABI_LINUX): Define to that.
75847 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75849         * string/strncat.c (strncat): Undef the symbol in case it has been
75850         defined in bits/string.h.
75852 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75854         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75856         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75857         link map.
75859 2011-08-17  Andreas Jaeger  <aj@suse.de>
75861         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75863 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75864             Ian Lance Taylor  <iant@google.com>
75866         * math/libm-test.inc (lround_test): New testcase.
75867         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75869 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75871         * Makefile: Remove support for automatic cvs check-ins.
75872         * Makerules: Likewise.
75873         * config.make.in: Likewise.
75874         * configure.in: Likewise.
75875         * intl/Makefile: Likewise.
75876         * locale/Makefile: Likewise.
75877         * po/Makefile: Likewise.
75878         * posix/Makefile: Likewise.
75879         * sysdeps/gnu/Makefile: Likewise.
75880         * sysdeps/mach/hurd/Makefile: Likewise.
75881         * sysdeps/sparc/sparc32/Makefile: Likewise.
75883         [BZ #13118]
75884         * posix/Makefile (bug-regex32-ENV): Define.
75885         Patch by John Stanley <jpsinthemix@verizon.net>.
75887         * misc/Makefile (headers): Add bits/select2.h.
75888         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75889         * misc/bits/select2.h: New file.
75890         * include/bits/select2.h: New file.
75891         * debug/Makefile (routines): Add fdelt_chk.
75892         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75893         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75894         FD_ISSET.
75895         * debug/fdelt_chk.c: New file.
75897         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75898         * wcsmbs/test-wmemcmp.c: Likewise.
75899         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75900         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75902 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75904         * string/Makefile (strop-tests): Add memcmp.
75905         * string/test-wmemcmp.c: New file.
75906         * string/test-memcmp.c: Add wmemcmp support.
75908 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75910         [BZ #13153]
75911         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75912         2011-07-19 change.
75914         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75915         garbage value in a __mach_port_mod_refs call in the cases of the
75916         task-self and thread-self ports.
75918 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75920         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75922 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75924         * elf/dl-load.c (lose): Check for non-null L.
75926 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75928         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75930         * elf/dl-libc.c (dlerror_run): Pass back error code from
75931         dl_catch_error.
75933         [BZ #13123]
75934         * elf/dl-load.c (lose): Free l_origin if it is valid.
75936         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75937         names.
75938         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75939         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75940         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75941         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75942         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75943         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75945 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75947         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75948         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75949         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75950         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75951         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75952         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75953         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75954         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75955         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75956         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75958 2011-08-15  Alan Modra  <amodra@gmail.com>
75960         [BZ #13092]
75961         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75962         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75963         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75964         ppc_mcount to static-only-routines.
75965         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75966         __mcount_internal.
75967         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75968         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75970 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75972         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75973         for finite and infinity parameters.
75975 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75977         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75978         and add nop instructions for throughput optimization.
75979         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75981 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75983         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75984         aligned copy for power7 with vector-scalar instructions.
75985         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75987 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75989         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75990         AVX check.
75992 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75994         [BZ #13144]
75995         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75996         last change.
75998 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76000         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76001         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76002         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76003         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76004         clock_gettime.
76006 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76008         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76009         Forgot to demangle the pointer.
76011         * sysdeps/i386/sysdep.h: Define atom_text_section.
76012         * sysdeps/x86_64/sysdep.h: Likewise.
76013         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76014         section with atom_text_section.
76015         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76016         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76017         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76018         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76019         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76021         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76022         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76023         already be defined.  Change to take two parameters and don't assign
76024         result to variable.  Adjust all users.
76025         Define INTERNAL_GETTIME if not already defined.
76026         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76027         call.
76028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76029         HAVE_CLOCK_GETTIME_VSYSCALL.
76030         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76032         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76033         gettimeofday vsyscall, just use time.
76035 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76037         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76038         <errno.h>.
76040 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76042         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76043         syscall on x86-64.
76044         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76045         syscall.
76046         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76047         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76048         syscall if possible.
76050 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76052         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76053         e_ident.  Don't pass to find_mapsXX.
76054         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76056 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76059         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76060         * sysdeps/x86_64/multiarch/strchr.S: Update.
76061         Check bit_slow_BSF bit.
76062         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76063         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76064         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76066 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76068         [BZ #13134]
76069         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76070         before glibc 2.15.
76071         (tryshell): Define.
76072         (__spawni): Change last parameter to be flag.  Test
76073         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76074         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76075         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76076         * posix/spawni.c: Likewise.
76077         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76078         * posix/spawnp.c: Likewise.  Change normal version to use
76079         SPAWN_XFLAGS_USE_PATH.
76080         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76081         SPAWN_XFLAGS_TRY_SHELL.
76083         [BZ #13150]
76084         * posix/glob.h: Remove gcc 1.x support.
76086         [BZ #13068]
76087         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76089 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76091         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76092         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76093         strrchr-sse2-bsf
76094         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76095         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76096         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76097         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76098         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76099         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76101 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76103         * sysdeps/x86_64/wcscmp.S: New file.
76105         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76106         wcscmp-c wcscmp-sse2
76107         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76108         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76109         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76110         * wcsmbs/wcscmp.c: Allow renaming.
76112 2011-09-05  David S. Miller  <davem@davemloft.net>
76114         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76115         stack slot, rather than the struct return pointer slot.
76116         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76117         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76119         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76121 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76123         * po/ja.po: Update from translation team.
76125         [BZ #13144]
76126         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76127         kernel in 64-bit binaries.
76129 2011-09-01  David S. Miller  <davem@davemloft.net>
76131         * elf/elf.h (HWCAP_SPARC_*): Move to..
76132         * sysdeps/sparc/sysdep.h: this new file and add new values.
76133         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76134         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76135         _DL_HWCAP_COUNT to 24.
76136         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76137         entries.
76138         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76139         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76140         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76141         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76142         instead of magic constants.
76143         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76145 2011-08-31  David S. Miller  <davem@davemloft.net>
76147         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76149         Reimplement to do errno handling inline.
76150         (SYSCALL_ERROR_HANDLER): New macro.
76151         (__SYSCALL_STRING): Do not do errno handling in asm.
76152         (__CLONE_SYSCALL_STRING): Delete.
76153         (__INTERNAL_SYSCALL_STRING): Delete.
76154         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76155         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76156         (PSEUDO): Reimplement to do errno handling inline.
76157         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76158         (SYSCALL_ERROR_HANDLER): New macro.
76159         (__SYSCALL_STRING): Do not do errno handling in asm.
76160         (__CLONE_SYSCALL_STRING): Delete.
76161         (__INTERNAL_SYSCALL_STRING): Delete.
76162         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76163         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76164         i386.
76165         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76166         (inline_syscall*): Add 'err' argument.
76167         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76168         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76169         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76170         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76172         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76173         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76175 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76177         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76179 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76181         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76182         directive.
76184 2011-08-24  David S. Miller  <davem@davemloft.net>
76186         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76188 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76190         * elf/Makefile: Add rules to build and run unload8 test.
76191         * elf/unload8.c: New file.
76192         * elf/unload8mod1.c: New file.
76193         * elf/unload8mod1x.c: New file.
76194         * elf/unload8mod2.c: New file.
76195         * elf/unload8mod3.c: New file.
76197         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76198         it wasn't used.
76200 2011-08-23  David S. Miller  <davem@davemloft.net>
76202         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76203         subtract stack bias.
76204         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76205         %sp not %fp in calculations.
76206         (_JMPBUF_UNWINDS_ADJ): Likewise.
76208         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76209         (aio_suspend): Call it to force an exception region around the
76210         AIO_MISC_WAIT() invocation.
76212 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76214         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76215         backslash.
76217 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76219         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76220         protection macro.
76221         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76222         and <dl-machine.h>.
76223         (Elf64_FuncDesc): Remove.
76225 2011-08-22  David S. Miller  <davem@davemloft.net>
76227         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76228         sigaltstack check, add missing cfi directives.
76229         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76230         missing cfi directives, and sigaltstack handling.
76232 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76234         [BZ #11724]
76235         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76236         object is seen twice.
76237         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76239         * elf/Makefile (distribute): Add tst-initorder2.c.
76240         (tests): Add tst-initorder2.
76241         (modules-names): Add tst-initorder2a tst-initorder2b
76242         tst-initorder2c tst-initorder2d.  Add rules to build them.
76243         ($(objpfx)tst-initorder2.out): New rule.
76244         * elf/tst-initorder2.c: New file.
76245         * elf/tst-initorder2.exp: New file.
76247 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76249         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76251         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76252         dependencies back to end of function.
76254         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76255         $(elfobjdir)/ld.so.
76257 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76259         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76260         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76261         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76262         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76263         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76264         of __vdso_gettimeofday.
76265         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76266         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76267         attribute_hidden.
76268         (_libc_vdso_platform_setup): Remove initialization of
76269         __vdso_gettimeofday and __vdso_time.
76271 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76273         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76274         and fgetc_unlocked.
76275         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76276         getc_unlocked.
76278         * elf/dl-open.c (add_to_global): Report additions to the global scope
76279         for LD_DEBUG=scopes.
76280         (dl_open_worker): Also print scope of newly loaded dependencies.
76281         (_dl_show_scope): Indicate if there is no scope.
76283         [BZ #13114]
76284         * stdio-common/Makefile (tests): Add bug24.
76285         * stdio-common/bug24.c: New file.
76287 2011-08-19  Andreas Jaeger  <aj@suse.de>
76289         [BZ #13114]
76290         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76291         non-existant file when using close-on-exec mode.
76293 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76295         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76296         the very first instruction.
76298         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76299         the CFI state in the end.
76300         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76301         inclusion of dl-trampoline.h.
76302         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76304 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76306         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76307         expectations for long double.
76309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76310         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76312 2011-08-14  David S. Miller  <davem@davemloft.net>
76314         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76315         artificual limit depends upon the system page size.
76317 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76319         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76320         * resolv/Makefile: Define CFLAGS-libresolv.
76322 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76324         * nss/makedb.c (compute_tables): Make variables used in nested
76325         function static.
76327 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76329         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76330         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76331         if buffer was too small.
76333         * elf/pldd.c (main): Attach to all threads in the process.
76334         Rewrite /proc handling to use *at functions.
76336 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76338         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76339         specifies first scope to show.
76340         (dl_open_worker): Update callers.  Move printing scope of new
76341         object to before the relocation.
76342         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76343         * sysdeps/generic/ldsodefs.h: Update declaration.
76345         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76346         string for the scope number.
76348 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76350         * nscd/servicescache.c (cache_addserv): Make sure written is always
76351         initialized.
76353 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76355         * sysdeps/i386/i486/bits/atomic.h
76356         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76357         statement expression, so as to suppress "set but not used" warning.
76358         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76360         * string/strncat.c (STRNCAT): Use prototype definition.
76362         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76363         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76364         -Iprograms here.
76365         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76366         (localedef-modules): Add localedef.
76367         (locale-modules): Add locale.
76369         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76370         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76371         to avoid a warning.
76373 2011-08-14  David S. Miller  <davem@davemloft.net>
76375         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76376         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76378 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76380         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76381         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76382         * elf/rtld.c (dl_main): Set l_name of vDSO.
76383         Call _dl_show_scope when DL_DEBUG_SCOPES.
76384         (process_dl_debug): Recognize scopes flag and also set it for all.
76385         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76386         Declare _dl_show_scope.
76388         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76389         (do_dlopen): Pass caller_dlopen to dl_open.
76390         (__libc_dlopen_mode): Initialize caller_dlopen.
76392         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76393         of libc.  Make tolower call locale-independent.  Optimize a bit by
76394         using isdigit instead of isalnum.
76395         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76397 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76399         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76400         was a dependency or dynamically loaded.
76402 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76404         * intl/l10nflist.c: Allow architecture-specific pop function.
76405         * sysdeps/x86_64/l10nflist.c: New file.
76407         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76408         classification.
76410 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76412         * include/dirent.h: Add libc_hidden_proto for scandirat and
76413         scandirat64.  Don't declare __scandirat64.
76414         * dirent/scandirat.c: Add libc_hidden_def.
76415         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76416         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76418 2011-08-10  David S. Miller  <davem@davemloft.net>
76420         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76421         enum.
76422         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76423         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76424         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76426 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76428         * Versions.def [libc]: Add GLIBC_2.15.
76429         * dirent/Makefile (routines): Add scandirat and scandirat64.
76430         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76431         GLIBC_2.15.
76432         * dirent/dirent.h: Declare scandirat and scandirat64.
76433         * dirent/scandirat.c: New file.
76434         * dirent/scandirat64.c: New file.
76435         * sysdeps/wordsize-64/scandirat.c: New file.
76436         * sysdeps/wordsize-64/scandirat64.c: New file.
76437         * dirent/opendir.c: Define opendirat.
76438         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76439         using scandirat.
76440         * dirent/scandir64.c: Adjust for scandir.c change.
76441         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76442         __scandirat64, and __scandir_cancel_handler.
76443         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76444         additional parameter and use openat instead of open (outside of ld.so).
76445         Add new __opendir as wrapper around __opendirat.
76446         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76447         here without requiring old scandirat implementation.
76449 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76451         * dirent/scandir.c (cancel_handler): Renamed to
76452         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76453         defined.  Adjust users.
76454         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76455         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76457 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76459         * string/test-string.h (IMPL): Use __STRING to expand name and then
76460         stringify it.
76462         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76463         of cleanups.
76465 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76467         * string/Makefile: Update.
76468         (strop-tests): Append strncat.
76469         * string/test-wcscmp.c: New file.
76470         New comprehensive test for wcscmp.
76471         * string/test-strcmp.c: Update.
76472         (WIDE): New define.
76474 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76476         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76477         line.
76479 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76482         encoding to ACE if AI_IDN.
76484 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76486         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76487         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76489 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76491         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76492         Fix overflow bug in strncat.
76493         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76495         * string/test-strncat.c: Update.
76496         Add new tests for checking overflow bugs.
76498 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76500         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76501         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76502         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76503         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76504         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76505         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76506         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76507         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76508         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76510         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76511         (USE_AS_STRCAT): Define.
76512         Add strcat and strncat support.
76513         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76515 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76517         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76518         __n bigger than INT_MAX+1.
76519         (__strncmp_g): Likewise.
76521 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76523         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76524         * libio/stido.h: Likewise.
76526         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76527         (AF_NFC): Define.
76528         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76529         (AF_NFC): Define.
76531         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76532         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76533         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76534         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76535         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76537         [BZ #13021]
76538         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76539         installed.
76541         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76542         typo.
76543         (_dl_x86_64_save_sse): Likewise.
76545 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76547         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76548         OSXSAVE.
76549         (_dl_x86_64_save_sse): Likewise.
76551         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76553         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76555 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76557         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76558         change.
76559         (_dl_x86_64_save_sse): Use correct AVX check.
76561 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76563         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76564         bug in strncpy/strncat.
76565         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76567 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76569         * string/tester.c (test_strcat): Add tests for different alignments
76570         of source and destination.
76571         (test_strncat): Likewise.
76573 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76575         [BZ #12852]
76576         * posix/glob.c (glob): Check passed in values before using them in
76577         expressions to avoid some overflows.
76578         (glob_in_dir): Likewise.
76580         [BZ #13007]
76581         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76582         check for AVX enablement so that we don't crash with old kernels and
76583         new hardware.
76584         * elf/tst-audit4.c: Add same checks here.
76585         * elf/tst-audit6.c: Likewise.
76587         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76589 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76591         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76593 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76595         * po/cs.po: Update from translation team.
76596         * po/bg.po: Likewise.
76598 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76600         * misc/sys/cdefs.h: Add support for const attribute.
76601         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76602         to gnu_dev_{major,minor,makedev} functions.
76604 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76606         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76608 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76610         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76611         strlen results.
76613 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76615         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76616         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76617         register in order to avoid conflicts with the soft frame pointer
76618         being held in r11 when necessary.
76619         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76620         (INTERNAL_VSYSCALL_NCS): Likewise.
76622 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76624         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76625         * elf/dl-fini.c (_dl_fini): Adjust caller.
76626         * elf/dl-close.c (_dl_close_worker): Likewise.
76627         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76629 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76631         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76632         "aux_cache->nlibs < 0".
76634         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76635         in the reload-count case.
76637 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76639         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76640         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76641         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76642         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76643         * sysdeps/x86_64/multiarch/strcat.S: New file.
76644         * sysdeps/x86_64/multiarch/strncat.S: New file.
76645         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76646         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76647         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76648         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76649         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76650         (USE_AS_STRCAT): Define.
76651         Add strcat and strncat support.
76652         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76653         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76654         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76655         * string/strncat.c: Update.
76656         (USE_AS_STRNCAT): Define.
76657         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76658         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76659         and i7.
76660         * sysdeps/x86_64/multiarch/init-arch.h
76661         (bit_Prefer_PMINUB_for_stringop): New.
76662         (index_Prefer_PMINUB_for_stringop): Likewise.
76663         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76664         bit_Prefer_PMINUB_for_stringop.
76666 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76668         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76669         buffer64.
76670         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76671         of casting of buffer.
76672         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76673         buffer32 and buffer64.
76674         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76675         writes instead of casting of buffer.
76676         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76677         buffer32.
76678         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76679         casting of buffer.
76681 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76683         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76685 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76687         * nscd/nscd.c (termination_handler): Don't do anything for a database
76688         if it has not yet been initialized.
76690 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76692         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76694 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76696         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76698 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76700         * po/nl.po: Update from translation team.
76701         * po/sv.po: Likewise.
76703 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76705         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76706         now disallowed by GCC.
76708         * configure.in (use-default-link): Default to yes if a test -shared
76709         link meets our qualifications.
76710         * configure: Regenerated.
76712         * config.make.in (output-format): New variable.
76713         * configure.in: Check for ld --print-output-format support.
76714         * configure: Regenerated.
76715         * Makerules ($(common-objpfx)format.lds)
76716         [$(output-format) != unknown]: Just use $(output-format),
76717         instead of the linker-script munging.
76719 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76721         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76722         of $(common-objpfx)shlib.lds.
76723         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76725         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76726         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76728         * configure.in (-z relro check): Adjust test code to add a large
76729         writable data section after it.
76730         * configure: Regenerated.
76732 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76734         * configure.in (-z relro check): Fix test code to make the variable
76735         truly const.
76736         * configure: Regenerated.
76738 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76740         * nscd/nscd.h (struct traced_file): Define.
76741         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76742         elements.  Add traced_files.
76743         (inotify_fd): Declare.
76744         (register_traced_file): Declare.
76745         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76746         (inotify_fd): Export.
76747         (resolv_conf_descr): Remove.
76748         (nscd_init): Move inotify descriptor creation to main.
76749         Don't register files for notification here.
76750         (register_traced_file): New function.
76751         (invalidate_cache): Don't use reset_res to determine whether to call
76752         res_init, go through the list of registered files.
76753         (main_loop_poll): The inotify descriptors are now stored in the
76754         structures for the traced files.
76755         (main_loop_epoll): Likewise.
76756         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76757         to __nss_disable_nscd.
76758         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76759         for a database anymore.  Check the records for all the registered
76760         files instead.
76761         * nss/Makefile (libnss_files-routines): Add files-init.
76762         (libnss_db-routines): Add db-init.
76763         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76764         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76765         * nss/nss_db/db-init.c: New file.
76766         * nss/nss_files/files-init.c: New file.
76767         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76768         __nss_lookup_function.
76769         (__nss_lookup_function): Call nss_load_library.
76770         (nss_load_all_libraries): New function.
76771         (__nss_disable_nscd): Take parameter with callback function for files
76772         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76773         used for the cached services.
76774         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76775         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76776         options for features to all the files in nscd.
76778         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76780 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76782         * csu/elf-init.c (__libc_csu_init): Comment typo.
76784 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76786         * po/pl.po: Update from translation team.
76787         * po/ja.po: Likewise.
76788         * po/ru.po: Likewise.
76789         * po/ko.po: Likewise.
76790         * po/fr.po: Likewise.
76792 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76794         * configure.in (.ctors/.dtors header and trailer check):
76795         Use an empirical test on a built program.
76796         * configure: Regenerated.
76798         * configure.in (-z relro check): Use an empirical test on a built DSO.
76799         Detect, but do not require, on ia64.
76800         * configure: Regenerated.
76802         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76803         Update tests that use readelf to use $READELF instead.
76804         * configure: Regenerated.
76806 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76808         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76809         if the result is not used.
76811 2011-07-05  Andreas Jaeger  <aj@suse.de>
76813         [BZ#9696]
76814         * stdlib/tst-strtod.c: Add testcase.
76816 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76818         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76819         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76820         The latter has a higher limit.  Take additional parameter to pass to
76821         the new function.
76822         (__pathconf): Pass file to __statfs_link_max.
76823         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76824         __statfs_link_max.
76825         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76826         __statfs_link_max.
76828         [BZ #12868]
76829         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76830         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76831         Handle Lustre.
76832         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76833         (__statfs_filesize_max): Likewise.
76834         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76836 2011-07-05  Andreas Jaeger  <aj@suse.de>
76838         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76840 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76842         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76843         `status' variable.
76844         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76845         Likewise.
76847 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76849         * Makefile (strop-tests): Add strncat.
76850         * string/test-strncat.c: New file.
76852 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76854         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76856 2011-06-21  Andreas Jaeger  <aj@suse.de>
76858         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76859         Copy rule from iconvdata/Makefile.
76861 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76863         [BZ #12922]
76864         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76865         but no long options are defined, just return 'W'.
76867 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76869         [BZ #9696]
76870         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76872 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76874         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76875         netgroups to read.
76876         (innetgr): Likewise.
76878 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76880         * config.make.in (install_root): Default to $(DESTDIR).
76882 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76884         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76886 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76888         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76890         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76891         containing directory rather than embedding absolute directory names.
76893         * scripts/check-local-headers.sh: Rewritten using awk.
76894         Match by word, not by line.  Print error messages for matches.
76895         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76897         * Makerules [shlib-lds-flags empty]:
76898         ($(common-objpfx)libc_pic.opts): New target.
76899         ($(common-objpfx)libc_pic.os.clean): New target.
76900         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76902         * config.make.in (OBJCOPY): New variable.
76903         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76904         * configure: Regenerated.
76906         * config.make.in (use-default-link): New variable.
76907         * configure.in (use_default_link): Grok --with-default-link to set it.
76908         * configure: Regenerated.
76909         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76910         (shlib-lds, shlib-lds-flags): Define to empty.
76912         * Makerules (shlib-lds): New variable.
76913         (shlib-lds-flags): New variable.
76914         (build-shlib, build-moduile, build-module-asneeded): Use it.
76915         ($(common-objpfx)libc.so): Use $(shlib-lds).
76916         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76917         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76919         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76920         DT_FLAGS/DT_FLAGS_1 with zero flags.
76922         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76923         linker script munging.
76925 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76927         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76928         as 128-bit value.
76929         * crypt/sha512.c (sha512_process_block): Perform total addition using
76930         128-bit if possible.
76931         (__sha512_finish_ctx): Likewise.
76932         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76933         as 64-bit value.
76934         * crypt/sha256.c (SWAP64): Define.
76935         (sha256_process_block): Perform total addition using 64-bit if
76936         possible.
76937         (__sha256_finish_ctx): Likewise.
76939 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76941         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76942         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76943         * nscd/hstcache.c (cache_addhst): Likewise.
76944         * nscd/grpcache.c (cache_addgr): Likewise.
76945         * nscd/aicache.c (addhstaiX): Likewise.
76946         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76948 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76950         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76951         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76952         * nscd/hstcache.c (cache_addhst): Likewise.
76953         * nscd/grpcache.c (cache_addgr): Likewise.
76954         * nscd/aicache.c (addhstaiX): Likewise.
76956 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76958         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76959         domain only when needed.
76961 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76963         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76964         is always restored.
76966 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76968         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76969         are re-adding the entry.
76970         * nscd/servicescache.c (cache_addserv): Likewise.
76972 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76974         * sysdeps/generic/dl-irel.h: fix protection against multiple
76975         inclusions.
76976         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76978 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76980         [BZ #12935]
76981         * malloc/memusage.sh: Fix quoting in message.
76982         * debug/xtrace.sh: Likewise.
76984         * configure.in: Remove support for --experimental-malloc option, make
76985         it the default.
76986         * config.make.in: Likewise.
76987         * malloc/Makefile: Likewise.
76989 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76991         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76992         two-byte characters.
76994 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76996         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76997         AC_CACHE_CHECK invocation.
76998         * configure: Regenerated.
77000         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77002 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77004         [BZ #12350]
77005         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77006         bit from old_res_options.
77008         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77010         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77011         value type for setfct.
77013 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77015         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77016         __gettimeofday instead of gettimeofday.
77018 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77020         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77022 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77024         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77026         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77027         info.
77029 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77031         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77032         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77033         strcpy-sse2-unaligned strncpy-sse2-unaligned
77034         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77035         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77036         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77037         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77038         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77039         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77040         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77041         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77042         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77043         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77044         (STRCPY): Support SSE2 and SSSE3 versions.
77046 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77048         [BZ #12874]
77049         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77050         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77051         kernels which artificially limit size of requests.
77053 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77055         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77056         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77057         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77058         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77059         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77060         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77061         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77062         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77063         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77064         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77065         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77066         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77067         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77068         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77069         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77071         Enable unaligned load optimization for Intel Core i3, i5 and i7
77072         processors.
77073         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77074         Define.
77075         (index_Fast_Unaligned_Load): Define.
77076         (HAS_FAST_UNALIGNED_LOAD): Define.
77078 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77080         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77082 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77084         [BZ #12907]
77085         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77086         until it is clear that the information is realy needed.
77087         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77089 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77093 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77095         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77096         /sys/devices/system/cpu/online if it is usable.
77098         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77099         reading the information from the /proc filesystem to once a second.
77101 2011-06-21  Andreas Jaeger  <aj@suse.de>
77103         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77104         NULL after inclusion of kernel headers.
77106 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77108         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77109         calls to internal_setent.
77111         [BZ #12885]
77112         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77113         addresses using gethostbyname4_r ignore IPv4 addresses.
77115         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77116         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77118         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77120 2011-06-20  David S. Miller  <davem@davemloft.net>
77122         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77123         inclusions.
77124         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77126         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77127         (elf_irel): Use it.
77128         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77129         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77130         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77131         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77132         * sysdeps/x86_64/dl-irel.h: Likewise.
77134         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77135         * elf/dl-sym.c: Likewise.
77137 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77139         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77140         need to dereference resplen2.
77142 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77144         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77146 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77148         * Makeconfig: Define vardbdir and inst_vardbdir.
77149         * nss/Makefile: Add rules to install db-Makefile.
77151         * nss/nss_db/db-XXX.c: Cleanup.
77153         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77154         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77155         GLIBC_PRIVATE.
77156         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77157         * nss/makedb.c: Implement -g option to specify that value strings
77158         are generated and should not be added to table iterated over for
77159         get*ent calls.
77160         * nss/nss_db/db-initgroups.c: New file.
77162         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77163         interface.
77165         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77166         (internal_getgrouplist): Adjust to name change.
77167         Update use_initgroups_entry if this is not the first call.
77168         * nss/databases.def: Add initgroups entry.
77170         * nss/makedb.c (compute_tables): Check result of multiple hash table
77171         sizes to minimize maximum chain length.
77173 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77175         * Versions.def: Add entry for libnss_db.
77176         * shlib-versions: Likewise.
77177         * nss/Makefile: Add rules to build libnss_db.
77178         * nss/Versions: Add libnss_db information.  Organize libnss_files
77179         entries better.
77180         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77181         makedb progra.  Some minor improvements to generate smaller files.
77182         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77183         here from...
77184         * nss/makedb.c: ...here.
77185         Improve database format to be smaller and require less memory at
77186         runtime.
77187         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77188         db anymore.
77189         * nss/nss_db/db-netgrp.c: Likewise.
77190         * nss/nss_db/db-open.c: Likewise.
77191         * nss/nss_files/flies-XXX.x: Adjust comments.
77192         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77193         * nss/nss_files/files-grp.c: Likewise.
77194         * nss/nss_files/files-hosts.c: Likewise.
77195         * nss/nss_files/files-network.c: Likewise.
77196         * nss/nss_files/files-proto.c: Likewise.
77197         * nss/nss_files/files-pwd.c: Likewise.
77198         * nss/nss_files/files-rpc.c: Likewise.
77199         * nss/nss_files/files-service.c: Likewise.
77200         * nss/nss_files/files-sgrp.c: Likewise.
77201         * nss/nss_files/files-spwd.c: Likewise.
77202         * nss/nss_db/db-alias.c: Removed.
77203         * nss/nss_db/dummy-db.h: Removed.
77205 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77207         * nss/makedb.c: Rewritten to not use database library.
77208         * nss/Makefile: Update to build new makedb program.
77210 2011-06-14  Andreas Jaeger  <aj@suse.de>
77212         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77213         memset declaration.
77215 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77217         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77218         tmpbuf.
77220 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77222         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77223         * elf/Makefile ($(objpfx)ld.so): Likewise.
77225         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77226         Don't list ld.so twice in dependencies.
77228         * posix/bug-regex31.c: Include <stdlib.h>.
77230         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77232         * nis/nss_compat/compat-spwd.c
77233         (getspent_next_nss_netgr): Remove unused variable.
77234         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77236         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77237         nonmembers" output to use the right array.
77239         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77241         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77243         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77244         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77245         * catgets/gencat.c (read_input_file): Likewise.
77246         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77248         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77249         variable definition inside #if's controlling its use.
77251         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77253         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77255         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77257         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77258         unreachable code.
77260         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77262         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77263         * configure: Regenerated.
77265         * Makerules: Revert last change.
77266         * elf/Makefile: Likewise.
77268 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77270         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77271         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77272         (reloc-link): Likewise.
77274 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77276         * elf/Makefile: Add rules to build pldd.
77277         * elf/pldd.c: New file.
77278         * elf/pldd-xx.c: New file.
77280 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77282         * version.h: Update for 2.15 development version.
77284 2011-06-07  David S. Miller  <davem@davemloft.net>
77286         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77287         ifuncs.
77288         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77289         elf_machine_lazy_rel): Likewise.
77290         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77291         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77292         elf_machine_lazy_rel): Likewise.
77293         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77294         dl_hwcap via passed in argument.
77295         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77296         Likewise.
77298 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77300         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77302 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77304         [BZ #12849]
77305         * manual/fdl-1.1.texi: New file, verbatim from:
77306         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77307         * manual/lgpl-2.1.texi: New file, verbatim from:
77308         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77309         * manual/Makefile (licenses): New variable, list those new file names.
77310         (texis): Use it.
77311         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77313         * manual/fdl.texi: File removed.
77314         * manual/lesser.texi: File removed.
77315         * manual/libc.texinfo (Copying, Documentation License):
77316         Use new @include file names, put @appendix directive before @include.
77318 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77320         [BZ #12841]
77321         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77322         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77323         (mq_open): Add __NTH.
77325 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77328         Assume Intel Core i3/i5/i7 processor if AVX is available.
77330 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77332         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77333         typo.
77335 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77337         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77338         memory.  Use alloca_account.  Fix memory leak when retrying.
77340 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77342         * version.h (RELEASE): Bump for 2.14 release.
77343         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77345         * config.make.in (RANLIB): Remove entry.
77347 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77349         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77350         (libc.pot): Work around missing support for .ksh extension in xgettext.
77352         [BZ #12684]
77353         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77354         if both request failed.
77355         (send_dg): In case of server errors clear resplen or *resplen2.
77357         [BZ #12454]
77358         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77359         when there are multiple maps.
77360         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77361         (_dl_fini): Remove test here.
77363         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77365 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77367         [BZ #12350]
77368         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77369         bit from old_res_options.
77370         (gaih_inet): Likewise.
77372         [BZ #11099]
77373         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77374         as signed.
77376         * resolv/res_init.c (res_setoptions): Make the code more compact.
77378         [BZ #11558]
77379         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77380         set RES_USEVC.
77382         [BZ #11634]
77383         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77385         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77387         [BZ #11781]
77388         * malloc/malloc.h: Declare malloc hook variables as volatile.
77390         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77391         in last patch.
77393         [BZ #11799]
77394         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77395         raise in the comment.
77396         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77397         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77398         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77400 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77402         [BZ #12811]
77403         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77404         grow the buffers more if it already has to be sufficient.
77405         (build_wcs_upper_buffer): Likewise.
77406         * posix/regexec.c (check_matching): Likewise.
77407         (clean_state_log_if_needed): Likewise.
77408         (extend_buffers): Don't enlarge buffers beyond size of the input
77409         buffer.
77410         Patches mostly by Emil Wojak <emil@wojak.eu>.
77411         * posix/bug-regex32.c: New file.
77412         * posix/Makefile (tests): Add bug-regex32.
77414         * locale/findlocale.c (_nl_find_locale): Return right away if
77415         _nl_explode_name failed.
77416         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77418         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77420         * debug/xtrace.sh: Unify messages.
77421         * malloc/memusage.sh: Likewise.
77423         [BZ #12813]
77424         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77425         time symbol from vDSO.  Substitute with vsyscall if not available.
77426         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77427         __vdso_time.
77429         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77430         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77431         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77432         Add sendmmsg and internal_sendmmsg.
77433         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77434         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77435         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77437         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77438         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77439         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77441 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77443         [BZ #12813]
77444         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77445         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77446         available.
77447         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77448         __vdso_getcpu.
77450         [BZ #12814]
77451         * iconvdata/Makefile (tests): Add bug-iconv9.
77452         * iconvdata/bug-iconv9.c: New file.
77454 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77456         [BZ #12814]
77457         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77459 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77461         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77462         (struct user_regs_struct): Change intcs field back to cs.
77464 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77466         * po/ja.po: Update from translation team.
77468 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77470         [BZ #12795]
77471         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77472         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77474 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77476         * stdlib/longlong.h: Update from GCC.
77478 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77480         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77481         parameter name.
77482         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77483         Add parameter name.
77484         (__sysconf): Pass it down.
77486 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77488         [BZ #12671]
77489         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77490         some situations.
77491         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77492         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77493         add in in __libc_use_alloca calls.  Adjust callers.
77494         (glob): Use malloc in some situations.
77496         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77497         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77498         pltexit.
77500 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77502         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77503         and CLOCK_BOOTTIME_ALARM.
77505         [BZ #12782]
77506         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77507         is returned.
77509         * string/_strerror.c (__strerror_r): Print negative errors as signed
77510         numbers.
77512         [BZ #12777]
77513         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77514         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77515         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77517         * configure.in: Fix typo in redirection and correct removal of test
77518         files in two cases.
77520         [BZ #12788]
77521         * locale/setlocale.c (new_composite_name): Fix test to check for
77522         identical name of all categories.
77524         [BZ #12792]
77525         * libio/filedoalloc.c (local_isatty): New function.
77526         (_IO_file_doallocate): Use local_isatty.
77527         * stdio-common/perror.c (perror): In case a new stream is used
77528         forward the stream error.
77529         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77530         error flag.
77532 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77534         [BZ #11884]
77535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77536         alloca.
77537         * include/alloca.h (extend_alloca_account): Define.
77539         [BZ #11857]
77540         * posix/regex.h: Fix comments with documentation of user-accessible
77541         fields after compilation and describe correct free'ing of pattern
77542         after re_compile_pattern.
77543         Patch by Reuben Thomas <rrt@sc3d.org>.
77545 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77547         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77548         and -mno-altivec to prevent the compiler from using Altivec and/or
77549         VSX instructions when the corresponding registers are not available.
77551 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77553         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77555 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77557         * libio/freopen.c (freopen): Use __dup2, not dup2.
77558         * libio/freopen64.c (freopen64): Likewise.
77560 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77562         [BZ #12775]
77563         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77564         * math/Makefile (tests): Add test-powl.
77565         (CFLAGS-test-powl.c): Define.
77566         * math/test-powl.c: New file.
77568 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77570         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77572 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77574         [BZ #11837]
77575         * iconvdata/gb18030.c: Update to GB18020-2005.
77577 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77579         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77580         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77581         Patch by Aharon Robbins <arnold@skeeve.com>.
77583         [BZ #11892]
77584         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77585         on the stack.
77587         [BZ #11895]
77588         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77589         through underflows.
77591         [BZ #12766]
77592         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77593         point to strings before performing equality test for error_one_per_line
77594         mode.
77596         [BZ #11697]
77597         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77599         [BZ #11820]
77600         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77601         (struct user_fpregs_struct): Avoid __uint*_t types.
77603         [BZ #6420]
77604         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77605         symbol info.  Use it instead of calling _dl_addr locally.
77606         (lock_and_info): New function.
77607         (tr_freehook): Call lock_and_info and pass symbol info as additional
77608         parameter to tr_where.
77609         (tr_mallochook): Likewise.
77610         (tr_reallochook): Likewise.
77611         (tr_memalignhook): Likewise.
77613         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77614         used and couldn't be at all thread-safe.
77616 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77618         * libio/freopen.c (freopen): Don't close old file descriptor
77619         before the new one is opened.  Instead dup the new file descriptor
77620         to the old one after the new stream is created.
77621         * libio/freopen64.c (freopen64): Likewise.
77622         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77623         * libio/fileops.c (_IO_new_file_close_it): Handle new
77624         _IO_FLAGS2_NOCLOSE flag.
77625         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77626         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77627         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77628         _IO_FLAGS2_NOCLOSE flag.
77629         * include/unistd.h: Add hidden_proto for dup3.
77630         Define __have_dup3.
77631         * io/dup3.c: Define hidden symbol.
77632         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77634         [BZ #7101]
77635         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77636         when an incomplete long option is used.
77637         * posix/tst-getopt_long1.c: New file.
77638         * posix/Makefile (tests): Add tst-getopt_long1.
77640         [BZ #10138]
77641         * scripts/config.guess: Update from autoconf-2.68.
77642         * scripts/config.sub: Likewise.
77644         [BZ #10157]
77645         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77646         tests into ...
77647         (has_cpuclock): ...this.  New function.
77648         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77649         macro here based on has_cpuclock code.
77651         [BZ #10149]
77652         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77653         First byte (not low byte) is now always NUL.
77654         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77656         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77657         Use non-cancelable interfaces.
77659         [BZ #9809]
77660         * locale/iso-639.def: Add entry for Sorani.
77662         [BZ #11901]
77663         * include/stdlib.h: Move include protection to the right place.
77664         Define abort_msg_s.  Declare __abort_msg with it.
77665         * stdlib/abort.c (__abort_msg): Adjust type.
77666         * assert/assert.c (__assert_fail_base): New function.  Majority
77667         of code from __assert_fail.  Allocate memory for __abort_msg with
77668         mmap.
77669         (__assert_fail): Now call __assert_fail_base.
77670         * assert/assert-perr.c: Remove bulk of implementation.  Use
77671         __assert_fail_base.
77672         * include/assert.hL Declare __assert_fail_base.
77673         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77674         mmap.
77675         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77677 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77679         [BZ #11952]
77680         [BZ #12453]
77681         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77682         until all modules are registered in the DTV.
77683         * elf/Makefile: Add rules to build and run tst-tls19.
77684         * elf/tst-tls19.c: New file.
77685         * elf/tst-tls19mod1.c: New file.
77686         * elf/tst-tls19mod2.c: New file.
77687         * elf/tst-tls19mod3.c: New file.
77688         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77690         [BZ #12083]
77691         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77692         correctly.
77694         [BZ #12601]
77695         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77696         two-byte sequence errors.
77697         * iconvdata/Makefile (tests): Add bug-iconv8.
77698         * iconvdata/bug-iconv8.c: New file.
77700         [BZ #12626]
77701         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77702         buf2 definition.
77704         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77706         [BZ #12432]
77707         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77708         (dummy_getcfa): New function.
77709         (init): Get _Unwind_GetCFA address, use dummy if not found.
77710         (backtrace_helper): In recursion check, also check whether CFA changes.
77711         (__backtrace): Completely initialize arg.
77713         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77714         storing incomplete byte sequence in state object.  Avoid testing for
77715         guaranteed too small input if we know there is enough data available.
77717 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77719         * Makeconfig (+link-pie): Indent.
77720         * Rules (binaries-pie): Define if $(have-fpie) and
77721         $(build-shared).
77722         (binaries-shared): Also filter out $(binaries-pie).
77723         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77724         * nscd/Makefile (others-pie): Add nscd.
77725         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77726         ($(objpfx)nscd): Remove command override.
77727         * login/Makefile (others-pie): Add pt_chown.
77728         ($(objpfx)pt_chown): Remove command override.
77729         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77730         remove command overrides.
77732 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77734         * libio/tst_putwc.c: Fix error messages.
77736         [BZ #12724]
77737         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77738         currently writing and seek to current position when not.
77739         * libio/Makefile (tests): Add bug-fclose1.
77740         * libio/bug-fclose1.c: New file.
77742 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77744         [BZ #12511]
77745         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77746         don't set DF_1_NODELETE here.
77747         (do_lookup_x): When entering new entry test for copy relocation
77748         and if necessary set DF_1_NODELETE flag.
77749         * elf/tst-unique4.cc: New file.
77750         * elf/tst-unique4.h: New file.
77751         * elf/tst-unique4lib.cc: New file.
77752         * elf/Makefile: Add rules to build and run tst-unique4.
77753         Patch by Piotr Bury <pbury@goahead.com>.
77755 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77757         [BZ #12052]
77758         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77760         [BZ #12625]
77761         * misc/mntent_r.c (addmntent): Flush the stream after the output
77763         [BZ #12393]
77764         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77765         (is_trusted_path_normalize): Skip initial colon.  Append slash
77766         to empty buffer.  Duplicate is_trusted_path code but allow
77767         constructed patch to be prefix.
77768         (is_dst): Allow $ORIGIN followed by /.
77769         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77770         Correct testing of result of is_trusted_path_normalize
77771         (decompose_rpath): Fix warning.
77773 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77775         [BZ #11257]
77776         * grp/initgroups.c (internal_getgrouplist): When we found the service
77777         list through the initgroups entry in nsswitch.conf do not always
77778         continue on a successful lookup.  Don't always use the
77779         __nss_group_database value if it is set.
77780         * nss/nsswitch.conf (initgroups): Change action for successful db
77781         lookup to continue for compatibility.
77783 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77785         [BZ #11532]
77786         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77787         and CP774 modules.
77788         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77789         and CP774 modules.
77790         * iconvdata/tst-tables.sh: Likewise.
77791         * iconvdata/cp770.c: New file.
77792         * iconvdata/cp771.c: New file.
77793         * iconvdata/cp772.c: New file.
77794         * iconvdata/cp773.c: New file.
77795         * iconvdata/cp774.c: New file.
77796         * iconvdata/testdata/CP770: New file.
77797         * iconvdata/testdata/CP770..UTF8: New file.
77798         * iconvdata/testdata/CP771: New file.
77799         * iconvdata/testdata/CP771..UTF8: New file.
77800         * iconvdata/testdata/CP772: New file.
77801         * iconvdata/testdata/CP772..UTF8: New file.
77802         * iconvdata/testdata/CP773: New file.
77803         * iconvdata/testdata/CP773..UTF8: New file.
77804         * iconvdata/testdata/CP774: New file.
77805         * iconvdata/testdata/CP774..UTF8: New file.
77807         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77808         END CHARMAP line.
77809         * iconvdata/gen-8bit-gap.sh: Likewise.
77810         * iconvdata/gen-8bit.sh: Likewise.
77812         * locale/iso-639.def: Add ary entry.
77814         [BZ #11258]
77815         * locale/C-translit.h.in: Add U20A1 transliteration.
77817         [BZ #12178]
77818         * locale/iso-639.def: Add wae entry.
77819         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77821         [BZ #12545]
77822         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77823         for n.
77825         [BZ #12711]
77826         * locale/C-translit.h.in: Add entry for U20B9.
77827         Patch by pravin.d.s@gmail.com.
77829 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77831         [BZ #12713]
77832         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77833         ENAMETOOLONG use generic getcwd.
77834         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77835         in rtld.  Use *stat64.
77836         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77837         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77838         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77839         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77840         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77841         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77842         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77843         __fstatat64 macros.
77844         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77845         * dirent/rewinddir.c: Add libc_hidden_def.
77846         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77847         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77849         * include/dirent.h (__alloc_dir): Add flags parameter.
77850         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77851         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77852         __alloc_dir.
77853         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77854         from fdopendir if O_CLOEXEC is already set.
77856 2011-03-15  Alan Modra  <amodra@gmail.com>
77858         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77859         l_tls_firstbyte_offset non-zero.  Save padding offset in
77860         l_tls_firstbyte_offset for later use.
77861         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77862         freeing static tls block.
77864 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77866         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77867         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77868         being defined by the kernel headers.
77870 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77872         [BZ #12734]
77873         * resolv/resolv.h: Define RES_NOTLDQUERY.
77874         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77875         no-tld-query and set RES_NOTLDQUERY.
77876         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77877         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77878         modern BIND to search name as TLD unless forbidden.
77880 2011-05-07  Petr Baudis  <pasky@suse.cz>
77881             Ulrich Drepper  <drepper@gmail.com>
77883         [BZ #12393]
77884         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77885         (is_trusted_path): ...to here.
77886         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77887         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77888         using is_trusted_path_normalize() in setuid scripts.
77890 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77892         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77893         __BEGIN/__END_DECLS.
77895 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77897         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77898         NSS_STATUS_NOTFOUND if no record was found.
77900 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77902         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77903         (headers-not-in-tirpc): Remove rpc/netdb.h
77904         * resolv/netdb.h: Revert last change.
77906 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77908         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77909         circular dependency between libgcc.a and libc.a.
77911 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77913         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77914         * nis/Makefile: Don't install rpcsvc/*.
77915         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77916         instead of <rpc/types.h>.
77917         (MAXHOSTNAMELEN): Define.
77919 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77921         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77923 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77925         [BZ #12714]
77926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77927         gethostbyname4_r when IPv6 results are possible.
77929 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77931         [BZ #12723]
77932         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77933         _PC_PIPE_BUF handling.
77935 2011-04-30  Bruno Haible  <bruno@clisp.org>
77937         [BZ #12717]
77938         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77939         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77940         to 'int'.
77941         * inet/getnameinfo.c (getnameinfo): Likewise.
77943 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77945         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77946         to groups setting in database lookup.
77947         * nss/nsswitch.conf: Add initgroups entry.
77949 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77951         [BZ #12685]
77952         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77953         mode string.
77954         Patch by Eric Blake <eblake@redhat.com>.
77956 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77958         * sunrpc/Makefile (need-export-routines): Add svc_run.
77959         (routines): Remove svc_run.
77960         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77961         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77962         * sunrpc/svc_run.c (svc_run): Likewise.
77963         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77965 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77967         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77968         problem in reallocation in last patch.
77970 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77972         * sunrpc/Makefile: Move inclusion of Rules.
77974 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77976         * nss/nss_files/files-initgroups.c: New file.
77977         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77978         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77979         _nss_files_initgroups_dyn.
77981 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77983         * elf/elf.h (R_ARM_IRELATIVE): Define.
77985 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77987         * po/ru.po: Update from translation team.
77989 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77991         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77992         dependencies.
77994 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77996         [BZ #12653]
77997         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77998         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77999         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78000         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78001         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78003 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78005         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78006         differing bytes.
78007         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78008         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78009         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78011 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78013         [BZ #12420]
78014         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78015         storing it.
78016         * stdlib/bug-getcontext.c: New file.
78017         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78019 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78021         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78022         instructions into .machine "z9-109".
78023         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78024         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78026 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78028         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78029         between environment variables and auxiliary vector.
78031 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78033         * Makefile: Add rules to build linkobj/libc.so.
78034         * include/libc-symbols.h: Define libc_hidden_nolink.
78035         * include/rpc/auth.h: Mark functions which are to be hidden.
78036         * include/rpc/auth_des.h: Likewise.
78037         * include/rpc/auth_unix.h: Likewise.
78038         * include/rpc/clnt.h: Likewise.
78039         * include/rpc/des_crypt.h: Likewise.
78040         * include/rpc/key_prot.h: Likewise.
78041         * include/rpc/pmap_clnt.h: Likewise.
78042         * include/rpc/pmap_prot.h: Likewise.
78043         * include/rpc/pmap_rmt.h: Likewise.
78044         * include/rpc/rpc_msg.h: Likewise.
78045         * include/rpc/svc.h: Likewise.
78046         * include/rpc/svc_auth.h: Likewise.
78047         * include/rpc/xdr.h: Likewise.
78048         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78049         * nss/Makefile: Likewise.
78050         * sunrpc/Makefile: Don't install headers.  Build library with normal
78051         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78052         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78053         for the compat linking library.  Remove use of INTDEF/INTUSE.
78054         * sunrpc/auth_none.c: Likewise.
78055         * sunrpc/auth_unix.c: Likewise.
78056         * sunrpc/authdes_prot.c: Likewise.
78057         * sunrpc/authuxprot.c: Likewise.
78058         * sunrpc/clnt_gen.c: Likewise.
78059         * sunrpc/clnt_perr.c: Likewise.
78060         * sunrpc/clnt_raw.c: Likewise.
78061         * sunrpc/clnt_simp.c: Likewise.
78062         * sunrpc/clnt_tcp.c: Likewise.
78063         * sunrpc/clnt_udp.c: Likewise.
78064         * sunrpc/clnt_unix.c: Likewise.
78065         * sunrpc/des_crypt.c: Likewise.
78066         * sunrpc/des_soft.c: Likewise.
78067         * sunrpc/get_myaddr.c: Likewise.
78068         * sunrpc/key_call.c: Likewise.
78069         * sunrpc/key_prot.c: Likewise.
78070         * sunrpc/netname.c: Likewise.
78071         * sunrpc/pm_getmaps.c: Likewise.
78072         * sunrpc/pm_getport.c: Likewise.
78073         * sunrpc/pmap_clnt.c: Likewise.
78074         * sunrpc/pmap_prot.c: Likewise.
78075         * sunrpc/pmap_prot2.c: Likewise.
78076         * sunrpc/pmap_rmt.c: Likewise.
78077         * sunrpc/publickey.c: Likewise.
78078         * sunrpc/rpc_cmsg.c: Likewise.
78079         * sunrpc/rpc_common.c: Likewise.
78080         * sunrpc/rpc_dtable.c: Likewise.
78081         * sunrpc/rpc_prot.c: Likewise.
78082         * sunrpc/rpc_thread.c: Likewise.
78083         * sunrpc/rtime.c: Likewise.
78084         * sunrpc/svc.c: Likewise.
78085         * sunrpc/svc_auth.c: Likewise.
78086         * sunrpc/svc_authux.c: Likewise.
78087         * sunrpc/svc_raw.c: Likewise.
78088         * sunrpc/svc_run.c: Likewise.
78089         * sunrpc/svc_simple.c: Likewise.
78090         * sunrpc/svc_tcp.c: Likewise.
78091         * sunrpc/svc_udp.c: Likewise.
78092         * sunrpc/svc_unix.c: Likewise.
78093         * sunrpc/svcauth_des.c: Likewise.
78094         * sunrpc/xcrypt.c: Likewise.
78095         * sunrpc/xdr.c: Likewise.
78096         * sunrpc/xdr_array.c: Likewise.
78097         * sunrpc/xdr_float.c: Likewise.
78098         * sunrpc/xdr_intXX_t.c: Likewise.
78099         * sunrpc/xdr_mem.c: Likewise.
78100         * sunrpc/xdr_rec.c: Likewise.
78101         * sunrpc/xdr_ref.c: Likewise.
78102         * sunrpc/xdr_sizeof.c: Likewise.
78103         * sunrpc/xdr_stdio.c: Likewise.
78105 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78107         [BZ #12650]
78108         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78109         * sysdeps/ia64/dl-tls.h: Likewise.
78110         * sysdeps/powerpc/dl-tls.h: Likewise.
78111         * sysdeps/s390/dl-tls.h: Likewise.
78112         * sysdeps/sh/dl-tls.h: Likewise.
78113         * sysdeps/sparc/dl-tls.h: Likewise.
78114         * sysdeps/x86_64/dl-tls.h: Likewise.
78115         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78117 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78119         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78120         rpath element also skip the following colon.
78121         (expand_dynamic_string_token): Add is_path parameter and pass
78122         down to DL_DST_REQUIRED and _dl_dst_substitute.
78123         (decompose_rpath): Call expand_dynamic_string_token with
78124         non-zero is_path.  Ignore empty rpaths.
78125         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78126         with zero is_path.
78128 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78131         Make cancelable.
78133 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78135         [BZ #12655]
78136         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78137         Patch by Filipe David Manana <fdmanana@apache.org>.
78139 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78141         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78142         Maintain aligned stack.
78143         (CHECK_RSP): Remove unused macro.
78145 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78147         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78148         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78150 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78152         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78154         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78156 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78158         [BZ #12518]
78159         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78160         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78161         * sysdeps/x86_64/memmove.c: New file.
78162         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78163         (memcpy): Renamed to ...
78164         (__new_memcpy): This.
78165         (memcpy): Provide GLIBC_2_14 memcpy.
78166         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78167         (memcpy): Provide GLIBC_2_2_5 memcpy.
78169 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78171         [BZ #12631]
78172         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78174 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78176         * misc/syncfs.c: New file.
78177         * misc/Makefile (routines): Add syncfs.
78178         * posix/unistd.h: Declare syncfs.
78179         * sysdeps/unix/syscalls.list: Add syncfs.
78181 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78183         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78184         open_by_handle_at.
78185         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78186         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78187         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78188         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78189         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78190         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78191         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78193 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78195         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78196         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78197         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78198         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78199         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78200         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78201         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78203         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78204         sync_file_range.c with -fexceptions.
78205         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78206         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78207         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78208         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78209         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78210         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78211         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78212         sync_file_range as cancellation point
78213         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78214         now a wrapper around __call_sync_file_range with cancellation handling.
78215         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78216         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78217         function name to __call_sync_file_range.
78218         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78219         Add call_sync_file_range.
78221 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78223         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78224         bits/timex.h.
78226 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78228         * iconv/iconv.h: Fix typo in comment.
78229         * io/fcntl.h: Likewise.
78230         * libio/stdio.h: Likewise.
78231         * posix/spawn.h: Likewise.
78232         * posix/unistd.h: Likewise.
78233         * stdlib/stdlib.h: Likewise.
78234         * time/time.h: Likewise.
78235         * wcsmbs/wchar.h: Likewise.
78237         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78238         open_by_handle): Add.
78239         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78240         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78241         Augment a few comments.
78242         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78243         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78244         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78245         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78246         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78247         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78248         open_by_handle.
78250         * io/fcntl.h (AT_EMPTY_PATH): Define.
78252 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78254         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78255         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78256         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78257         to...
78258         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78259         * Versions.def: Add GLIBC_2.14.
78260         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78261         Export.
78263 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78265         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78266         round counter.
78267         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78269 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78271         [BZ #12597]
78272         * string/test-strncmp.c (do_page_test): New function.
78273         (check2): Likewise.
78274         (test_main): Call check2.
78275         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78277 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78279         [BZ #12587]
78280         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78281         Handle cache information in CPU leaf 4.
78282         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78284 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78286         [BZ #12583]
78287         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78288         character representation.
78289         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78291 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78293         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78294         END(__isnan) to END(__isnanf) to match function entry point/label
78295         EALIGN(__isnanf,...).
78297 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78299         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78301 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78303         [BZ #12510]
78304         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78305         copy from the symbol referenced in the relocation to initialize the
78306         used variable.
78307         Patch by Piotr Bury <pbury@goahead.com>.
78308         * elf/Makefile: Add rules to build and tst-unique3.
78309         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78310         * elf/tst-unique3.cc: New file.
78311         * elf/tst-unique3.h: New file.
78312         * elf/tst-unique3lib.cc: New file.
78313         * elf/tst-unique3lib2.cc: New file.
78315         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78317 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78319         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78320         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78321         to _start.
78323 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78325         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78326         to-be-loaded object along a path to loader is ld.so.
78328 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78329             Ulrich Drepper  <drepper@gmail.com>
78331         * sysdeps/x86_64/memset.S: After aligning destination, code
78332         branches to different locations depending on the value of
78333         misalignment, when multiarch is enabled. Fix this.
78335 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78337         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78338         Set _x86_64_preferred_memory_instruction for AMD processsors.
78339         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78340         Set bit_Prefer_SSE_for_memop for AMD processors.
78342 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78344         * libio/fmemopen.c (fmemopen): Optimize a bit.
78346 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78348         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78350 2011-03-03  Roland McGrath  <roland@redhat.com>
78352         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78354 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78356         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78357         __bzero_ultra1 instead of __memset_ultra1.
78359 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78360             Ulrich Drepper  <drepper@gmail.com>
78362         [BZ #12509]
78363         * include/link.h (struct link_map): Add l_orig_initfini.
78364         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78365         returning unsuccessfully.
78366         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78367         close of a file loaded at startup, restore the original l_initfini
78368         list.
78369         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78370         list, store the pointer.
78371         * elf/Makefile ($(objpfx)noload-mem): New rule.
78372         (noload-ENV): Define.
78373         (tests): Add $(objpfx)noload-mem.
78374         * elf/noload.c: Include <memcheck.h>.
78375         (main): Call mtrace.  Close all opened handles.
78377 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78379         [BZ #12454]
78380         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78381         dependencies are missing.
78383 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78385         Fix __if_freereq crash: Unlike the generic version which uses free,
78386         Hurd needs munmap.
78387         * sysdeps/mach/hurd/ifreq.h: New file.
78389 2011-01-27  Petr Baudis  <pasky@suse.cz>
78390             Ulrich Drepper  <drepper@gmail.com>
78392         [BZ 12445]#
78393         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78394         to extend_alloca().
78395         * stdio-common/bug23.c: New file.
78396         * stdio-common/Makefile (tests): Add bug23.
78398 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78399             Ulrich Drepper  <drepper@gmail.com>
78401         [BZ #12489]
78402         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78403         before performing relro protection.  At old place add assertion
78404         to make sure nothing changed.
78406 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78407             Glauber de Oliveira Costa  <glommer@gmail.com>
78409         * elf/elf.h: Add new ARM TLS relocs.
78411 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78414         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78415         cast from r3.
78416         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78417         'tests' variable.
78418         * sysdeps/wordsize-64/tst-writev.c: New file.
78420 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78422         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78423         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78424         insns in _dl_start to prevent a TOC reference before relocs are
78425         resolved.
78427 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78429         [BZ #12469]
78430         * Makeconfig: Remove RANLIB definition.
78431         * Makerules: Don't use RANLIB.
78432         * aclocal.m4: Remove ranlib test.
78433         * configure.in: No need to check for ranlib.
78434         * elf/rtld-Rules: Don't use RANLIB.
78436 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78438         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78439         protection macro.
78440         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78441         inclusion protection macro.
78443         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78444         SIGRTMIN and SIGRTMAX and print information in that case only when
78445         SIGRTMIN is defined.
78447 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78449         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78450         arginfo fn returning -1.
78452         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78453         and thousands string is zero terminated.
78455 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78457         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78458         sysdeps/unix/sysv/linux/bits/socket.h.
78460 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78462         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78463         (__CPU_COUNT): Remove old macros.
78464         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78465         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78466         (__CPU_ALLOC, __CPU_FREE): Add macros.
78467         (__sched_cpualloc, __sched_cpufree): Add declarations.
78469 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78471         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78472         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78473         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78474         (readdhstai): Return value of addhstaiX call.
78475         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78476         (addgrbyX): Return value returned by cache_addgr.
78477         (readdgrbyname): Return value returned by addgrbyX.
78478         (readdgrbygid): Likewise.
78479         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78480         (addpwbyX): Return value returned by cache_addpw.
78481         (readdpwbyname): Return value returned by addhstbyX.
78482         (readdpwbyuid): Likewise.
78483         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78484         (addservbyX): Return value returned by cache_addserv.
78485         (readdservbyname): Return value returned by addservbyX:
78486         (readdservbyport): Likewise.
78487         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78488         (addhstbyX): Return value returned by cache_addhst.
78489         (readdhstbyname): Return value returned by addhstbyX.
78490         (readdhstbyaddr): Likewise.
78491         (readdhstbynamev6): Likewise.
78492         (readdhstbyaddrv6): Likewise.
78493         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78494         (readdinitgroups): Return value returned by addinitgroupsX.
78495         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78496         (prune_cache): Keep track of timeout value of re-added entries.
78497         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78498         * nscd/nscd.h: Adjust prototypes of readd* functions.
78500 2011-02-04  Roland McGrath  <roland@redhat.com>
78502         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78503         (nis_stats): Likewise.
78504         * nis/nis_modify.c (nis_modify): Likewise.
78505         * nis/nis_remove.c (nis_remove): Likewise.
78506         * nis/nis_add.c (nis_add): Likewise.
78508         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78510         * posix/fnmatch_loop.c: Add some consts.
78512         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78514 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78516         [BZ #12460]
78517         * config.make.in (config-cflags-novzeroupper): Define.
78518         * configure.in: Substitute libc_cv_cc_novzeroupper.
78519         * elf/Makefile (AVX-CFLAGS): Define.
78520         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78521         (CFLAGS-tst-auditmod4a.c): Likewise.
78522         (CFLAGS-tst-auditmod4b.c): Likewise.
78523         (CFLAGS-tst-auditmod6b.c): Likewise.
78524         (CFLAGS-tst-auditmod6c.c): Likewise.
78525         (CFLAGS-tst-auditmod7b.c): Likewise.
78526         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78528 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78530         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78531         function to the callback.
78532         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78534 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78536         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78537         of errno.
78539 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78541         [BZ #11724]
78542         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78543         of constructors.
78544         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78545         of destructors.
78546         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78548         [BZ #11724]
78549         * elf/Makefile: Add rules to build and run new test.
78550         * elf/tst-initorder.c: New file.
78551         * elf/tst-initorder.exp: New file.
78552         * elf/tst-initordera1.c: New file.
78553         * elf/tst-initordera2.c: New file.
78554         * elf/tst-initordera3.c: New file.
78555         * elf/tst-initordera4.c: New file.
78556         * elf/tst-initorderb1.c: New file.
78557         * elf/tst-initorderb2.c: New file.
78558         * elf/tst-order-a1.c: New file.
78559         * elf/tst-order-a2.c: New file.
78560         * elf/tst-order-a3.c: New file.
78561         * elf/tst-order-a4.c: New file.
78562         * elf/tst-order-b1.c: New file.
78563         * elf/tst-order-b2.c: New file.
78564         * elf/tst-order-main.c: New file.
78565         New test case by George Gensure <werkt0@gmail.com>.
78567 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78570         decoding ACE if AI_CANONIDN.
78572 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78574         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78576 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78578         * version.h (RELEASE): Bump for 2.13 release.
78579         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78581         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78583         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78584         MADV_NOHUGEPAGE.
78585         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78586         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78587         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78588         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78589         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78590         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78592         * posix/getconf.c: Update copyright year.
78593         * catgets/gencat.c: Likewise.
78594         * csu/version.c: Likewise.
78595         * debug/catchsegv.sh: Likewise.
78596         * debug/xtrace.sh: Likewise.
78597         * elf/ldconfig.c: Likewise.
78598         * elf/ldd.bash.in: Likewise.
78599         * elf/sprof.c (print_version): Likewise.
78600         * iconv/iconv_prog.c: Likewise.
78601         * iconv/iconvconfig.c: Likewise.
78602         * locale/programs/locale.c: Likewise.
78603         * locale/programs/localedef.c: Likewise.
78604         * malloc/memusage.sh: Likewise.
78605         * malloc/mtrace.pl: Likewise.
78606         * nscd/nscd.c (print_version): Likewise.
78607         * nss/getent.c: Likewise.
78609         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78610         PF_CAIF, and PF_ALG.
78611         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78613 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78615         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78616         (modules-names): Use them.
78617         (ifunc-test-modules, ifunc-pie-tests): Define.
78618         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78619         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78620         (test-extras): Likewise.
78621         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78622         $(compile-command.c).
78623         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78624         (all-built-dso): Define.
78625         (check-textrel.out, check-execstack.out): Depend on it.
78627         * configure.in: Don't override --enable-multi-arch.
78629 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78631         [BZ #6812]
78632         * nscd/hstcache.c (tryagain): Define.
78633         (cache_addhst): Return tryagain not notfound for temporary errors.
78634         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78635         failed.
78637 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78639         [BZ #10563]
78640         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78641         to make the syscall.
78642         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78644         [BZ #12378]
78645         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78646         and fall back to matching as normal character if the string ends before
78647         the matching ']' is found.  This is what POSIX requires.
78648         * posix/testfnm.c: Adjust test result.
78649         * posix/globtest.sh: Adjust test result.  Add new test.
78650         * posix/tst-fnmatch.input: Likewise.
78651         * posix/tst-fnmatch2.c: Add new test.
78653 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78655         * elf/Makefile (check-execstack): Revert last change.  Depend on
78656         check-execstack.h.
78657         (check-execstack.h): New target.
78658         (generated): Add check-execstack.h.
78659         * elf/check-execstack.c: Include "check-execstack.h".
78660         (main): Revert last change.
78661         (handle_file): Return zero if GNU_STACK is absent and
78662         DEFAULT_STACK_PERMS doesn't include PF_X.
78664 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78666         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78667         in child fails because the descriptor is already closed.
78668         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78669         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78670         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78672         [BZ #12397]
78673         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78674         syscall.
78676         [BZ #10484]
78677         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78678         temporary buffer used to handle multi lookups locally.
78679         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78681 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78683         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78684         loader is ld.so.
78686 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78688         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78689         alignment for SSE2.
78691 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78693         [BZ #12394]
78694         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78695         characters.  When rounding increased number of integer digits recompute
78696         number of groups.
78697         * stdio-common/tst-grouping.c: New file.
78698         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78700 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78702         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78703         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78705         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78706         void.
78707         * bits/select.h: Likewise.
78709 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78711         * po/ja.po: Update from translation team.
78713 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78715         [BZ #11155]
78716         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78717         implementation just like for lxstat, fxstatat, et al.
78719 2010-12-27  Jim Meyering  <meyering@redhat.com>
78721         [BZ #12348]
78722         * posix/regexec.c (build_trtable): Return failure indication upon
78723         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78725 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78727         [BZ #12201]
78728         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78729         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78730         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78731         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78733         [BZ #12207]
78734         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78736         [BZ #12204]
78737         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78738         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78740 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78742         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78743         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78744         script has SORT_BY_INIT_PRIORITY.
78745         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78746         NO_CTORS_DTORS_SECTIONS is defined.
78747         * elf/soinit.c: Likewise.
78748         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78749         NO_CTORS_DTORS_SECTIONS is defined.
78750         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78751         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78752         * sysdeps/sh/init-first.c: Likewise.
78753         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78755 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78757         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78758         always use the slow path.
78760 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78762         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78763         similar rule which adds the sysdep directories to the header search in
78764         order to pick up the correct platform stackinfo.h.
78765         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78766         perform test if it is, otherwise return successfully without testing.
78767         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78768         DEFAULT_STACK_PERMS define in stackinfo.h.
78769         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78770         defined in stackinfo.h.
78771         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78772         DEFAULT_STACK_PERMS defined in stackinfo.h.
78773         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78774         * sysdeps/ia64/stackinfo.h: Likewise.
78775         * sysdeps/s390/stackinfo.h: Likewise.
78776         * sysdeps/sh/stackinfo.h: Likewise.
78777         * sysdeps/sparc/stackinfo.h: Likewise.
78778         * sysdeps/x86_64/stackinfo.h: Likewise.
78779         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78780         PF_X for powerpc64.  Retain PF_X for powerpc32.
78782 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78784         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78785         accurately.
78786         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78787         GETDENTS_64BIT_ALIGNED.
78789 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78791         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78793 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78795         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78796         _GNU_SOURCE.
78798         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78799         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78800         Remove __restrict.
78801         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78802         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78804 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78806         [BZ #11655]
78807         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78808         are initialized.
78810 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78812         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78814 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78816         * po/it.po: Update from translation team.
78818 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78820         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78821         unused codes.
78823 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78825         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78827 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78829         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78830         specially.
78831         (gaih_getanswer_slice): Likewise.
78833 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78837 2010-05-31  Petr Baudis  <pasky@suse.cz>
78839         [BZ #11149]
78840         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78841         silently even in the chroot mode.
78843 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78845         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78846         last patch a bit.  Pretty printing
78848 2010-05-31  Petr Baudis <pasky@suse.cz>
78850         [BZ #10085]
78851         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78852         initialization of skip_initgroups_dyn.
78854 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78856         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78857         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78859 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78861         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78863 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78865         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78866         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78867         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78868         ($(objpfx)tst-fnmatch-mem): New rule.
78869         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78870         * posix/tst-fnmatch.c (main): Call mtrace.
78872 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78875         Support Intel processor model 6 and model 0x2c.
78877 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78879         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78880           signed comparison.
78882 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78884         [BZ #12205]
78885         * string/test-strncasecmp.c (check_result): New function.
78886         (do_one_test): Use it.
78887         (check1): New function.
78888         (test_main): Use it.
78889         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78890         Support strcasecmp and strncasecmp.
78892 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78894         [BZ #12194]
78895         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78896         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78898 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78900         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78901         IFUNC support.
78902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78903         memset-x86-64.
78904         * sysdeps/x86_64/multiarch/bzero.S: New file.
78905         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78906         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78907         * sysdeps/x86_64/multiarch/memset.S: New file.
78908         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78909         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78910         Set bit_Prefer_SSE_for_memop for Intel processors.
78911         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78912         Define.
78913         (index_Prefer_SSE_for_memop): Define.
78914         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78916 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78918         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78919         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78921 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78923         [BZ #12191]
78924         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78925         (__x86_64_raw_data_cache_size_half): Likewise.
78926         (__x86_64_raw_shared_cache_size): Likewise.
78927         (__x86_64_raw_shared_cache_size_half): Likewise.
78929         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78930         (__x86_64_raw_data_cache_size_half): Likewise.
78931         (__x86_64_raw_shared_cache_size): Likewise.
78932         (__x86_64_raw_shared_cache_size_half): Likewise.
78933         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78934         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78935         and __x86_64_raw_shared_cache_size_half.  Round
78936         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78937         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78938         to multiple of 256 bytes.
78940 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78942         [BZ #12167]
78943         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78944         of inacessible symlinks.  Verify result of symlink before returning it.
78945         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78946         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78948 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78950         * math/math.h (isinf): Fix typo in comment.
78952 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78954         * po/da.po: Update from translation team.
78956 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78958         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78959         is added to the list.
78961 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78962             Ulrich Drepper  <drepper@gmail.com>
78964         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78965         the global list here.  Move code to...
78966         (_dl_add_to_namespace_list): ...here.  New function.
78967         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78968         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78969         * elf/dl-load.c (lose): Don't remove the element from the list.
78970         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78971         (_dl_map_object): Likewise.
78973 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78975         [BZ #12159]
78976         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78977         into all bytes of SSE register.
78978         Patch by Richard Li <richardpku@gmail.com>.
78980 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78982         [BZ #12140]
78983         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78984         perturbing.
78986 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78988         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78989         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78990         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78991         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78993         submachine.
78994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78996 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78998         * include/dlfcn.h (__RTLD_SECURE): Define.
78999         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79000         mode & __RTLD_SECURE instead.
79001         (open_path): Rename preloaded parameter to secure.
79002         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79003         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79004         * elf/dl-deps.c (openaux): Likewise.
79005         * elf/rtld.c (struct map_args): Remove is_preloaded.
79006         (map_doit): Don't use it.
79007         (dl_main): Likewise.
79008         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79009         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79011 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79013         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79014         (sysd-rules-targets): Remove duplicates.
79015         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79016         rtld-%.$o dependency.
79018 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79020         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79021         _dl_map_object do it.
79023 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79025         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79026         fast fma builtins, define the macros in the C99 standard.
79027         (FP_FAST_FMAF): Likewise.
79028         (FP_FAST_FMAL): Likewise.
79029         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79031         * bits/mathdef.h: Update copyright year.
79032         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79034 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79036         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79037         builtins, define the macros in the C99 standard.
79038         (FP_FAST_FMAF): Likewise.
79039         (FP_FAST_FMAL): Likewise.
79040         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79041         multiply/add.
79042         (FP_FAST_FMAF): Likewise.
79044 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79046         [BZ #3268]
79047         * math/libm-test.inc (fma_test): Some new testcases.
79048         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79049         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79050         y and infinite z.  Do multiplication by C already in long double.
79051         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79052         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79053         y and infinite z.  Do bitwise or of inexact bit into u.d.
79054         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79055         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79056         * sysdeps/i386/fpu/s_fma.S: Removed.
79057         * sysdeps/i386/fpu/s_fmal.S: Removed.
79059 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79061         [BZ #3268]
79062         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79064         computation is not scheduled after fetestexcept.  Fix value
79065         of minimum denormal long double.
79067 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79069         [BZ #3268]
79070         * math/libm-test.inc (fma_test): Add some more tests.
79071         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79072         correctly.
79074 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79076         * scripts/data/localplt-s390-linux-gnu.data: New file.
79077         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79079 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79081         [BZ #3268]
79082         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79083         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79084         instead of dbl-64.
79085         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79086         inlines.
79087         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79089         if one of x and y is very large and the other is subnormal.
79090         * sysdeps/s390/fpu/s_fmaf.c: New file.
79091         * sysdeps/s390/fpu/s_fma.c: New file.
79092         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79093         * sysdeps/powerpc/fpu/s_fma.S: New file.
79094         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79095         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79096         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79098 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79100         [BZ #3268]
79101         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79102         fma tests.
79103         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79104         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79105         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79106         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79107         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79108         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79109         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79111 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79113         [BZ #12078]
79114         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79115         * posix/bug-regex31.input: Add test case.
79117 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79119         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79120         * posix/bug-regex31.input: New file.
79122         [BZ #12078]
79123         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79124         (parse_sub_exp): Fix last change, use postorder.
79126         * posix/bug-regex31.c: New file.
79127         * posix/Makefile: Add rules to build and run bug-regex31.
79129         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79131         [BZ #12078]
79132         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79134         [BZ #12108]
79135         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79136         to have entries in sys_siglist.
79138         [BZ #12093]
79139         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79140         be NULL.
79142 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79144         [BZ #3268]
79145         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79146         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79147         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79148         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79149         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79150         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79151         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79152         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79153         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79154         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79155         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79156         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79157         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79158         * math/ftestexcept.c (fetestexcept): Likewise.
79159         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79160         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79161         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79162         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79163         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79164         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79165         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79167 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79169         [BZ #12107]
79170         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79171         newline.
79173 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79175         * string/bug-strstr1.c: New file.
79176         * string/Makefile: Add rules to build and run bug-strstr1.
79178 2010-10-05  Eric Blake  <eblake@redhat.com>
79180         [BZ #12092]
79181         * string/str-two-way.h (two_way_long_needle): Always clear memory
79182         when skipping input due to the shift table.
79184 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79186         [BZ #12005]
79187         * malloc/mcheck.c: Handle large requests.
79189         [BZ #12077]
79190         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79191         for strncmp and strncasecmp.
79192         * string/stratcliff.c: Add tests for strcmp and strncmp.
79193         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79195 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79197         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79198         __set_fpscr.
79200 2010-09-30  Andreas Jaeger  <aj@suse.de>
79202         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79203         (CGROUP_SUPER_MAGIC): Define.
79204         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79205         Handle btrfs and cgroup file systems.
79206         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79207         Likewise.
79209 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79211         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79212         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79214 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79216         [BZ #12067]
79217         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79218         trying to locate the ELF header.
79220 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79222         [BZ #11611]
79223         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79224         Mask out sign-bit copies when constructing f_fsid.
79226 2010-09-24  Petr Baudis <pasky@suse.cz>
79228         * debug/stack_chk_fail_local.c: Add missing licence exception.
79229         * debug/warning-nop.c: Likewise.
79231 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79233         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79234         implementing getdents64 using getdents syscall, set d_type if
79235         __ASSUME_GETDENTS32_D_TYPE.
79237 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79239         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79240         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79242 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79244         [BZ #12037]
79245         * posix/unistd.h: Undo change of feature selection for ftruncate from
79246         2010-01-11.
79248 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79250         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79251         detection.
79253 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79255         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79256         fanotify_mark.
79257         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79259 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79261         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79262         variables after CHECK_SP call.
79263         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79265 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79266             Ulrich Drepper  <drepper@redhat.com>
79268         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79269         re-relocationg ld.so.
79270         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79271         _dl_init_paths call.
79272         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79273         here anymore.
79275 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79277         * resolv/res_init.c (__res_vinit): Count the default server we added.
79279 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79280             Ulrich Drepper  <drepper@redhat.com>
79282         [BZ #11968]
79283         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79284         (____longjmp_chk): Use %ebx for saving value across system call.
79285         Add unwind info.
79287 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79289         * manual/Makefile: Don't mix pattern rules with normal rules.
79291 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79293         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79294         operation.
79295         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79296         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79297         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79298         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79299         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79300         Likewise.
79302 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79304         [BZ #11979]
79305         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79306         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79308 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79310         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79311         * sysdeps/x86_64/addmul_1.S: Likewise.
79312         * sysdeps/x86_64/lshift.S: Likewise.
79313         * sysdeps/x86_64/mul_1.S: Likewise.
79314         * sysdeps/x86_64/rshift.S: Likewise.
79315         * sysdeps/x86_64/sub_n.S: Likewise.
79316         * sysdeps/x86_64/submul_1.S: Likewise.
79318 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79320         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79321         Define __sched_param instead of SCHED_* and sched_param when
79322         <bits/sched.h> is included with __need_schedparam defined.
79323         * bits/sched.h [__need_schedparam]
79324         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79325         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79326         (__defined_schedparam): Define to 1.
79327         (__sched_param): New structure, identical to sched_param.
79328         (__need_schedparam): Undefine.
79330 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79332         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79333         (epoll_create1): Declare.
79335         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79337 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79339         [BZ #7066]
79340         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79341         shifting retval into place.
79343 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79345         * nis/rpcsvc/nis.h: Update copyright notice.
79346         * nis/rpcsvc/nis.x: Likewise.
79347         * nis/rpcsvc/nis_callback.h: Likewise.
79348         * nis/rpcsvc/nis_callback.x: Likewise.
79349         * nis/rpcsvc/nis_object.x: Likewise.
79350         * nis/rpcsvc/nis_tags.h: Likewise.
79351         * nis/rpcsvc/yp.h: Likewise.
79352         * nis/rpcsvc/yp.x: Likewise.
79353         * nis/rpcsvc/ypupd.h: Likewise.
79354         * nis/yp_xdr.c: Likewise.
79355         * nis/ypupdate_xdr.c: Likewise.
79357         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79358         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79359         (pmap_getport): Use __libc_rpc_getport.
79360         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79361         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79362         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79364 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79367         fanotify_mark.
79369 2010-08-27  Roland McGrath  <roland@redhat.com>
79371         * sysdeps/i386/i686/multiarch/Makefile
79372         (CFLAGS-varshift.c): New variable.
79374 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79376         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79377         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79379         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79381         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79383 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79385         * sysdeps/x86_64/strlen.S: Unroll the loop.
79386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79387         strlen-sse2 strlen-sse2-bsf.
79388         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79389         __strlen_no_bsf if bit_Slow_BSF is set.
79390         (__strlen_sse42): Removed.
79391         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79392         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79394 2010-08-25  Roland McGrath  <roland@redhat.com>
79396         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79397         * sysdeps/x86_64/multiarch/varshift.c: New file.
79398         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79399         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79400         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79401         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79403 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79405         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79406         strlen-sse2 strlen-sse2-bsf.
79407         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79408         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79409         (__strlen_sse2): Removed.
79410         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79411         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79413         bit_Slow_BSF for Atom.
79414         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79415         (index_Slow_BSF): Define.
79416         (HAS_SLOW_BSF): Define.
79418 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79420         [BZ #10851]
79421         * resolv/res_init.c (__res_vinit): When no server address at all
79422         is given default to loopback.
79424 2010-08-24  Roland McGrath  <roland@redhat.com>
79426         * configure.in: Remove config-name.h generation.
79427         * configure: Regenerated.
79428         * config-name.in: File removed.
79429         * scripts/config-uname.sh: New file.
79430         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79431         ($(objdir)config-name.h): New target.
79433         * sunrpc/rpc_parse.h: Avoid nested comment.
79435 2010-08-24  Richard Henderson  <rth@redhat.com>
79436             Ulrich Drepper  <drepper@redhat.com>
79437             H.J. Lu  <hongjiu.lu@intel.com>
79439         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79441         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79442         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79443         _mm_alignr_epi8 with _mm_loadu_si128.
79444         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79445         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79446         (__m128i_shift_right): Removed.
79447         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79448         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79449         * sysdeps/x86_64/multiarch/varshift.h: New file.
79450         * sysdeps/x86_64/multiarch/varshift.S: New file.
79452 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79454         * configure.in: Move assembler checks to before sysdep dir checking.
79456 2010-08-20  Petr Baudis  <pasky@suse.cz>
79458         * LICENSES: Sync the sunrpc license.
79460 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79462         * sunrpc/auth_des.c: Update copyright notice once again.
79463         * sunrpc/auth_none.c: Likewise.
79464         * sunrpc/auth_unix.c: Likewise.
79465         * sunrpc/authdes_prot.c: Likewise.
79466         * sunrpc/authuxprot.c: Likewise.
79467         * sunrpc/bindrsvprt.c: Likewise.
79468         * sunrpc/clnt_gen.c: Likewise.
79469         * sunrpc/clnt_perr.c: Likewise.
79470         * sunrpc/clnt_raw.c: Likewise.
79471         * sunrpc/clnt_simp.c: Likewise.
79472         * sunrpc/clnt_tcp.c: Likewise.
79473         * sunrpc/clnt_udp.c: Likewise.
79474         * sunrpc/clnt_unix.c: Likewise.
79475         * sunrpc/des_crypt.c: Likewise.
79476         * sunrpc/des_soft.c: Likewise.
79477         * sunrpc/get_myaddr.c: Likewise.
79478         * sunrpc/getrpcport.c: Likewise.
79479         * sunrpc/key_call.c: Likewise.
79480         * sunrpc/key_prot.c: Likewise.
79481         * sunrpc/openchild.c: Likewise.
79482         * sunrpc/pm_getmaps.c: Likewise.
79483         * sunrpc/pm_getport.c: Likewise.
79484         * sunrpc/pmap_clnt.c: Likewise.
79485         * sunrpc/pmap_prot.c: Likewise.
79486         * sunrpc/pmap_prot2.c: Likewise.
79487         * sunrpc/pmap_rmt.c: Likewise.
79488         * sunrpc/rpc/auth.h: Likewise.
79489         * sunrpc/rpc/auth_unix.h: Likewise.
79490         * sunrpc/rpc/clnt.h: Likewise.
79491         * sunrpc/rpc/des_crypt.h: Likewise.
79492         * sunrpc/rpc/key_prot.h: Likewise.
79493         * sunrpc/rpc/netdb.h: Likewise.
79494         * sunrpc/rpc/pmap_clnt.h: Likewise.
79495         * sunrpc/rpc/pmap_prot.h: Likewise.
79496         * sunrpc/rpc/pmap_rmt.h: Likewise.
79497         * sunrpc/rpc/rpc.h: Likewise.
79498         * sunrpc/rpc/rpc_des.h: Likewise.
79499         * sunrpc/rpc/rpc_msg.h: Likewise.
79500         * sunrpc/rpc/svc.h: Likewise.
79501         * sunrpc/rpc/svc_auth.h: Likewise.
79502         * sunrpc/rpc/types.h: Likewise.
79503         * sunrpc/rpc/xdr.h: Likewise.
79504         * sunrpc/rpc_clntout.c: Likewise.
79505         * sunrpc/rpc_cmsg.c: Likewise.
79506         * sunrpc/rpc_common.c: Likewise.
79507         * sunrpc/rpc_cout.c: Likewise.
79508         * sunrpc/rpc_dtable.c: Likewise.
79509         * sunrpc/rpc_hout.c: Likewise.
79510         * sunrpc/rpc_main.c: Likewise.
79511         * sunrpc/rpc_parse.c: Likewise.
79512         * sunrpc/rpc_parse.h: Likewise.
79513         * sunrpc/rpc_prot.c: Likewise.
79514         * sunrpc/rpc_sample.c: Likewise.
79515         * sunrpc/rpc_scan.c: Likewise.
79516         * sunrpc/rpc_scan.h: Likewise.
79517         * sunrpc/rpc_svcout.c: Likewise.
79518         * sunrpc/rpc_tblout.c: Likewise.
79519         * sunrpc/rpc_util.c: Likewise.
79520         * sunrpc/rpc_util.h: Likewise.
79521         * sunrpc/rpcinfo.c: Likewise.
79522         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79523         * sunrpc/rpcsvc/key_prot.x: Likewise.
79524         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79525         * sunrpc/rpcsvc/mount.x: Likewise.
79526         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79527         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79528         * sunrpc/rpcsvc/rex.x: Likewise.
79529         * sunrpc/rpcsvc/rstat.x: Likewise.
79530         * sunrpc/rpcsvc/rusers.x: Likewise.
79531         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79532         * sunrpc/rpcsvc/spray.x: Likewise.
79533         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79534         * sunrpc/rtime.c: Likewise.
79535         * sunrpc/svc.c: Likewise.
79536         * sunrpc/svc_auth.c: Likewise.
79537         * sunrpc/svc_authux.c: Likewise.
79538         * sunrpc/svc_raw.c: Likewise.
79539         * sunrpc/svc_run.c: Likewise.
79540         * sunrpc/svc_simple.c: Likewise.
79541         * sunrpc/svc_tcp.c: Likewise.
79542         * sunrpc/svc_udp.c: Likewise.
79543         * sunrpc/svc_unix.c: Likewise.
79544         * sunrpc/svcauth_des.c: Likewise.
79545         * sunrpc/xcrypt.c: Likewise.
79546         * sunrpc/xdr.c: Likewise.
79547         * sunrpc/xdr_array.c: Likewise.
79548         * sunrpc/xdr_float.c: Likewise.
79549         * sunrpc/xdr_mem.c: Likewise.
79550         * sunrpc/xdr_rec.c: Likewise.
79551         * sunrpc/xdr_ref.c: Likewise.
79552         * sunrpc/xdr_sizeof.c: Likewise.
79553         * sunrpc/xdr_stdio.c: Likewise.
79555         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79556         handling.
79558 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79560         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79562 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79564         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79565         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79566         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79567         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79568         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79569         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79570         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79571         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79572         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79573         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79574         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79575         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79576         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79577         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79579 2010-07-26  Anton Blanchard  <anton@samba.org>
79581         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79582         * malloc/arena.c (heap_trim): Likewise.
79584 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79586         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79587         here.  Not...
79588         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79589         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79591 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79593         * sysdeps/i386/elf/Makefile: New file.
79595 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79597         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79598         from fanotify_init.
79599         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79600         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79602 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79604         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79605         of strncasecmp_l.
79606         * sysdeps/multiarch/strcmp.S: Likewise.
79608 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79610         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79611         strncase_l-nonascii.
79612         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79613         Add strncase_l-ssse3.
79614         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79615         * sysdeps/x86_64/strcmp.S: Likewise.
79616         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79617         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79618         * sysdeps/x86_64/strncase.S: New file.
79619         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79620         * sysdeps/x86_64/strncase_l.S: New file.
79621         * string/Makefile (strop-tests): Add strncasecmp.
79622         * string/test-strncasecmp.c: New file.
79624         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79625         warning.
79627         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79628         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79630 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79632         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79634 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79636         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79637         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79638         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79640 2010-05-01  Alan Modra  <amodra@gmail.com>
79642         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79643         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79644         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79645         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79646         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79647         tidying.  Don't tail-call __sigjmp_save for static lib.
79648         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79649         save location.
79650         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79651         (CALL_MCOUNT): Add eh info, and nop after bl.
79652         (TAIL_CALL_SYSCALL_ERROR): New macro.
79653         (PSEUDO_RET): Use it.
79654         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79655         Correct save location of integer regs and cr.
79656         (_dl_profile_resolve): Correct cr save location.  Delete nops
79657         after bl when SHARED.  Reduce cfi size a little by better
79658         placement of cfi directives.
79659         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79660         make a stack frame.  Instead use parm save area as a temp.
79661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79662         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79664         Don't make a stack frame for parent, use parm save area.
79665         Increase child stack frame to 112 bytes.  Don't save unused reg,
79666         and adjust reg usage.  Set up cfi on error recovery and
79667         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79669         (__makecontext): Add dummy nop after jump to exit.
79670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79671         Use correct parm save area and cr save, reduce stack frame.
79672         Correct cfi for possible PSEUDO_RET frame setup.
79673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79674         Branch to local label emitted by PSEUDO_RET rather than
79675         __syscall_error.
79677 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79679         [BZ #11904]
79680         * locale/programs/locale.c (print_assignment): New function.
79681         (show_locale_vars): Use it.
79683 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79685         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79686         field.
79687         (struct statfs64): Likewise.
79688         (_STATFS_F_FLAGS): Define.
79689         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79690         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79691         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79692         (ST_VALID): Define locally.
79693         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79694         __statvfs_getflags, use the provided value.
79695         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79696         __ASSUME_STATFS_F_FLAGS.
79698         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79700         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79701         Add sys/fanotify.h.
79702         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79703         fanotify_mask for GLIBC_2.13.
79704         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79705         fanotify_init and fanotify_mark.
79706         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79707         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79709         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79710         Add prlimit.
79711         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79712         prlimit64 for GLIBC_2.13.
79713         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79714         prlimit64.
79715         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79716         syscall.
79717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79718         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79719         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79720         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79721         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79722         add prlimit alias.
79723         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79725         [BZ #11903]
79726         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79727         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79729         * nss/Makefile: Add rules to build and run tst-nss-test1.
79730         * shlib-versions: Add entry for libnss_test1.
79731         * nss/nss_test1.c: New file.
79732         * nss/tst-nss-test1.c: New file.
79734         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79735         (__nss_configure_lookup): Set appropriate entry in
79736         __nss_configure_lookup to true.
79737         * nss/nsswitch.h: Define enum with indeces of databases in
79738         databases and __nss_database_custom arrays.  Declare
79739         __nss_database_custom.
79740         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79741         to avoid using nscd when custom rules are installed.
79742         * nss/getXXbyYY_r.c: Likewise.
79743         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79745         * nss/nss_files/files-parse.c: Whitespace fixes.
79747 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79749         [BZ #11883]
79750         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79751         * posix/fnmatch_loop.c: Likewise.
79753 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79755         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79756         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79757         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79758         * Versions.def [GLIBC_2.13]: Add.
79760 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79762         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79763         Also fail if tpwd after pwuid call is NULL.
79765 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79767         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79768         when converting to ms.
79770 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79772         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79773         EOPNOTSUPP errors with ENOTTY.
79774         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79775         EOPNOTSUPP errors with ENOTTY.
79777 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79779         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79780         Add strcasecmp_l-ssse3.
79781         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79782         strcasecmp.
79783         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79784         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79785         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79787 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79789         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79791         * string/Makefile (strop-tests): Add strcasecmp.
79792         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79793         strcasecmp_l-nonascii.
79794         (gen-as-const-headers): Add locale-defines.sym.
79795         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79796         * sysdeps/x86_64/strcasecmp.S: New file.
79797         * sysdeps/x86_64/strcasecmp_l.S: New file.
79798         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79799         * sysdeps/x86_64/locale-defines.sym: New file.
79800         * string/test-strcasecmp.c: New file.
79802         * string/test-strcasestr.c: Test both ends of the range of characters.
79803         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79805 2010-07-29  Roland McGrath  <roland@redhat.com>
79807         [BZ #11856]
79808         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79810 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79812         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79813         for ld.so.
79815 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79817         * manual/memory.texi (Malloc Tunable Parameters): Document
79818         M_PERTURB.
79820 2010-07-26  Roland McGrath  <roland@redhat.com>
79822         [BZ #11840]
79823         * configure.in (-fgnu89-inline check): Set and substitute
79824         gnu89_inline, not libc_cv_gnu89_inline.
79825         * configure: Regenerated.
79826         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79828 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79830         * string/test-strnlen.c: New file.
79831         * string/Makefile (strop-tests): Add strnlen.
79832         * string/tester.c (test_strnlen): Add a few more test cases.
79833         * string/tst-strlen.c: Better error reporting.
79835         * sysdeps/x86_64/strnlen.S: New file.
79837 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79839         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79840         lower-latency instructions.
79842 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79844         * string/test-strcasestr.c: New file.
79845         * string/test-strstr.c: New file.
79846         * string/Makefile (strop-tests): Add strstr and strcasestr.
79847         * string/str-two-way.h: Don't undefine MAX.
79848         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79850 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79852         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79853         strcasestr-nonascii.
79854         (CFLAGS-strcasestr-nonascii.c): Define.
79855         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79856         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79857         Remove unused attribute.
79859 2010-07-20  Roland McGrath  <roland@redhat.com>
79861         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79862         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79863         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79864         like LD_HWCAP_MASK can disable hwcaps.
79866 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79868         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79870 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79872         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79873         call in strcasestr.
79874         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79875         __strcasestr_sse42_nonascii.
79876         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79877         strcasestr-nonascii.c.
79878         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79880 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79882         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79883         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79884         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79885         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79887 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79889         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79890         fcntl.
79892 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79894         [BZ #11577]
79895         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79896         dl_signal_cerror.
79898 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79900         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79901         _PC_PIPE_BUF using F_GETPIPE_SZ.
79903 2010-07-05  Roland McGrath  <roland@redhat.com>
79905         * manual/arith.texi (Rounding Functions): Fix rint description
79906         implicit in round description.
79908 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79910         * elf/Makefile: Fix linking for a few tests to make recent linker
79911         happy.
79913 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79915         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79916         $(common-objpfx)libc_nonshared.a.
79918 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79920         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79921         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79922         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79923         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79924         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79925         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79926         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79927         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79942         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79943         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79944         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79945         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79946         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79947         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79948         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79949         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79950         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79951         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79952         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79953         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79969 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79971         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79972         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79973         * string/memmove.c (memmove): Renamed to ...
79974         (MEMMOVE): ...this.  Default to memmove.
79975         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79976         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79977         (END_CHK): Define.
79978         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79979         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79980         mempcpy-ssse3-back memmove-ssse3-back.
79981         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79982         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79983         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79984         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79985         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79986         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79987         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79988         * sysdeps/x86_64/multiarch/memmove.c: New file.
79989         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79990         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79991         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79992         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79993         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79994         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79995         Define.
79996         (index_Fast_Copy_Backward): Define.
79997         (HAS_ARCH_FEATURE): Define.
79998         (HAS_FAST_REP_STRING): Define.
79999         (HAS_FAST_COPY_BACKWARD): Define.
80001 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80003         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80004         Restore proper fallback handling.
80006 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80008         [BZ #11701]
80009         * posix/group_member.c (__group_member): Correct checking loop.
80011         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80012         OOM in getpwuid_r correctly.  Return error number when the caller
80013         should return, otherwise -1.
80014         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80015         call returning > 0 value.
80016         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80018 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80020         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80021         libc_nonshared.a from targets in modules-names.
80023 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80025         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80026         requires it.
80028 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80030         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80031         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80032         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80033         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80035 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80037         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80039 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80041         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80042         and F_GETPIPE_SZ.
80043         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80044         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80045         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80046         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80047         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80048         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80050 2010-06-14  Roland McGrath  <roland@redhat.com>
80052         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80054 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80056         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80057         __REDIRECT followed by __THROW.
80058         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80059         * posix/getopt.h (getopt): Likewise.
80061 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80063         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80064         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80065         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80066         in AT_FLAGS.
80067         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80068         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80070 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80072         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80074 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80076         [BZ #11640]
80077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80078         Properly check family and model.
80080 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80082         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80084 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80086         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80088 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80090         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80091         symbol reference.
80093 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80095         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80096         symbol reference.
80098 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80100         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80101         and internal_recvmmsg.
80102         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80103         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80104         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80105         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80107         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80108         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80109         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80111 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80113         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80115 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80117         POWER7 optimizations.
80118         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80119         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80121 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80123         * version.h: Update for 2.13 development version.
80125 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80127         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80128         exceptions.  Return 0.
80130 2010-05-07  Roland McGrath  <roland@redhat.com>
80132         * elf/ldconfig.c (main): Add a const.
80134 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80136         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80137         (args_options): Add no-idn option.
80138         (ahosts_keys_int): Add idn_flags to ai_flags.
80139         (parse_option): Handle 'i' option to clear idn_flags.
80141         * malloc/malloc.c (_int_free): Possible race in the most recently
80142         added check.  Only act on the data if no current modification
80143         happened.
80145 See ChangeLog.17 for earlier changes.